Edit: I deleted and rebuilt the package, then I executed the update commands. Works now. Gonna leave this here if anyone else runs in to the same problem.
After I update from 3.3.2 to 3.3.3 I only get a empty white page and the following error in nginx's error log (domain changed for obvious reasons):
2025/01/27 22:18:28 [error] 200#200: *198 FastCGI sent in stderr: "PHP message: PHP Warning: Unknown: Failed to open stream: No such file or directory in Unknown on line 0; PHP message: PHP Fatal error: Failed opening required '/usr/share/webapps/farmos/web/index.php' (include_path='.:') in Unknown on line 0" while reading response header from upstream, client: 192.168.1.150, server: farmos.example.com, request: "OPTIONS / HTTP/1.0", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:"
2025/01/27 22:18:32 [error] 200#200: *202 FastCGI sent in stderr: "PHP message: PHP Fatal error: Cannot redeclare gin_theme_suggestions_table_alter() (previously declared in /usr/share/webapps/farmos/web/themes/gin/includes/table.theme:11) in /usr/share/webapps/farmos/web/themes/gin/includes/theme.theme on line 139" while reading response header from upstream, client: 192.168.1.150, server: farmos.example.com, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "farmos.example.com", referrer: "https://farmos.example.com/admin"
Before this update everything worked and it works if I downgrade to the 3.3.2 version. Any ideas?
Pinned Comments
Spixmaster commented on 2024-02-16 12:09 (UTC) (edited on 2024-02-16 14:04 (UTC) by Spixmaster)
This package is unofficial.
After updating do proper backups and then run:
For reference, see https://farmos.org/hosting/update/.