Docker Compose Sqlite image borks during initial run
Hi
I am trying to use the Sqlite docker-compose but this is giving me the error below everything at default.
https://gitlab.com/MiGoller/ShinobiDocker#run-a-shinobi-for-docker-with-a-sqlite-database
Shinobi : Web Server Listening on 8080
app_1 | 2020-08-26T12:15:53-05:00 Current Version : 6c577f769116105d6f7e80dda07302c45cdf9718
app_1 |
app_1 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
app_1 | This Install of Shinobi is NOT Activated
app_1 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
app_1 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
app_1 | 2020-08-26T12:15:55-05:00 This Install of Shinobi is NOT Activated
app_1 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
app_1 | https://licenses.shinobi.video/subscribe
app_1 | 2020-08-26T12:15:55-05:00 Shinobi is ready.
app_1 | knexError----------------------------------- START
app_1 | [Error: select * from `Schedules` - SQLITE_ERROR: no such table: Schedules] {
app_1 | errno: 1,
app_1 | code: 'SQLITE_ERROR'
app_1 | }
app_1 | select * from `Schedules`
app_1 | knexError----------------------------------- END
app_1 | TypeError: Cannot read property 'forEach' of undefined
app_1 | at /opt/shinobi/libs/scheduler.js:11:18
app_1 | at /opt/shinobi/libs/sql.js:186:33
app_1 | at cb (util.js:196:39)
app_1 | at util.js:180:10
app_1 | at hidden (internal/errors.js:251:14)
app_1 | at processTicksAndRejections (internal/process/task_queues.js:81:21)
app_1 | Uncaught Exception occured!
app_1 | TypeError: Cannot read property 'forEach' of undefined
app_1 | at /opt/shinobi/libs/scheduler.js:11:18
app_1 | at /opt/shinobi/libs/sql.js:186:33
app_1 | at cb (util.js:196:39)
app_1 | at util.js:180:10
app_1 | at hidden (internal/errors.js:251:14)
app_1 | at processTicksAndRejections (internal/process/task_queues.js:81:21)
version: '2'
services:
app:
# image: migoller/shinobidocker:microservice-alpine
image: migoller/shinobidocker:microservice-ffmpeg
# image: migoller/shinobidocker:microservice-vaapi
# image: migoller/shinobidocker:microservice-nvidia
env_file:
- SQLite.env
- Shinobi.env
environment:
- "TZ=Europe/Berlin"
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- ./datadir_sqlite:/opt/dbdata:rw
- ./config:/config
- ./videos:/opt/shinobi/videos
- /dev/shm/shinobiDockerTemp:/dev/shm/streams
ports:
- "8080:8080"