alexbelgium / hassio-addons

My homeassistant addons
MIT License
1.55k stars 219 forks source link

🐛 [FireflyIII] Unable to create a directory when using mariaDB at /var/www/html/storage/ha_upload #534

Closed diamant-x closed 2 years ago

diamant-x commented 2 years ago

Which addon?

Describe the bug

Existing installation. Previously working. Trying to navigate to the budgets, or bills menu fails. Trying to navigate to the overview page of an asset account now errors and can't access it. Other pages load fine. Individual transactions under that account work fine. Is the overview which doesn't.

To Reproduce

Full addon log

`172.30.32.1 - - [31/Oct/2022:13:51:21 +0100] "GET /api/v1/summary/basic?start=2022-10-01&end=2022-10-31 HTTP/1.1" 200 2609 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26" 172.30.32.1 - - [31/Oct/2022:13:51:20 +0100] "GET /chart/budget/frontpage HTTP/1.1" 200 4342 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26" 127.0.0.1 - - [31/Oct/2022:13:51:23 +0100] "OPTIONS * HTTP/1.0" 200 110 "-" "Apache/2.4.38 (Debian) (internal dummy connection)" [2022-10-31 13:51:28] local.ERROR: Exception is: {"class":"League\Flysystem\UnableToCreateDirectory","errorMessage":"Unable to create a directory at \/var\/www\/html\/storage\/ha_upload.","time":"Mon, 31 Oct 2022 13:51:28 +0100","file":"\/var\/www\/html\/vendor\/league\/flysystem\/src\/UnableToCreateDirectory.php","line":20,"code":0,"version":"5.7.14","url":"http:\/\/economia.rojo.ml\/accounts\/show\/6","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/107.0.0.0 Safari\/537.36 Edg\/107.0.1418.26","json":true,"method":"GET"}
[2022-10-31 13:51:28] local.ERROR: Unable to create a directory at /var/www/html/storage/ha_upload. {"userId":1,"exception":"[object] (League\Flysystem\UnableToCreateDirectory(code: 0): Unable to create a directory at /var/www/html/storage/ha_upload. at /var/www/html/vendor/league/flysystem/src/UnableToCreateDirectory.php:20)  [stacktrace]

0 /var/www/html/vendor/league/flysystem/src/Local/LocalFilesystemAdapter.php(330): League\Flysystem\UnableToCreateDirectory::atLocation()

1 /var/www/html/vendor/league/flysystem/src/Local/LocalFilesystemAdapter.php(122): League\Flysystem\Local\LocalFilesystemAdapter->ensureDirectoryExists()

2 /var/www/html/vendor/league/flysystem/src/Local/LocalFilesystemAdapter.php(112): League\Flysystem\Local\LocalFilesystemAdapter->ensureRootDirectoryExists()

3 /var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemManager.php(183): League\Flysystem\Local\LocalFilesystemAdapter->__construct()

4 /var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemManager.php(151): Illuminate\Filesystem\FilesystemManager->createLocalDriver()

5 /var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemManager.php(119): Illuminate\Filesystem\FilesystemManager->resolve()

6 /var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemManager.php(82): Illuminate\Filesystem\FilesystemManager->get()

7 /var/www/html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(338): Illuminate\Filesystem\FilesystemManager->disk()

8 /var/www/html/app/Repositories/Account/AccountRepository.php(263): Illuminate\Support\Facades\Facade::__callStatic()

9 /var/www/html/app/Http/Controllers/Account/ShowController.php(108): FireflyIII\Repositories\Account\AccountRepository->getAttachments()

10 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): FireflyIII\Http\Controllers\Account\ShowController->show()

11 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate\Routing\Controller->callAction()

12 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260): Illuminate\Routing\ControllerDispatcher->dispatch()

13 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\Routing\Route->runController()

14 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(725): Illuminate\Routing\Route->run()

15 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Routing\Router->Illuminate\Routing\{closure}()

16 /var/www/html/app/Http/Controllers/Account/ShowController.php(72): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

17 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(162): FireflyIII\Http\Controllers\Account\ShowController->FireflyIII\Http\Controllers\Account\{closure}()

18 /var/www/html/app/Http/Controllers/Controller.php(112): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

19 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(162): FireflyIII\Http\Controllers\Controller->FireflyIII\Http\Controllers\{closure}()

20 /var/www/html/app/Http/Middleware/InterestingMessage.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

21 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): FireflyIII\Http\Middleware\InterestingMessage->handle()

22 /var/www/html/app/Http/Middleware/Binder.php(78): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

23 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): FireflyIII\Http\Middleware\Binder->handle()

24 /var/www/html/app/Http/Middleware/Range.php(62): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

25 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): FireflyIII\Http\Middleware\Range->handle()

26 /var/www/html/vendor/jc5/google2fa-laravel/src/Middleware.php(29): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

27 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): PragmaRX\Google2FALaravel\Middleware->handle()

28 /var/www/html/app/Http/Middleware/Authenticate.php(75): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

29 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): FireflyIII\Http\Middleware\Authenticate->handle()

30 /var/www/html/vendor/laravel/passport/src/Http/Middleware/CreateFreshApiToken.php(50): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

31 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Laravel\Passport\Http\Middleware\CreateFreshApiToken->handle()

32 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/AuthenticateSession.php(59): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

33 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Session\Middleware\AuthenticateSession->handle()

34 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

35 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle()

36 /var/www/html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

37 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\View\Middleware\ShareErrorsFromSession->handle()

38 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

39 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Session\Middleware\StartSession->handleStatefulRequest()

40 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Session\Middleware\StartSession->handle()

41 /var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

42 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()

43 /var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

44 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\EncryptCookies->handle()

45 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

46 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(726): Illuminate\Pipeline\Pipeline->then()

47 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(703): Illuminate\Routing\Router->runRouteWithinStack()

48 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(667): Illuminate\Routing\Router->runRoute()

49 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(656): Illuminate\Routing\Router->dispatchToRoute()

50 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(190): Illuminate\Routing\Router->dispatch()

51 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()

52 /var/www/html/app/Http/Middleware/InstallationId.php(52): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

53 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): FireflyIII\Http\Middleware\InstallationId->handle()

54 /var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

55 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Http\Middleware\TrustProxies->handle()

56 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

57 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()

58 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()

59 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

60 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()

61 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\TrimStrings->handle()

62 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

63 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle()

64 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

65 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()

66 /var/www/html/app/Http/Middleware/SecureHeaders.php(51): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

67 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): FireflyIII\Http\Middleware\SecureHeaders->handle()

68 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

69 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\Pipeline\Pipeline->then()

70 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(134): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()

71 /var/www/html/public/index.php(75): Illuminate\Foundation\Http\Kernel->handle()

72 {main}

"} 172.30.32.1 - - [31/Oct/2022:13:51:28 +0100] "GET /accounts/show/6 HTTP/1.1" 500 6728 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26" 172.30.32.1 - - [31/Oct/2022:13:51:32 +0100] "GET /accounts/asset HTTP/1.1" 200 8120 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26" 172.30.32.1 - - [31/Oct/2022:13:51:33 +0100] "GET /v1/js/ff/accounts/index.js?v=5.7.14 HTTP/1.1" 200 1680 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26" 172.30.32.1 - - [31/Oct/2022:13:51:33 +0100] "GET /v1/js/lib/jquery-ui.min.js?v=5.7.14 HTTP/1.1" 200 21129 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26" 172.30.32.1 - - [31/Oct/2022:13:51:33 +0100] "GET /v1/jscript/variables?ext=.js&v=5.7.14 HTTP/1.1" 200 5718 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26" [2022-10-31 13:51:34] local.ERROR: Exception is: {"class":"League\Flysystem\UnableToCreateDirectory","errorMessage":"Unable to create a directory at \/var\/www\/html\/storage\/ha_upload.","time":"Mon, 31 Oct 2022 13:51:34 +0100","file":"\/var\/www\/html\/vendor\/league\/flysystem\/src\/UnableToCreateDirectory.php","line":20,"code":0,"version":"5.7.14","url":"http:\/\/economia.rojo.ml\/accounts\/show\/6","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/107.0.0.0 Safari\/537.36 Edg\/107.0.1418.26","json":true,"method":"GET"}
[2022-10-31 13:51:34] local.ERROR: Unable to create a directory at /var/www/html/storage/ha_upload. {"userId":1,"exception":"[object] (League\Flysystem\UnableToCreateDirectory(code: 0): Unable to create a directory at /var/www/html/storage/ha_upload. at /var/www/html/vendor/league/flysystem/src/UnableToCreateDirectory.php:20)  [stacktrace]

0 /var/www/html/vendor/league/flysystem/src/Local/LocalFilesystemAdapter.php(330): League\Flysystem\UnableToCreateDirectory::atLocation()

1 /var/www/html/vendor/league/flysystem/src/Local/LocalFilesystemAdapter.php(122): League\Flysystem\Local\LocalFilesystemAdapter->ensureDirectoryExists()

2 /var/www/html/vendor/league/flysystem/src/Local/LocalFilesystemAdapter.php(112): League\Flysystem\Local\LocalFilesystemAdapter->ensureRootDirectoryExists()

3 /var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemManager.php(183): League\Flysystem\Local\LocalFilesystemAdapter->__construct()

4 /var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemManager.php(151): Illuminate\Filesystem\FilesystemManager->createLocalDriver()

5 /var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemManager.php(119): Illuminate\Filesystem\FilesystemManager->resolve()

6 /var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemManager.php(82): Illuminate\Filesystem\FilesystemManager->get()

7 /var/www/html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(338): Illuminate\Filesystem\FilesystemManager->disk()

8 /var/www/html/app/Repositories/Account/AccountRepository.php(263): Illuminate\Support\Facades\Facade::__callStatic()

9 /var/www/html/app/Http/Controllers/Account/ShowController.php(108): FireflyIII\Repositories\Account\AccountRepository->getAttachments()

10 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): FireflyIII\Http\Controllers\Account\ShowController->show()

11 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate\Routing\Controller->callAction()

12 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260): Illuminate\Routing\ControllerDispatcher->dispatch()

13 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\Routing\Route->runController()

14 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(725): Illuminate\Routing\Route->run()

15 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Routing\Router->Illuminate\Routing\{closure}()

16 /var/www/html/app/Http/Controllers/Account/ShowController.php(72): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

17 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(162): FireflyIII\Http\Controllers\Account\ShowController->FireflyIII\Http\Controllers\Account\{closure}()

18 /var/www/html/app/Http/Controllers/Controller.php(112): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

19 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(162): FireflyIII\Http\Controllers\Controller->FireflyIII\Http\Controllers\{closure}()

20 /var/www/html/app/Http/Middleware/InterestingMessage.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

21 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): FireflyIII\Http\Middleware\InterestingMessage->handle()

22 /var/www/html/app/Http/Middleware/Binder.php(78): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

23 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): FireflyIII\Http\Middleware\Binder->handle()

24 /var/www/html/app/Http/Middleware/Range.php(62): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

25 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): FireflyIII\Http\Middleware\Range->handle()

26 /var/www/html/vendor/jc5/google2fa-laravel/src/Middleware.php(29): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

27 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): PragmaRX\Google2FALaravel\Middleware->handle()

28 /var/www/html/app/Http/Middleware/Authenticate.php(75): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

29 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): FireflyIII\Http\Middleware\Authenticate->handle()

30 /var/www/html/vendor/laravel/passport/src/Http/Middleware/CreateFreshApiToken.php(50): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

31 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Laravel\Passport\Http\Middleware\CreateFreshApiToken->handle()

32 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/AuthenticateSession.php(59): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

33 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Session\Middleware\AuthenticateSession->handle()

34 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

35 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle()

36 /var/www/html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

37 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\View\Middleware\ShareErrorsFromSession->handle()

38 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

39 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Session\Middleware\StartSession->handleStatefulRequest()

40 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Session\Middleware\StartSession->handle()

41 /var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

42 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()

43 /var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

44 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\EncryptCookies->handle()

45 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

46 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(726): Illuminate\Pipeline\Pipeline->then()

47 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(703): Illuminate\Routing\Router->runRouteWithinStack()

48 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(667): Illuminate\Routing\Router->runRoute()

49 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(656): Illuminate\Routing\Router->dispatchToRoute()

50 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(190): Illuminate\Routing\Router->dispatch()

51 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()

52 /var/www/html/app/Http/Middleware/InstallationId.php(52): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

53 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): FireflyIII\Http\Middleware\InstallationId->handle()

54 /var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

55 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Http\Middleware\TrustProxies->handle()

56 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

57 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()

58 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()

59 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

60 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()

61 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\TrimStrings->handle()

62 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

63 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle()

64 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

65 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()

66 /var/www/html/app/Http/Middleware/SecureHeaders.php(51): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

67 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): FireflyIII\Http\Middleware\SecureHeaders->handle()

68 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

69 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\Pipeline\Pipeline->then()

70 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(134): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()

71 /var/www/html/public/index.php(75): Illuminate\Foundation\Http\Kernel->handle()

72 {main}

"} 172.30.32.1 - - [31/Oct/2022:13:51:34 +0100] "GET /accounts/show/6 HTTP/1.1" 500 6728 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"`

Full addon config

same as before.

System

Maybe related to https://docs.firefly-iii.org/firefly-iii/faq/self_hosted/#unable-to-write-to-cache-directory ?

image

Outputs of the addons own debug screen:

Debug information generated at 2022-10-31 14:01:12 Europe/Madrid for Firefly III version 5.7.14.

Scope Version
Firefly III 5.7.14
Firefly III API 1.5.6
Build 286, 18-10-2022 21:16:12 CEST
DB version 18 (exp. 18)
PHP 8.1.11
Host Linux
System info Value
System TZ Europe/Madrid
Browser TZ Europe/Madrid
App environment local
App debug mode false
App cache driver file
App logging info, stack
Display errors Off
Error reporting ALL errors
Interface apache2handler
Default language en_US
Default locale equal
BCscale 24
DB drivers mysql, pgsql, sqlite
Current driver mysql
Trusted proxies (.env) **
User info Value
Login provider eloquent
User guard web
Headers N/A, N/A
Stateful domains
Session start 2022-10-01 00:00:00
Session end 2022-10-31 00:00:00
Session first 2022-01-01 00:00:00
User ID 1
User language en_GB
User locale en_GB
Attempt at "en_GB.utf8" 'en_GB.utf8'
Attempt at "en_GB.UTF-8" 'en_GB.UTF-8'
User agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26
Truncated from this point <----|FireflyIII\\Http\\Controllers\\Budget\\IndexController->FireflyIII\\Http\\Controllers\\Budget\\{closure}()
#19 /var/www/html/app/Http/Controllers/Controller.php(112): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#20 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(162): FireflyIII\\Http\\Controllers\\Controller->FireflyIII\\Http\\Controllers\\{closure}()
#21 /var/www/html/app/Http/Middleware/InterestingMessage.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#22 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): FireflyIII\\Http\\Middleware\\InterestingMessage->handle()
#23 /var/www/html/app/Http/Middleware/Binder.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#24 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): FireflyIII\\Http\\Middleware\\Binder->handle()
#25 /var/www/html/app/Http/Middleware/Range.php(62): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#26 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): FireflyIII\\Http\\Middleware\\Range->handle()
#27 /var/www/html/vendor/jc5/google2fa-laravel/src/Middleware.php(29): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#28 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): PragmaRX\\Google2FALaravel\\Middleware->handle()
#29 /var/www/html/app/Http/Middleware/Authenticate.php(75): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#30 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): FireflyIII\\Http\\Middleware\\Authenticate->handle()
#31 /var/www/html/vendor/laravel/passport/src/Http/Middleware/CreateFreshApiToken.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#32 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Laravel\\Passport\\Http\\Middleware\\CreateFreshApiToken->handle()
#33 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/AuthenticateSession.php(59): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#34 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Session\\Middleware\\AuthenticateSession->handle()
#35 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#36 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle()
#37 /var/www/html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#38 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle()
#39 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#40 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest()
#41 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Session\\Middleware\\StartSession->handle()
#42 /var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#43 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle()
#44 /var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#45 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle()
#46 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#47 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(726): Illuminate\\Pipeline\\Pipeline->then()
#48 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(703): Illuminate\\Routing\\Router->runRouteWithinStack()
#49 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(667): Illuminate\\Routing\\Router->runRoute()
#50 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(656): Illuminate\\Routing\\Router->dispatchToRoute()
#51 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(190): Illuminate\\Routing\\Router->dispatch()
#52 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()
#53 /var/www/html/app/Http/Middleware/InstallationId.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#54 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): FireflyIII\\Http\\Middleware\\InstallationId->handle()
#55 /var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#56 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\TrustProxies->handle()
#57 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#58 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#59 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle()
#60 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#61 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#62 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle()
#63 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#64 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle()
#65 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#66 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle()
#67 /var/www/html/app/Http/Middleware/SecureHeaders.php(51): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#68 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): FireflyIII\\Http\\Middleware\\SecureHeaders->handle()
#69 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#70 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\\Pipeline\\Pipeline->then()
#71 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(134): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
#72 /var/www/html/public/index.php(75): Illuminate\\Foundation\\Http\\Kernel->handle()
#73 {main}
"} 
alexbelgium commented 2 years ago

Hi @SilvioMessi, looks like the latest PR https://github.com/alexbelgium/hassio-addons/pull/531 caused an issue

SilvioMessi commented 2 years ago

Hello @diamant-x, are you able to share the head of the add-on logs, like in the image below? image I would like to understand if something is failing while the upload folder is created.

diamant-x commented 2 years ago

I can try. I was going through my backups and can confirm this was NOT an issue on addon version Current version: 5.7.12.

I will autoupdate (now that i know i have a working backup :D and share the requested screenshot).

diamant-x commented 2 years ago

Ok,

Mind that i use the mariadb addon, not sqlite one. Hope this extract helps.

[16:31:51] WARNING: Firefly-iii is using the Maria DB addon
[16:31:51] WARNING: Please ensure this is included in your backups
[16:31:51] WARNING: Uninstalling the MariaDB addon will remove any data
[16:31:51] INFO: Creating database for Firefly-iii if required
[16:31:51] INFO: Defining upload folder
[16:31:51] INFO: daily updates
Starting periodic command scheduler: cron.
[16:31:51] INFO: Please wait while the app is loading !
Now in entrypoint.sh for Firefly III
Script:       1.0.21 (2022-02-17)
User:         'root'
Group:        'root'
Working dir:  '/var/www/html'
Build number:  286
Build date:    18-10-2022 21:16:12 CEST
Now parsing _FILE variables.
done!
Touch DB file (if SQLite)...
Dump auto load...
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
Generated optimized autoload files containing 5956 classes
Discover packages...
   INFO  Discovering packages.  
  diglactic/laravel-breadcrumbs ......................................... DONE
  jc5/google2fa-laravel ................................................. DONE
  laravel/passport ...................................................... DONE
  laravel/sanctum ....................................................... DONE
  laravel/ui ............................................................ DONE
  laravelcollective/html ................................................ DONE
  nesbot/carbon ......................................................... DONE
  nunomaduro/collision .................................................. DONE
  nunomaduro/termwind ................................................... DONE
  rcrowe/twigbridge ..................................................... DONE
  spatie/laravel-ignition ............................................... DONE
Current working dir is '/var/www/html'
Wait for the database.
wait-for-it.sh: waiting 60 seconds for core-mariadb:3306
wait-for-it.sh: core-mariadb:3306 is available after 0 seconds
alexbelgium commented 2 years ago

Could it be permissions issues? Does ’ln -s /config/addons_config/fireflyiii/upload /var/www/html/storage/ha_upload’ propagate the ownership ? Should it have its own chown and chmod?

SilvioMessi commented 2 years ago

@alexbelgium yes it is possible. What about this https://github.com/SilvioMessi/hassio-addons/commit/7e2b1fad1adcd23d1ec53b76a61a7857d3375094? I'm not able to reproduce on my setup, is there a simple way to allow @diamant-x to test the fix?

alexbelgium commented 2 years ago

I can't confirm either, so I'll push direct the code in main and we'll see what that does :-)

diamant-x commented 2 years ago

Hi, Just installed -v3 without success. Same error in the app: Unable to create a directory at /var/www/html/storage/ha_upload. at /var/www/html/vendor/league/flysystem/src/UnableToCreateDirectory.php:20 These are the docker logs:

Starting...
/etc/cont-init.d/00-banner.sh: executing
-----------------------------------------------------------
 Add-on: Firefly iii
 A free and open source personal finance manager
-----------------------------------------------------------
 Add-on version: 5.7.14-3
 You are running the latest version of this add-on.
 System: Home Assistant OS 9.3  (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2022.10.5
 Home Assistant Supervisor: 2022.10.0
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums
 https://github.com/alexbelgium/hassio-addons
-----------------------------------------------------------
/etc/cont-init.d/00-global_var.sh: executing
APP_KEY='<redacted>'
CONFIG_LOCATION='/config/addons_config/fireflyiii/config.yaml'
DB_CONNECTION='mariadb_addon'
Updates='daily'
silent='false'
Timezone set from Etc/UTC to Europe/Madrid
/etc/cont-init.d/90-config_yaml.sh: executing
Using config file found in /config/addons_config/fireflyiii/config.yaml
Config file is a valid yaml
[19:37:57] INFO: Starting the app with the variables in /config/addons_config/fireflyiii/config.yaml
TZ=Europe/Madrid
MAPBOX_API_KEY=<redacted>
/etc/cont-init.d/99-run.sh: executing
[19:37:58] INFO: Backuping APP_KEY to /config/addons_config/fireflyiii/APP_KEY_BACKUP.txt
[19:37:58] WARNING: Changing this value will require to reset your database
[19:37:58] INFO: Defining database
[19:37:58] INFO: Using MariaDB addon. Requirements : running MariaDB addon. Detecting values...
DB_HOST=core-mariadb
DB_PORT=<redacted>
DB_DATABASE=firefly
DB_USERNAME=<redacted>
DB_PASSWORD=<redacted>
[19:37:58] WARNING: Firefly-iii is using the Maria DB addon
[19:37:58] WARNING: Please ensure this is included in your backups
[19:37:58] WARNING: Uninstalling the MariaDB addon will remove any data
[19:37:58] INFO: Creating database for Firefly-iii if required
[19:37:58] INFO: Defining upload folder
[19:37:58] INFO: daily updates
Starting periodic command scheduler: cron.
[19:37:58] INFO: Please wait while the app is loading !
Now in entrypoint.sh for Firefly III
Script:       1.0.21 (2022-02-17)
User:         'root'
Group:        'root'
Working dir:  '/var/www/html'
Build number:  286
Build date:    18-10-2022 21:16:12 CEST
Now parsing _FILE variables.
done!
Touch DB file (if SQLite)...
Dump auto load...
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
Generated optimized autoload files containing 5956 classes
Discover packages...
   INFO  Discovering packages.  
  diglactic/laravel-breadcrumbs ......................................... DONE
  jc5/google2fa-laravel ................................................. DONE
  laravel/passport ...................................................... DONE
  laravel/sanctum ....................................................... DONE
  laravel/ui ............................................................ DONE
  laravelcollective/html ................................................ DONE
  nesbot/carbon ......................................................... DONE
  nunomaduro/collision .................................................. DONE
  nunomaduro/termwind ................................................... DONE
  rcrowe/twigbridge ..................................................... DONE
  spatie/laravel-ignition ............................................... DONE
Current working dir is '/var/www/html'
Wait for the database.
wait-for-it.sh: waiting 60 seconds for core-mariadb:<redacted>
wait-for-it.sh: core-mariadb:<redacted>is available after 0 seconds
      
.
Wait another 5 seconds in case the DB needs to boot.
Done waiting for the DB to boot.
Will not build the locales...
Run various artisan commands...
Running migration commands...
DSN is mysql:host=core-mariadb;port=<redacted>;charset=utf8mb4
Database "firefly" exists.
   INFO  Nothing to migrate.  
   INFO  Seeding database.  
  Database\Seeders\AccountTypeSeeder ................................. RUNNING  
  Database\Seeders\AccountTypeSeeder ........................... 56.86 ms DONE  
  Database\Seeders\TransactionCurrencySeeder ......................... RUNNING  
  Database\Seeders\TransactionCurrencySeeder .................. 105.06 ms DONE  
  Database\Seeders\TransactionTypeSeeder ............................. RUNNING  
  Database\Seeders\TransactionTypeSeeder ....................... 22.95 ms DONE  
  Database\Seeders\PermissionSeeder .................................. RUNNING  
  Database\Seeders\PermissionSeeder ............................. 9.52 ms DONE  
  Database\Seeders\LinkTypeSeeder .................................... RUNNING  
  Database\Seeders\LinkTypeSeeder .............................. 16.29 ms DONE  
  Database\Seeders\ConfigSeeder ...................................... RUNNING  
[2022-11-01 19:38:19] local.WARNING: Database entry exists. Update to latest version (18)  
  Database\Seeders\ConfigSeeder ................................ 16.10 ms DONE  
  Database\Seeders\UserRoleSeeder .................................... RUNNING  
  Database\Seeders\UserRoleSeeder .............................. 23.27 ms DONE  
Going to decrypt the database.
No decryption required for table "accounts".
No decryption required for table "attachments".
No decryption required for table "bills".
No decryption required for table "budgets".
No decryption required for table "categories".
No decryption required for table "piggy_banks".
No decryption required for table "preferences".
No decryption required for table "tags".
No decryption required for table "transaction_journals".
No decryption required for table "transactions".
No decryption required for table "journal_links".
Done!
Current working dir is '/var/www/html'
Command executed successfully.
Running upgrade commands...
This command has already been executed.
Database already seems to be migrated.
This command has already been executed.
This command has already been executed.
This command has already been executed.
This command has already been executed.
This command has already been executed.
This command has already been executed.
This command has already been executed.
No incorrectly stored credit card liabilities.
This command has already been executed.
This command has already been executed.
This command has already been executed.
This command has already been executed.
This command has already been executed.
This command has already been executed.
This command has already been executed.
Running verification commands...
All piggy bank events are correct.
Verified the content of 0 piggy bank events in 0.05 seconds.
All link types OK!
Verified link types in 0.06 seconds
All access tokens OK!
Verify access tokens in 0.06 seconds.
All transaction journals have correct bill information.
Verified bills / journals in 0.06 seconds
1 different currencies are currently in use.
All currencies are correctly enabled or disabled.
Verified currencies in 0.17 seconds.
No invalid budget/journal entries.
Verified budget/journals in 0.06 seconds.
Amount integrity OK!
Verified amount integrity in 0.04 seconds
No zero-amount transaction journals.
Verified zero-amount integrity in 0.05 seconds
No orphaned transactions.
No orphaned accounts.
Verified orphans in 0.07 seconds
No uneven transaction journals.
No empty transaction journals.
Verified empty journals in 0.01 seconds
Verified empty groups in 0.09 seconds
All account types are OK!
Verifying account types took 4.91 seconds
All meta fields are correct.
Renamed meta fields in 0.43 seconds
Going to verify 14 opening balance transactions.
There was nothing to fix in the opening balance transactions.
Verified all transaction group and journal title lengths.
Took 0.12 seconds.
Corrected recurring transactions in 0.07 seconds.
Updated inconsistent transaction groups.
All transaction journals are of the correct transaction type (in 0.47 seconds).
Verifying account preferences took 0.14 seconds
Verifying account order took 0.08 seconds
Running report commands...
Report on empty objects finished in 0.08 seconds
Amount integrity OK for user #2
Amount integrity OK for user #1
Report on total sum finished in 0.09 seconds
Restored OAuth keys from database.
Generating new OAuth keys...
Encryption keys already exist. Use the --force option to overwrite them.
[2022-11-01 19:38:59] local.INFO: OAuth client generated but no user associated.  
Personal access client created successfully.
Client ID: <redacted>
Client secret: <redacted>
[2022-11-01 19:38:59] local.INFO: OAuth client generated but no user associated.  
Password grant client created successfully.
Client ID: <redacted>
Client secret: <redacted>
Updated version.
+------------------------------------------------------------------------------+
|                                                                              |
| Thank you for installing Firefly III, v5.7.14!                               |
|                                                                              |
|                                                                              |
+------------------------------------------------------------------------------+
Go!
[Tue Nov 01 19:39:04.133382 2022] [mpm_prefork:notice] [pid 320] AH00163: Apache/2.4.38 (Debian) configured -- resuming normal operations
[Tue Nov 01 19:39:04.133546 2022] [core:notice] [pid 320] AH00094: Command line: 'apache2 -D FOREGROUND'
127.0.0.1 - - [01/Nov/2022:19:39:55 +0100] "GET /robots.txt HTTP/1.1" 200 237 "-" "curl/7.64.0"
[2022-11-01T19:40:21.623753+01:00] local.INFO: AUDIT: User visits homepage. (<redacted>) -> GET:<redacted>:3473) [] []
[2022-11-01 19:40:21] local.INFO: Update check is not enabled.  
192.168.10.26 - - [01/Nov/2022:19:40:20 +0100] "GET / HTTP/1.1" 200 8418 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:22 +0100] "GET /v1/css/firefly.css?v=5.7.14 HTTP/1.1" 200 2524 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:22 +0100] "GET /v1/lib/fa/css/font-awesome.min.css?v=5.7.14 HTTP/1.1" 200 7406 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:22 +0100] "GET /v1/css/daterangepicker.css?v=5.7.14 HTTP/1.1" 200 2050 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:22 +0100] "GET /v1/lib/adminlte/css/skins/skin-blue-light.min.css?v=5.7.14 HTTP/1.1" 200 1154 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:22 +0100] "GET /v1/lib/adminlte/css/AdminLTE.min.css?v=5.7.14 HTTP/1.1" 200 15356 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:22 +0100] "GET /v1/lib/bs/css/bootstrap.min.css?v=5.7.14 HTTP/1.1" 200 20098 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:22 +0100] "GET /v1/js/lib/moment.min.js?v=5.7.14 HTTP/1.1" 200 17101 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:22 +0100] "GET /v1/lib/adminlte/js/adminlte.min.js?v=5.7.14 HTTP/1.1" 200 3962 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:22 +0100] "GET /v1/js/lib/moment/en_GB.js?v=5.7.14 HTTP/1.1" 200 1350 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:22 +0100] "GET /v1/js/lib/daterangepicker.js?v=5.7.14 HTTP/1.1" 200 11701 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:22 +0100] "GET /v1/js/ff/help.js?v=5.7.14 HTTP/1.1" 200 1239 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:22 +0100] "GET /v1/js/lib/accounting.min.js?v=5.7.14 HTTP/1.1" 200 1669 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:22 +0100] "GET /v1/js/ff/firefly.js?v=5.7.14 HTTP/1.1" 200 2497 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:22 +0100] "GET /v1/js/app.js?v=5.7.14 HTTP/1.1" 200 41869 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:22 +0100] "GET /v1/js/lib/chartjs-plugin-annotation.min.js?v=5.7.14 HTTP/1.1" 200 4899 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:22 +0100] "GET /v1/js/ff/charts.defaults.js?v=5.7.14 HTTP/1.1" 200 1766 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:22 +0100] "GET /v1/js/ff/charts.js?v=5.7.14 HTTP/1.1" 200 3110 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:22 +0100] "GET /v1/js/ff/index.js?v=5.7.14 HTTP/1.1" 200 2113 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:22 +0100] "GET /v1/js/lib/Chart.bundle.min.js?v=5.7.14 HTTP/1.1" 200 63123 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:22 +0100] "GET /v1/jscript/variables?ext=.js&v=5.7.14 HTTP/1.1" 200 5691 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:22 +0100] "GET /chart/account/frontpage HTTP/1.1" 200 7664 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:22 +0100] "GET /chart/bill/frontpage HTTP/1.1" 200 3076 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:22 +0100] "GET /chart/account/revenue HTTP/1.1" 200 3046 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:22 +0100] "GET /chart/account/expense HTTP/1.1" 200 3045 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:23 +0100] "GET /json/box/balance HTTP/1.1" 200 3050 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:22 +0100] "GET /chart/category/frontpage HTTP/1.1" 200 2942 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:23 +0100] "GET /json/box/available HTTP/1.1" 200 3083 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:23 +0100] "GET /json/frontpage/piggy-banks HTTP/1.1" 200 2951 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:23 +0100] "GET /json/box/net-worth HTTP/1.1" 200 2975 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:23 +0100] "GET /api/v1/summary/basic?start=2022-11-01&end=2022-11-30 HTTP/1.1" 200 1499 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:22 +0100] "GET /chart/budget/frontpage HTTP/1.1" 200 3502 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
[2022-11-01 19:40:25] local.ERROR: Exception is: {"class":"League\\Flysystem\\UnableToCreateDirectory","errorMessage":"Unable to create a directory at \/var\/www\/html\/storage\/ha_upload.","time":"Tue, 01 Nov 2022 19:40:25 +0100","file":"\/var\/www\/html\/vendor\/league\/flysystem\/src\/UnableToCreateDirectory.php","line":20,"code":0,"version":"5.7.14","url":"http:\/\/homeassistant.rojo.ml:3473\/budgets","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/107.0.0.0 Safari\/537.36 Edg\/107.0.1418.26","json":true,"method":"GET"}  
[2022-11-01 19:40:25] local.ERROR: Unable to create a directory at /var/www/html/storage/ha_upload. {"userId":1,"exception":"[object] (League\\Flysystem\\UnableToCreateDirectory(code: 0): Unable to create a directory at /var/www/html/storage/ha_upload. at /var/www/html/vendor/league/flysystem/src/UnableToCreateDirectory.php:20)
      
[stacktrace]
#0 /var/www/html/vendor/league/flysystem/src/Local/LocalFilesystemAdapter.php(330): League\\Flysystem\\UnableToCreateDirectory::atLocation()
#1 /var/www/html/vendor/league/flysystem/src/Local/LocalFilesystemAdapter.php(122): League\\Flysystem\\Local\\LocalFilesystemAdapter->ensureDirectoryExists()
#2 /var/www/html/vendor/league/flysystem/src/Local/LocalFilesystemAdapter.php(112): League\\Flysystem\\Local\\LocalFilesystemAdapter->ensureRootDirectoryExists()
#3 /var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemManager.php(183): League\\Flysystem\\Local\\LocalFilesystemAdapter->__construct()
#4 /var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemManager.php(151): Illuminate\\Filesystem\\FilesystemManager->createLocalDriver()
#5 /var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemManager.php(119): Illuminate\\Filesystem\\FilesystemManager->resolve()
#6 /var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemManager.php(82): Illuminate\\Filesystem\\FilesystemManager->get()
#7 /var/www/html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(338): Illuminate\\Filesystem\\FilesystemManager->disk()
#8 /var/www/html/app/Repositories/Budget/BudgetRepository.php(248): Illuminate\\Support\\Facades\\Facade::__callStatic()
#9 /var/www/html/app/Http/Controllers/Budget/IndexController.php(204): FireflyIII\\Repositories\\Budget\\BudgetRepository->getAttachments()
#10 /var/www/html/app/Http/Controllers/Budget/IndexController.php(121): FireflyIII\\Http\\Controllers\\Budget\\IndexController->getAllBudgets()
#11 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): FireflyIII\\Http\\Controllers\\Budget\\IndexController->index()
#12 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate\\Routing\\Controller->callAction()
#13 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260): Illuminate\\Routing\\ControllerDispatcher->dispatch()
#14 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\\Routing\\Route->runController()
#15 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(725): Illuminate\\Routing\\Route->run()
#16 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}()
#17 /var/www/html/app/Http/Controllers/Budget/IndexController.php(80): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#18 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(162): FireflyIII\\Http\\Controllers\\Budget\\IndexController->FireflyIII\\Http\\Controllers\\Budget\\{closure}()
#19 /var/www/html/app/Http/Controllers/Controller.php(112): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#20 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(162): FireflyIII\\Http\\Controllers\\Controller->FireflyIII\\Http\\Controllers\\{closure}()
#21 /var/www/html/app/Http/Middleware/InterestingMessage.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#22 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): FireflyIII\\Http\\Middleware\\InterestingMessage->handle()
#23 /var/www/html/app/Http/Middleware/Binder.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#24 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): FireflyIII\\Http\\Middleware\\Binder->handle()
#25 /var/www/html/app/Http/Middleware/Range.php(62): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#26 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): FireflyIII\\Http\\Middleware\\Range->handle()
#27 /var/www/html/vendor/jc5/google2fa-laravel/src/Middleware.php(29): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#28 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): PragmaRX\\Google2FALaravel\\Middleware->handle()
#29 /var/www/html/app/Http/Middleware/Authenticate.php(75): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#30 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): FireflyIII\\Http\\Middleware\\Authenticate->handle()
#31 /var/www/html/vendor/laravel/passport/src/Http/Middleware/CreateFreshApiToken.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#32 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Laravel\\Passport\\Http\\Middleware\\CreateFreshApiToken->handle()
#33 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/AuthenticateSession.php(59): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#34 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Session\\Middleware\\AuthenticateSession->handle()
#35 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#36 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle()
#37 /var/www/html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#38 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle()
#39 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#40 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest()
#41 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Session\\Middleware\\StartSession->handle()
#42 /var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#43 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle()
#44 /var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#45 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle()
#46 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#47 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(726): Illuminate\\Pipeline\\Pipeline->then()
#48 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(703): Illuminate\\Routing\\Router->runRouteWithinStack()
#49 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(667): Illuminate\\Routing\\Router->runRoute()
#50 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(656): Illuminate\\Routing\\Router->dispatchToRoute()
#51 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(190): Illuminate\\Routing\\Router->dispatch()
#52 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()
#53 /var/www/html/app/Http/Middleware/InstallationId.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#54 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): FireflyIII\\Http\\Middleware\\InstallationId->handle()
#55 /var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#56 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\TrustProxies->handle()
#57 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#58 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#59 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle()
#60 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#61 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#62 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle()
#63 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#64 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle()
#65 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#66 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle()
#67 /var/www/html/app/Http/Middleware/SecureHeaders.php(51): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#68 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): FireflyIII\\Http\\Middleware\\SecureHeaders->handle()
#69 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#70 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\\Pipeline\\Pipeline->then()
#71 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(134): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
#72 /var/www/html/public/index.php(75): Illuminate\\Foundation\\Http\\Kernel->handle()
#73 {main}
"} 
192.168.10.26 - - [01/Nov/2022:19:40:25 +0100] "GET /budgets HTTP/1.1" 500 6758 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:28 +0100] "GET /debug HTTP/1.1" 200 5262 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
192.168.10.26 - - [01/Nov/2022:19:40:29 +0100] "GET /favicon.ico HTTP/1.1" 200 15372 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.26"
127.0.0.1 - - [01/Nov/2022:19:40:31 +0100] "OPTIONS * HTTP/1.0" 200 110 "-" "Apache/2.4.38 (Debian) (internal dummy connection)"
127.0.0.1 - - [01/Nov/2022:19:40:32 +0100] "OPTIONS * HTTP/1.0" 200 110 "-" "Apache/2.4.38 (Debian) (internal dummy connection)"
127.0.0.1 - - [01/Nov/2022:19:40:35 +0100] "OPTIONS * HTTP/1.0" 200 110 "-" "Apache/2.4.38 (Debian) (internal dummy connection)"
127.0.0.1 - - [01/Nov/2022:19:40:55 +0100] "GET /robots.txt HTTP/1.1" 200 237 "-" "curl/7.64.0"
127.0.0.1 - - [01/Nov/2022:19:41:55 +0100] "GET /robots.txt HTTP/1.1" 200 237 "-" "curl/7.64.0"
127.0.0.1 - - [01/Nov/2022:19:42:55 +0100] "GET /robots.txt HTTP/1.1" 200 237 "-" "curl/7.64.0"
127.0.0.1 - - [01/Nov/2022:19:43:55 +0100] "GET /robots.txt HTTP/1.1" 200 237 "-" "curl/7.64.0"
alexbelgium commented 2 years ago

Thanks, I can now replicate. Clean install using mariadb and indeed going in bills gives the same error message

alexbelgium commented 2 years ago

Hi, solved in the latest release, using a non optimal hack (chmod 777 to all parent directories)

diamant-x commented 2 years ago

Hi, Many thanks. Can confirm 5.7.15-2 is working again.