Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

Fresh Git Install causes 500 error with empty log file

Chris Darden   ( User )

Commented 21 hours ago

Hello,

I am attempting a fresh installation of Akaunting from Git on a Raspberry Pi running Debian 12 (Bookworm). The server stack is Nginx with PHP 8.2-FPM and MariaDB.

After extensive troubleshooting, the server is fully configured, but a fresh installation results in a 500 Internal Server Error.

The key evidence is this:

The application log at storage/logs/laravel.log is always empty, even when the file is manually created with 775 permissions and is owned by the www-data user.

I created a simple test_write.php script in the /public directory to test the server's permissions. This test script successfully writes a file to storage/logs when executed by Nginx and PHP-FPM.

This definitively proves that the server, file permissions, and PHP-FPM configuration are all correct. The failure is a critical, unloggable bug in the application's bootstrap process that prevents it from running or logging its own errors.

Please login or register to leave a response.

Showing 1 to 1 of 1 discussions