-
Pre-work
DescriptionI've gotten the same error as in closed issues #1758 and #2292 but those issues couldn't solve my issue. The container ran fine and suddelny crashed. I already completly deleted the container files, the image and everything to setup it from new but i'ts always the same. I am running anothe rinstance on another machine without any problems with the same compose (other encryption) Expected BehaviorA not crashing container. Steps to Reproduce
Deployment EnvironmentDocker Compose Application Informationroot@speedtest-tracker:/# php artisan about --json
Could not open input file: artisanWhat browser(s) are you seeing the problem on?Chrome LogsLog from Container:
[2025-12-09 22:34:33] production.ERROR: Database file at path [/app/www/database/database.sqlite] does not exist. Ensure this is an absolute path to the database. (Connection: sqlite, SQL: select * from "cache" where "key" in (laravel_cache_illuminate:queue:restart)) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 0): Database file at path [/app/www/database/database.sqlite] does not exist. Ensure this is an absolute path to the database. (Connection: sqlite, SQL: select * from \"cache\" where \"key\" in (laravel_cache_illuminate:queue:restart)) at /app/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php:826)
�
[stacktrace]
#0 /app/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(780): Illuminate\\Database\\Connection->runQueryCallback()
#1 /app/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(397): Illuminate\\Database\\Connection->run()
#2 /app/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3188): Illuminate\\Database\\Connection->select()
#3 /app/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3173): Illuminate\\Database\\Query\\Builder->runSelect()
#4 /app/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3763): Illuminate\\Database\\Query\\Builder->{closure:Illuminate\\Database\\Query\\Builder::get():3172}()
#5 /app/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3172): Illuminate\\Database\\Query\\Builder->onceWithColumns()
#6 /app/www/vendor/laravel/framework/src/Illuminate/Cache/DatabaseStore.php(130): Illuminate\\Database\\Query\\Builder->get()
#7 /app/www/vendor/laravel/framework/src/Illuminate/Cache/DatabaseStore.php(105): Illuminate\\Cache\\DatabaseStore->many()
#8 /app/www/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(119): Illuminate\\Cache\\DatabaseStore->get()
#9 /app/www/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(780): Illuminate\\Cache\\Repository->get()
#10 /app/www/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(160): Illuminate\\Queue\\Worker->getTimestampOfLastQueueRestart()
#11 /app/www/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(148): Illuminate\\Queue\\Worker->daemon()
#12 /app/www/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(131): Illuminate\\Queue\\Console\\WorkCommand->runWorker()
#13 /app/www/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#14 /app/www/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::{closure:Illuminate\\Container\\BoundMethod::call():35}()
#15 /app/www/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure()
#16 /app/www/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod()
#17 /app/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(807): Illuminate\\Container\\BoundMethod::call()
#18 /app/www/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\\Container\\Container->call()
#19 /app/www/vendor/symfony/console/Command/Command.php(335): Illuminate\\Console\\Command->execute()
#20 /app/www/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\\Component\\Console\\Command\\Command->run()
#21 /app/www/vendor/symfony/console/Application.php(1103): Illuminate\\Console\\Command->run()
#22 /app/www/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand()
#23 /app/www/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun()
#24 /app/www/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(197): Symfony\\Component\\Console\\Application->run()
#25 /app/www/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle()
#26 /app/www/artisan(16): Illuminate\\Foundation\\Application->handleCommand()
#27 {main}
[previous exception] [object] (Illuminate\\Database\\SQLiteDatabaseDoesNotExistException(code: 0): Database file at path [/app/www/database/database.sqlite] does not exist. Ensure this is an absolute path to the database. at /app/www/vendor/laravel/framework/src/Illuminate/Database/Connectors/SQLiteConnector.php:60)
�
[stacktrace]
#0 /app/www/vendor/laravel/framework/src/Illuminate/Database/Connectors/SQLiteConnector.php(19): Illuminate\\Database\\Connectors\\SQLiteConnector->parseDatabasePath()
#1 /app/www/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(223): Illuminate\\Database\\Connectors\\SQLiteConnector->connect()
#2 [internal function]: Illuminate\\Database\\Connectors\\ConnectionFactory->{closure:Illuminate\\Database\\Connectors\\ConnectionFactory::createPdoResolverWithoutHosts():223}()
#3 /app/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1236): call_user_func()
#4 /app/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1272): Illuminate\\Database\\Connection->getPdo()
#5 /app/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(511): Illuminate\\Database\\Connection->getReadPdo()
#6 /app/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(406): Illuminate\\Database\\Connection->getPdoForSelect()
#7 /app/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(813): Illuminate\\Database\\Connection->{closure:Illuminate\\Database\\Connection::select():397}()
#8 /app/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(780): Illuminate\\Database\\Connection->runQueryCallback()
#9 /app/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php(397): Illuminate\\Database\\Connection->run()
#10 /app/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3188): Illuminate\\Database\\Connection->select()
#11 /app/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3173): Illuminate\\Database\\Query\\Builder->runSelect()
#12 /app/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3763): Illuminate\\Database\\Query\\Builder->{closure:Illuminate\\Database\\Query\\Builder::get():3172}()
#13 /app/www/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3172): Illuminate\\Database\\Query\\Builder->onceWithColumns()
#14 /app/www/vendor/laravel/framework/src/Illuminate/Cache/DatabaseStore.php(130): Illuminate\\Database\\Query\\Builder->get()
#15 /app/www/vendor/laravel/framework/src/Illuminate/Cache/DatabaseStore.php(105): Illuminate\\Cache\\DatabaseStore->many()
#16 /app/www/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(119): Illuminate\\Cache\\DatabaseStore->get()
#17 /app/www/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(780): Illuminate\\Cache\\Repository->get()
#18 /app/www/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(160): Illuminate\\Queue\\Worker->getTimestampOfLastQueueRestart()
#19 /app/www/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(148): Illuminate\\Queue\\Worker->daemon()
#20 /app/www/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(131): Illuminate\\Queue\\Console\\WorkCommand->runWorker()
#21 /app/www/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Queue\\Console\\WorkCommand->handle()
#22 /app/www/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::{closure:Illuminate\\Container\\BoundMethod::call():35}()
#23 /app/www/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure()
#24 /app/www/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod()
#25 /app/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(807): Illuminate\\Container\\BoundMethod::call()
#26 /app/www/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\\Container\\Container->call()
#27 /app/www/vendor/symfony/console/Command/Command.php(335): Illuminate\\Console\\Command->execute()
#28 /app/www/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\\Component\\Console\\Command\\Command->run()
#29 /app/www/vendor/symfony/console/Application.php(1103): Illuminate\\Console\\Command->run()
#30 /app/www/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand()
#31 /app/www/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun()
#32 /app/www/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(197): Symfony\\Component\\Console\\Application->run()
#33 /app/www/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle()
#34 /app/www/artisan(16): Illuminate\\Foundation\\Application->handleCommand()
#35 {main}
"}
In Connection.php line 826:
Database file at path [/app/www/database/database.sqlite] does not exist. E
nsure this is an absolute path to the database. (Connection: sqlite, SQL: s
elect * from "cache" where "key" in (laravel_cache_illuminate:queue:restart
))
In SQLiteConnector.php line 60:
Database file at path [/app/www/database/database.sqlite] does not exist. E
nsure this is an absolute path to the database.Info from APP_DEBUG: Docker Compose: version: '3.9'
services:
speedtest-tracker:
image: lscr.io/linuxserver/speedtest-tracker:latest
container_name: speedtest-tracker
hostname: speedtest-tracker
security_opt:
- no-new-privileges:true
environment:
- PUID=${PUID}
- PGID=${PGID}
- APP_TIMEZONE=${TZ}
- APP_KEY=${SPEEDTEST_TRACKER_KEY}
- APP_URL=${SPEEDTEST_TRACKER_URL}
- DB_CONNECTION=sqlite
- SPEEDTEST_SCHEDULE=9 */1 * * *
- DATETIME_FORMAT=j M Y - G:i:s
- DISPLAY_TIMEZONE=${TZ}
- PUBLIC_DASHBOARD=false
- APP_DEBUG=true
ports:
- 8082:80
- 8143:443
volumes:
- ${DOCKER_DATA}/speedtest-tracker:/config
#- /path/to-custom-ssl-keys:/config/keys
labels:
- homepage.group=Infra 1
- homepage.weight=1
- homepage.name=Internet
- homepage.icon=mdi-web
- homepage.href=${FRITZ_URL}
- homepage.siteMonitor=${FRITZ_URL}
- homepage.description=FRITZ!Box 7590 AX & Speedtest Tracker
- homepage.widgets[0].type=fritzbox
- homepage.widgets[0].url=http://${FRITZ_IP}
- homepage.widgets[0].fields=["connectionStatus","uptime"]
- homepage.widgets[1].type=speedtest
- homepage.widgets[1].url=${SPEEDTEST_TRACKER_URL}
- homepage.widgets[1].version=2
- homepage.widgets[1].key=${SPEEDTEST_TRACKER_API}
- com.centurylinklabs.watchtower.enable=true
restart: unless-stopped |
Beta Was this translation helpful? Give feedback.
Replies: 12 comments 4 replies
-
|
Is the path defined for the volume still accessible for the PUID/PGID running the container? Seems that does not have the rights to create the DB file at the initial start up. |
Beta Was this translation helpful? Give feedback.
-
|
The user is the local admin user. |
Beta Was this translation helpful? Give feedback.
-
|
Even though the host's user is the local admin you'll still want to pass in the PUID and the PGID. If that still doesn't work just |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
@olli991 can you make sure in |
Beta Was this translation helpful? Give feedback.
-
|
Looks like there are two:
but looks the same on my working machine |
Beta Was this translation helpful? Give feedback.
-
|
Just a heads up: I'm happy to help and investigate to clear this issue once and for all. But I'm on vacation now for a week and will not have access to my system. Just to let you know 🙃 |
Beta Was this translation helpful? Give feedback.
-
All good, enjoy your time off. I'm coming up on vacation soon as well so this might sit if I can't dig into it before Wednesday |
Beta Was this translation helpful? Give feedback.
-
|
I completly reinstalled docker on my machine from a barebone and still run into the exact same error and can't setup the container anymore :( |
Beta Was this translation helpful? Give feedback.
-
|
You're running on a Synology DS right? If so make sure in the container settings the OS isn't trying to overwrite any environment variables. From what I've seen above everything is configured correctly. |
Beta Was this translation helpful? Give feedback.
-
|
It's running on a UGREEN NAS and doing it all via portainer on there. |
Beta Was this translation helpful? Give feedback.
-
|
I'm going to transfer this to a discussion because I don't think it's an application issue but something with the configuration/deployment. Hopefully someone else with a ugreen NAS has had some experience and can help you out. |
Beta Was this translation helpful? Give feedback.




i now went the hard way and reset the whole OS of the NAS. Now it's working again... don't know why.... but it works