You are not logged in.
Hello!
I updated my server, which pulled the latest version of php-fmp, php itself an nextcloud. After reboot nextcloud stopped working.
The only output in the browser is
Internal Server Error
The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.
The acsess.log is showing 500 Error as above.
The journalctl -xe is empty. Journalctl -u nginx contains
Jan 19 19:31:30 xxxx.xxxx systemd[1]: nginx.service: Can't open PID file /run/nginx.pid (yet?) after start: Operation not permitted
Jan 19 19:31:30 xxxx.xxxx systemd[1]: Started A high performance web server and a reverse proxy server.
Jan 19 19:31:30 xxxx.xxxx systemd[1]: Starting The PHP FastCGI Process Manager...
Jan 19 19:31:31 xxxx.xxxx php-fpm[329]: [19-Jan-2020 19:31:31] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library 'odbc' (tried: /usr/lib/php/modules/odbc (/usr/lib/php/modules/odbc: cannot open shared ob>
Jan 19 19:31:31 xxxx.xxxx php-fpm[329]: [NOTICE] fpm is running, pid 329
Jan 19 19:31:32 xxxx.xxxx php-fpm[329]: [NOTICE] ready to handle connections
Jan 19 19:31:32 xxxx.xxxx systemd[1]: Started The PHP FastCGI Process Manager.
Jan 19 19:31:32 xxxx.xxxx php-fpm[329]: [NOTICE] systemd monitor interval set to 10000ms
journalctl -u http and -u nginx are emty.
If i undo https://wiki.archlinux.org/index.php/Ne … or_php-fpm then i get error in the browser "can not write into browser directory" error as described in
https://wiki.archlinux.org/index.php/Ne … _directory!
Postgres, php-fmp and nginx are running.
Can you please help?
Last edited by irrlicht (2020-01-19 19:58:13)
Everything less than immortality is a complete waste of time!
Offline
I'm struggling as well with this... I waited for the Nextcloud 18 release to upgrade to php 7.4 and I expected that this would work now as the bug https://bugs.archlinux.org/task/64689 has been closed. I use apache, not nginx.
I've spend hours trying to fix my config, but nothing works so far. The only thing I noticed so far that when getting rid of my "important" /usr/share/webapps/nextcloud/config/config.php file, that I get at least instead of the white page with the error message above a blue Nextcloud one with Internal Server Error.
I must say I need help too, the wiki doesn't help anymore, not even google.
Offline
I was seeing the same problem. I am running Apache. After a quick google, I ended up removing all the bits related to Redis in my config.php. Now things work again...although without any memcache and I get the warning/reminder on the admin page that I should enable it.
I realize this is not a long term solution, but for now it gets my instance operational again. Hope this helps!
"Ubuntu" - an African word meaning "Arch is too hard for me".
Offline
I finally managed to bring nextcloud back.
My situation: update from nexcloud 15 and postgres 11. Automatic install didn't work.
Steps to repair:
1) use wiki to upgrade postgres first. Just as described there.
2) cd /usr/share/webapps/nextcloud (where occ is installed)
3) sudo -u http ./occ upgrade -vv
I hope it helps.
Everything less than immortality is a complete waste of time!
Offline
After checking more or less my complete config, I suspected already that the open_basedir restriction would cause some issues. But as it showed less error messages in /var/log/error_log with it enabled, I first tried to fix this by allowing all the folders as well with "systemctl edit php-fpm.service".
But then I still got an empty page. But finally I found a hint in the wiki https://wiki.archlinux.org/index.php/Apache_HTTP_Server#AH01071:_Got_error_'Primary_script_unknown' . I didn't disable the security mitigation of php 7.4. After adding with "systemctl edit php-fpm.service" a line with ProtectHome=false, Nextcloud finally showed the admin page.
Such important changes should be announced on the news page. I'm sure this would safe some headache!
Last edited by raneon (2020-01-20 23:04:14)
Offline