-
-
Notifications
You must be signed in to change notification settings - Fork 203
Description
Describe the bug
Default installation from documentation failed with error Table 'speedtest_tracker.cache' doesn't exist
To Reproduce
Steps to reproduce the behavior:
- Go to https://docs.speedtest-tracker.dev/getting-started/installation/using-docker-compose
- Use docker compose for MariaDB database
services:
speedtest-tracker:
image: lscr.io/linuxserver/speedtest-tracker:latest
restart: unless-stopped
container_name: speedtest-tracker
ports:
- 8080:80
- 8443:443
environment:
- PUID=1000
- PGID=1000
- APP_KEY=valid key entered here
- DB_CONNECTION=mariadb
- DB_HOST=db
- DB_PORT=3306
- DB_DATABASE=speedtest_tracker
- DB_USERNAME=speedtest_tracker
- DB_PASSWORD=password
volumes:
- /path/to/data:/config
- /path/to-custom-ssl-keys:/config/keys
depends_on:
- db
db:
image: mariadb:11
restart: always
environment:
- MYSQL_DATABASE=speedtest_tracker
- MYSQL_USER=speedtest_tracker
- MYSQL_PASSWORD=password
- MYSQL_RANDOM_ROOT_PASSWORD=true
volumes:
- speedtest-db:/var/lib/mysql
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
interval: 5s
retries: 3
timeout: 5s
volumes:
speedtest-db:
- After container creation error appear:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'speedtest_tracke r.cache' doesn't exist
Logs
#16 /app/www/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#17 /app/www/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(95): Illuminate\Container\Util::unwrapIfClosure()
#18 /app/www/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod()
#19 /app/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(694): Illuminate\Container\BoundMethod::call()
#20 /app/www/vendor/laravel/framework/src/Illuminate/Console/Command.php(213): Illuminate\Container\Container->call()
#21 /app/www/vendor/symfony/console/Command/Command.php(279): Illuminate\Console\Command->execute()
#22 /app/www/vendor/laravel/framework/src/Illuminate/Console/Command.php(182): Symfony\Component\Console\Command\Command->run()
#23 /app/www/vendor/symfony/console/Application.php(1094): Illuminate\Console\Command->run()
#24 /app/www/vendor/symfony/console/Application.php(342): Symfony\Component\Console\Application->doRunCommand()
#25 /app/www/vendor/symfony/console/Application.php(193): Symfony\Component\Console\Application->doRun()
#26 /app/www/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(198): Symfony\Component\Console\Application->run()
#27 /app/www/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1231): Illuminate\Foundation\Console\Kernel->handle()
#28 /app/www/artisan(13): Illuminate\Foundation\Application->handleCommand()
#29 {main}
"}
In Connection.php line 825:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'speedtest_tracke
r.cache' doesn't exist (Connection: mariadb, SQL: select * from cache whe
re key in (laravel_cache_illuminate:queue:restart))
In Connection.php line 407:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'speedtest_tracke
r.cache' doesn't exist