Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Navigation

    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    UNSOLVED 6.0.1 Nextcloud is failing to start

    Nextcloud
    2
    4
    28
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      adrw last edited by

      I've tried restarting the app, updating to latest Nextcloud, and restarting the server without avail. Still seeing 502 Bad Gateway in browser and nothing stands out to me in the logs to indicate what is wrong with the app after upgrade of Cloudron from 5.6.3 to 6.0.1. Any ideas what to do?

      A 1 Reply Last reply Reply Quote 0
      • A
        adrw @adrw last edited by adrw

        I've uploaded the logs at a temp Cloudron Minio instance https://minio.redwoodservices.adrw.xyz/debugging/c4dd3c6d-806e-454b-beba-4cdd3f29865a.log?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minioadmin%2F20201210%2F%2Fs3%2Faws4_request&X-Amz-Date=20201210T164741Z&X-Amz-Expires=432000&X-Amz-SignedHeaders=host&X-Amz-Signature=31704901c7b111ed88166f33dd368158adad6f163216c70faf8edf5389a3dae6

        A 1 Reply Last reply Reply Quote 0
        • A
          adrw @adrw last edited by

          Not sure what the fix was but I put Nextcloud in Recovery Mode, restarted Cloudron server, turned off Nextcloud Recovery Mode, and Nextcloud now has booted and appears to work as expected.

          girish 1 Reply Last reply Reply Quote 0
          • girish
            girish Staff @adrw last edited by

            @adrw I see errors from the antivirus plugin.

            2020-12-10T02:31:05.000Z {"reqId":"BPffxdeo3xuZ2LQxCCdt","level":3,"time":"2020-12-10T02:31:05+00:00","remoteAddr":"","user":"--","app":"files_antivirus","method":"","url":"--","message":{"Exception":"RuntimeException","Message":"The antivirus executable could not be found at /usr/bin/clamscan","Code":0,"Trace":[{"function":"__construct","class":"OCA\\Files_Antivirus\\Scanner\\LocalClam","type":"->","args":[{"__class__":"OCA\\Files_Antivirus\\AppConfig"},{"__class__":"OC\\AppFramework\\Logger"},{"__class__":"OCA\\Files_Antivirus\\StatusFactory"}]},{"file":"/app/code/lib/private/AppFramework/Utility/SimpleContainer.php","line":101,"function":"newInstanceArgs","class":"ReflectionClass","type":"->","args":[[{"__class__":"OCA\\Files_Antivirus\\AppConfig"},{"__class__":"OC\\AppFramework\\Logger"},{"__class__":"OCA\\Files_Antivirus\\StatusFactory"}]]},{"file":"/app/code/lib/private/AppFramework/Utility/SimpleContainer.php","line":109,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":[{"name":"OCA\\Files_Antivirus\\Scanner\\LocalClam","__class__":"ReflectionClass"}]},{"file":"/app/code/lib/private/AppFramework/Utility/SimpleContainer.php","line":126,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Files_Antivirus\\Scanner\\LocalClam"]},{"file":"/app/code/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":455,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Files_Antivirus\\Scanner\\LocalClam"]},{"file":"/app/code/lib/private/ServerContainer.php","line":140,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Files_Antivirus\\Scanner\\LocalClam"]},{"file":"/app/data/apps/files_antivirus/lib/Scanner/ScannerFactory.php","line":45,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCA\\Files_Antivirus\\Scanner\\LocalClam"]},{"file":"/app/data/apps/files_antivirus/lib/BackgroundJob/BackgroundScanner.php","line":328,"function":"getScanner","class":"OCA\\Files_Antivirus\\Scanner\\ScannerFactory","type":"->","args":[]},{"file":"/app/data/apps/files_antivirus/lib/BackgroundJob/BackgroundScanner.php","line":115,"function":"scanOneFile","class":"OCA\\Files_Antivirus\\BackgroundJob\\BackgroundScanner","type":"->","args":[{"__class__":"OC\\Files\\Node\\File"}]},{"file":"/app/code/lib/private/BackgroundJob/Job.php","line":52,"function":"run","class":"OCA\\Files_Antivirus\\BackgroundJob\\BackgroundScanner","type":"->","args":[null]},{"file":"/app/code/lib/private/BackgroundJob/TimedJob.php","line":59,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"},{"__class__":"OC\\Log"}]},{"file":"/app/code/cron.php","line":127,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"},{"__class__":"OC\\Log"}]}],"File":"/app/data/apps/files_antivirus/lib/Scanner/LocalClam.php","Line":43,"CustomMessage":"--"},"userAgent":"--","version":"20.0.1.1"}
            

            I guess it's looking for clamav. Can you make disable that plugin?

            1 Reply Last reply Reply Quote 0
            • First post
              Last post