-
-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GUI problem after update from v23.0.0 to v25.0.1 #277
Comments
I don't know if this is directly related, but try fixing the warning in the logs about the nginx configs:
Beyond that, this looks like a permission issue to me. |
Regarding the nginx config As you suggested, I change it to use the latest Restart nextcloud, here is the docker log To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid: 99
User gid: 100
-------------------------------------
cont-init: info: /etc/cont-init.d/10-adduser exited 0
cont-init: info: running /etc/cont-init.d/11-folders
cont-init: info: /etc/cont-init.d/11-folders exited 0
cont-init: info: running /etc/cont-init.d/12-samples
cont-init: info: /etc/cont-init.d/12-samples exited 0
cont-init: info: running /etc/cont-init.d/13-nginx
cont-init: info: /etc/cont-init.d/13-nginx exited 0
cont-init: info: running /etc/cont-init.d/14-php
cont-init: info: /etc/cont-init.d/14-php exited 0
cont-init: info: running /etc/cont-init.d/15-keygen
using keys found in /config/keys
cont-init: info: /etc/cont-init.d/15-keygen exited 0
cont-init: info: running /etc/cont-init.d/20-permissions
cont-init: info: /etc/cont-init.d/20-permissions exited 0
cont-init: info: running /etc/cont-init.d/40-config
cont-init: info: /etc/cont-init.d/40-config exited 0
cont-init: info: running /etc/cont-init.d/50-install
cont-init: info: /etc/cont-init.d/50-install exited 0
cont-init: info: running /etc/cont-init.d/60-memcache
cont-init: info: /etc/cont-init.d/60-memcache exited 0
cont-init: info: running /etc/cont-init.d/70-aliases
cont-init: info: /etc/cont-init.d/70-aliases exited 0
cont-init: info: running /etc/cont-init.d/85-version-checks
**** The following site-confs have extensions other than .conf ****
**** This may be due to user customization. ****
**** You should review the files and rename them to use the .conf extension or remove them. ****
**** nginx.conf will only include site-confs with the .conf extension. ****
/config/nginx/site-confs/default.conf.20211024
cont-init: info: /etc/cont-init.d/85-version-checks exited 0
cont-init: info: running /etc/cont-init.d/99-custom-files
[custom-init] No custom files found, skipping...
cont-init: info: /etc/cont-init.d/99-custom-files exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-mods: starting
s6-rc: info: service init-mods successfully started
s6-rc: info: service init-mods-package-install: starting
s6-rc: info: service init-mods-package-install successfully started
s6-rc: info: service init-mods-end: starting
s6-rc: info: service init-mods-end successfully started
s6-rc: info: service init-services: starting
s6-rc: info: service init-services successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun cron (no readiness notification)
services-up: info: copying legacy longrun nginx (no readiness notification)
services-up: info: copying legacy longrun php-fpm (no readiness notification)
s6-rc: info: service legacy-services successfully started
s6-rc: info: service 99-ci-service-check: starting
[ls.io-init] done.
s6-rc: info: service 99-ci-service-check successfully started The log/nginx/error.log shows same error as before 2022/12/06 15:34:06 [error] 260#260: *44 FastCGI sent in stderr: "PHP message: {"reqId":"r9290naeyZbZCYLoy1mS","level":3,"time":"2022-12-06T07:34:06+00:00","remoteAddr":"xxx.xx.x.xxx","user":"admin","app":"PHP","method":"GET","url":"/apps/dashboard/","message":"file_put_contents(/data/appdata_oczrczf8fi1o/js/core/merged-template-prepend.js): Failed to open stream: Permission denied at /config/www/nextcloud/lib/private/Files/Storage/Local.php#311","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0","version":"25.0.1.1","exception":{"Exception":"Error","Message":"file_put_contents(/data/appdata_oczrczf8fi1o/js/core/merged-template-prepend.js): Failed to open stream: Permission denied at /config/www/nextcloud/lib/private/Files/Storage/Local.php#311","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/config/www/nextcloud/lib/private/Files/Storage/Local.php","line":311,"function":"file_put_contents"},{"file":"/config/www/nextcloud/lib/private/Files/View.php","line":1179,"function":...PHP message: {"reqId":"r9290naeyZbZCYLoy1mS","level":3,"time":"2022-12-06T07:34:06+00:00","remoteAddr":"xxx.xx.x.xxx","user":"admin","app":"index","method":"GET","url":"/apps/dashboard/","message":"file_put_contents failed","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0","version":"25.0.1.1","exception":{"Exception":"OCP\\Files\\GenericFileException","Message":"file_put_contents failed","Code":0,"Trace":[{"file":"/config/www/nextcloud/lib/private/Files/SimpleFS/SimpleFile.php","line":92,"function":"putContent","class":"OC\\Files\\Node\\File","type":"->"},{"file":"/config/www/nextcloud/lib/private/Template/JSCombiner.php","line":194,"function":"putContent","class":"OC\\Files\\SimpleFS\\SimpleFile","type":"->"},{"file":"/config/www/nextcloud/lib/private/Template/JSCombiner.php","line":97,"function":"cache","class":"OC\\Template\\JSCombiner","type":"->"},{"file":"/config/www/nextcloud/lib/private/Template/JSR
2022/12/06 15:34:06 [error] 260#260: *44 FastCGI sent in stderr: "naeyZbZCYLoy1mS","level":3,"time":"2022-12-06T07:34:06+00:00","remoteAddr":"xxx.xx.x.xxx","user":"admin","app":"core","method":"GET","url":"/apps/dashboard/","message":"file_put_contents failed","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0","version":"25.0.1.1","exception":{"Exception":"OCP\\Files\\GenericFileException","Message":"file_put_contents failed","Code":0,"Trace":[{"file":"/config/www/nextcloud/lib/private/Files/SimpleFS/SimpleFile.php","line":92,"function":"putContent","class":"OC\\Files\\Node\\File","type":"->"},{"file":"/config/www/nextcloud/lib/private/Template/JSCombiner.php","line":194,"function":"putContent","class":"OC\\Files\\SimpleFS\\SimpleFile","type":"->"},{"file":"/config/www/nextcloud/lib/private/Template/JSCombiner.php","line":97,"function":"cache","class":"OC\\Template\\JSCombiner","type":"->"},{"file":"/config/www/nextcloud/lib/private/Template/JSResourceLocator.php","line":125,"function":"proc" while reading response header from upstream, client: xxx.xx.x.xxx, server: _, request: "GET /apps/dashboard/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "myhostname.com"
2022/12/06 15:34:06 [error] 260#260: *44 FastCGI sent in stderr: "PHP message: {"reqId":"r9290naeyZbZCYLoy1mS","level":3,"time":"2022-12-06T07:34:06+00:00","remoteAddr":"xxx.xx.x.xxx","user":"admin","app":"PHP","method":"GET","url":"/apps/dashboard/","message":"fopen(/data/nextcloud.log): Failed to open stream: Permission denied at /config/www/nextcloud/lib/private/Log/File.php#84","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0","version":"25.0.1.1","data":{"app":"PHP"}}" while reading upstream, client: xxx.xx.x.xxx, server: _, request: "GET /apps/dashboard/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "myhostname.com" For files listed in the log/nginx/error.log, they share same user and permission though, that's why I am not sure what's wrong |
I bite the bullet and |
Expected Behavior
After updating the nextcloud from v23.0.0 to v25.0.1, everything should work as normal.
Current Behavior
The GUI is showing
log/nginx/error.log
Steps to Reproduce
updater.phar
updater.phar
, v23.0.11 -> v24.0.7 -> v25.0.1, same internal server errorEnvironment
OS: Unraid slackware v15
CPU architecture: x86_64
How docker service was installed:
I use Unraid app store's linuxserver nextcloud docker image
Command used to create docker container (run/create/compose/screenshot)
Docker logs
The text was updated successfully, but these errors were encountered: