Forum

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

New Discussion

Internal Server HTTP ERROR 500 after update to 2.1.33

Tsoifun   ( User )

Commented 2 years ago

Have been running Aakaunting without issues on internal server with Ubuntu 20.04.4 LTS. Was not updating to 2.1.33 and made as per https://akaunting.com/forum/discussion/announcements/akaunting-2132-update
Was working for two days but today got HTTP ERROR 500
Where to look please?

Tsoifun   ( User )

Commented 2 years ago

Checked /var/www/akaunting for permissions - 755

Tsoifun   ( User )

Commented 2 years ago

Found log. Here is the error:
[2022-04-04 09:04:26] production.ERROR: Uncaught ErrorException: file_put_contents(/var/www/akaunting/storage/framework/cache/data/cf/40/cf40d436c64b358d83a3ae84f8d9e9bb61573a66): failed to open stream: Permission denied in /var/www/akaunting/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:187
Stack trace:
#0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
#1 /var/www/akaunting/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(187): file_put_contents()
#2 /var/www/akaunting/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php(77): Illuminate\Filesystem\Filesystem->put()
#3 /var/www/akaunting/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(213): Illuminate\Cache\FileStore->put()
#4 /var/www/akaunting/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(391): Illuminate\Cache\Repository->put()
#5 /var/www/akaunting/vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php(418): Illuminate\Cache\Repository->remember()
#6 /var/www/akaunting/vendor/la {"userId":1,"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): Uncaught ErrorException: file_put_contents(/var/www/akaunting/storage/framework/cache/data/cf/40/cf40d436c64b358d83a3ae84f8d9e9bb61573a66): failed to open stream: Permission denied in /var/www/akaunting/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:187
Stack trace:
#0 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()
#1 /var/www/akaunting/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(187): file_put_contents()
#2 /var/www/akaunting/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php(77): Illuminate\\Filesystem\\Filesystem->put()
#3 /var/www/akaunting/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(213): Illuminate\\Cache\\FileStore->put()
#4 /var/www/akaunting/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(391): Illuminate\\Cache\\Repository->put()
#5 /var/www/akaunting/vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php(418): Illuminate\\Cache\\Repository->remember()
#6 /var/www/akaunting/vendor/la at /var/www/akaunting/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:187)
[stacktrace]
#0 {main}
"}

Tsoifun   ( User )

Commented 2 years ago

failed to open stream: Permission denied in /var/www/akaunting/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:187 - permissions 755, owner www-data

Tsoifun   ( User )

Commented 2 years ago

Have to add that it gies login page and when I do login it gies Error 500

Tsoifun   ( User )

Commented 2 years ago

Any comments please?

Please login or register to leave a response.

Showing 1 to 6 of 6 discussions