July 23, 20232 yr I had to reinstall Nextcloud. Now I get the following error in the logs: Could not open input file: /app/www/public/cron.php I get a 404 when trying to go to the web interface from within Unraid. I'm newbie to all this, so any specific guidance would be appreciated. Thank you.
July 24, 20232 yr I suspect you are using "latest" image tag and jumped a version or two compare to your previous Nextcloud install. check your the version variable in config.php. specify docker tag to the version and restart.
July 31, 20232 yr I had the same issue and solved it by changing "public" to "nextcloud" in crontabs. Seems like if you updated too many versions ahead, it would revert to "public." 1. Open unraid terminal 2. Type "mc" and press enter for midnight commander 3. Use cd to browse to /mnt/user/appdata/nextcloud/www/ 4. Note the name of the folder(s) in there. My directory name is /nextcloud/. If I enter that directory, I find a cron.php. 5. Use cd to browse to /mnt/user/appdata/nextcloud/crontabs 6. Select the file "root" and press F4 (or Alt+4) to edit 7. Change the directory of the cron.php to match the actual cron.php directory. For my case, here is what my file looks like: # do daily/weekly/monthly maintenance # min hour day month weekday command */15 * * * * run-parts /etc/periodic/15min 0 * * * * run-parts /etc/periodic/hourly 0 2 * * * run-parts /etc/periodic/daily 0 3 * * 6 run-parts /etc/periodic/weekly 0 5 1 * * run-parts /etc/periodic/monthly # nextcloud cron */5 * * * * s6-setuidgid abc php -f /config/www/nextcloud/cron.php Hope this helps!
December 18, 20232 yr I'm having similar problems with NextCloud after I updated all of my Docker containers in UnRaid. I have not really used NextCloud after installing it a while ago. I suspect there is a problem because my Nextcloud installation was too old. I tried following the instructions from LinuxServer here and tried to follow the steps from @forder above. But, I have not been able to get NextCloud to start. Attached is a screenshot from the console. Can anyone point me in the right direction? Thanks.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.