Can't run migrations - database is locked #1671

Closed
opened 2025-10-09 17:25:01 +03:00 by OVERLORD · 5 comments
Owner

Originally created by @Settleman on GitHub.

Hi all,

I'm new to this so bear with me :)

I'm trying to setup Bitwarden RS in Azure but struggling with a few bits.

Just a quick background on what I did before first...
installed with below cmd
az webapp create --resource-group <REDACTED> --plan bitwarden --name <REDACTED> --deployment-container-image-name bitwardenrs/server:latest

I managed to create an account but everything resets to default if I restart the webapp because no permanent share was setup so created a share with name data and mount path /data on a storage account.

I had the "Failed to turn on WAL" error and added the ENABLE_DB_WAL key which seemed to fixed it.

I'm now gettng this error:
[ERROR] thread 'main' panicked at 'Can't run migrations: QueryError(DatabaseError(__Unknown, "database is locked"))': src/main.rs:334

And have the following keys set:
ADMIN_TOKEN(something), ENABLE_DB_WAL (false), EXTENDED_LOGGING(true), LOG_FILE(/data/bitwarden3.log), LOG_LEVEL(warn), WEBSITES_ENABLE_APP_SERVICE_STORAGE(false)

I can see the files being created in the share, including the db.sqlite3 but it's 0 bytes. In this share I also have the rsa cert files and the log file with content so I suspect it's not permissions.

I'm just starting with docker, bitwarden, webapps and github but I'm an experienced engineer otherwise so bear with me :)

I appreciate any help you can provide.

full log:

2020-07-13T10:40:59.078274097Z /--------------------------------------------------------------------\
2020-07-13T10:40:59.078932098Z |                       Starting Bitwarden_RS                        |
2020-07-13T10:40:59.078945698Z |                      Version 1.15.1-6e6e34ff                       |
2020-07-13T10:40:59.078951098Z |--------------------------------------------------------------------|
2020-07-13T10:40:59.078955598Z | This is an *unofficial* Bitwarden implementation, DO NOT use the   |
2020-07-13T10:40:59.080005899Z | official channels to report bugs/features, regardless of client.   |
2020-07-13T10:40:59.080018399Z | Send usage/configuration questions or feature requests to:         |
2020-07-13T10:40:59.080023699Z |   https://bitwardenrs.discourse.group/                             |
2020-07-13T10:40:59.080819799Z | Report suspected bugs/issues in the software itself at:            |
2020-07-13T10:40:59.080831999Z |   https://github.com/dani-garcia/bitwarden_rs/issues/new           |
2020-07-13T10:40:59.080837099Z \--------------------------------------------------------------------/
2020-07-13T10:40:59.080841799Z 
2020-07-13T10:40:59.263756471Z [2020-07-13 10:40:59][panic][ERROR] thread 'main' panicked at 'Can't run migrations: QueryError(DatabaseError(__Unknown, "database is locked"))': src/main.rs:334
2020-07-13T10:40:59.263979771Z    0: bitwarden_rs::init_logging::{{closure}}
2020-07-13T10:40:59.263990371Z    1: std::panicking::rust_panic_with_hook
2020-07-13T10:40:59.263994971Z              at rustc/3503f565e1fb7296983757d2716346f48a4a262b/src/libstd/panicking.rs:524
2020-07-13T10:40:59.263999071Z    2: rust_begin_unwind
2020-07-13T10:40:59.264002871Z              at rustc/3503f565e1fb7296983757d2716346f48a4a262b/src/libstd/panicking.rs:431
2020-07-13T10:40:59.264098271Z    3: core::panicking::panic_fmt
2020-07-13T10:40:59.264160271Z              at rustc/3503f565e1fb7296983757d2716346f48a4a262b/src/libcore/panicking.rs:85
2020-07-13T10:40:59.264229171Z    4: core::option::expect_none_failed
2020-07-13T10:40:59.264316171Z              at rustc/3503f565e1fb7296983757d2716346f48a4a262b/src/libcore/option.rs:1269
2020-07-13T10:40:59.264365971Z    5: bitwarden_rs::migrations::run_migrations
2020-07-13T10:40:59.264438772Z    6: bitwarden_rs::main
2020-07-13T10:40:59.264488872Z    7: std::rt::lang_start::{{closure}}
2020-07-13T10:40:59.264561272Z    8: std::rt::lang_start_internal::{{closure}}
2020-07-13T10:40:59.264610672Z              at rustc/3503f565e1fb7296983757d2716346f48a4a262b/src/libstd/rt.rs:52
2020-07-13T10:40:59.264682372Z       std::panicking::try::do_call
2020-07-13T10:40:59.264731572Z              at rustc/3503f565e1fb7296983757d2716346f48a4a262b/src/libstd/panicking.rs:342
2020-07-13T10:40:59.264813172Z       std::panicking::try
2020-07-13T10:40:59.264860072Z              at rustc/3503f565e1fb7296983757d2716346f48a4a262b/src/libstd/panicking.rs:319
2020-07-13T10:40:59.264949972Z       std::panic::catch_unwind
2020-07-13T10:40:59.264996972Z              at rustc/3503f565e1fb7296983757d2716346f48a4a262b/src/libstd/panic.rs:394
2020-07-13T10:40:59.265064572Z       std::rt::lang_start_internal
2020-07-13T10:40:59.265110772Z              at rustc/3503f565e1fb7296983757d2716346f48a4a262b/src/libstd/rt.rs:51
2020-07-13T10:40:59.265177972Z    9: main
2020-07-13T10:40:59.265223572Z   10: __libc_start_main
2020-07-13T10:40:59.265289172Z   11: _start
2020-07-13T10:40:59.265334672Z 

2020_07_13_RD00155D8D1049_docker.log:
2020-07-13T08:18:47.021Z INFO  - Pulling image from Docker hub: bitwardenrs/server:latest
2020-07-13T08:18:48.103Z INFO  - latest Pulling from bitwardenrs/server
2020-07-13T08:18:48.103Z INFO  -  Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5
2020-07-13T08:18:48.103Z INFO  -  Status: Image is up to date for bitwardenrs/server:latest
2020-07-13T08:18:48.105Z INFO  - Pull Image successful, Time taken: 0 Minutes and 1 Seconds
2020-07-13T08:18:48.123Z INFO  - Starting container for site
2020-07-13T08:18:48.123Z INFO  - docker run -d -p 8842:80 --name <REDACTED>_0_004f0c0b -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest  

2020-07-13T08:18:48.123Z INFO  - Logging is not enabled for this container.
Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
2020-07-13T08:18:50.032Z INFO  - Initiating warmup request to container <REDACTED>_0_004f0c0b for site <REDACTED>
2020-07-13T08:18:52.064Z INFO  - Container <REDACTED>_0_004f0c0b for site <REDACTED> initialized successfully and is ready to serve requests.
2020-07-13T08:43:47.943Z INFO  - Recycling container because of AppSettingsChange and isMainSite = True
2020-07-13T08:43:49.773Z INFO  - Pulling image from Docker hub: bitwardenrs/server:latest
2020-07-13T08:43:51.022Z INFO  - latest Pulling from bitwardenrs/server
2020-07-13T08:43:51.024Z INFO  -  Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5
2020-07-13T08:43:51.025Z INFO  -  Status: Image is up to date for bitwardenrs/server:latest
2020-07-13T08:43:51.054Z INFO  - Pull Image successful, Time taken: 0 Minutes and 1 Seconds
2020-07-13T08:43:51.124Z INFO  - Starting container for site
2020-07-13T08:43:51.132Z INFO  - docker run -d -p 9071:80 --name <REDACTED>_1_efc65fd1 -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest  

2020-07-13T08:43:51.135Z INFO  - Logging is not enabled for this container.
Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
2020-07-13T08:43:53.859Z INFO  - Initiating warmup request to container <REDACTED>_1_efc65fd1 for site <REDACTED>
2020-07-13T08:43:55.952Z INFO  - Container <REDACTED>_1_efc65fd1 for site <REDACTED> initialized successfully and is ready to serve requests.
2020-07-13T08:57:38.686Z INFO  - Recycling container because of AppSettingsChange and isMainSite = True
2020-07-13T08:57:38.721Z INFO  - Pulling image from Docker hub: bitwardenrs/server:latest
2020-07-13T08:57:39.924Z INFO  - latest Pulling from bitwardenrs/server
2020-07-13T08:57:39.926Z INFO  -  Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5
2020-07-13T08:57:39.934Z INFO  -  Status: Image is up to date for bitwardenrs/server:latest
2020-07-13T08:57:39.992Z INFO  - Pull Image successful, Time taken: 0 Minutes and 1 Seconds
2020-07-13T08:57:40.068Z INFO  - Starting container for site
2020-07-13T08:57:40.070Z INFO  - docker run -d -p 8241:80 --name <REDACTED>_2_3bdbe279 -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest  

2020-07-13T08:57:40.071Z INFO  - Logging is not enabled for this container.
Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
2020-07-13T08:57:43.072Z INFO  - Initiating warmup request to container <REDACTED>_2_3bdbe279 for site <REDACTED>
2020-07-13T08:57:45.152Z INFO  - Container <REDACTED>_2_3bdbe279 for site <REDACTED> initialized successfully and is ready to serve requests.
2020-07-13T09:11:45.437Z INFO  - Recycling container because of AzureStorageAccountsChange and isMainSite = True
2020-07-13T09:11:46.131Z INFO  - Pulling image from Docker hub: bitwardenrs/server:latest
2020-07-13T09:11:47.277Z INFO  - latest Pulling from bitwardenrs/server
2020-07-13T09:11:47.278Z INFO  -  Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5
2020-07-13T09:11:47.285Z INFO  -  Status: Image is up to date for bitwardenrs/server:latest
2020-07-13T09:11:47.296Z INFO  - Pull Image successful, Time taken: 0 Minutes and 1 Seconds
2020-07-13T09:11:47.336Z INFO  - Starting container for site
2020-07-13T09:11:47.344Z INFO  - docker run -d -p 6282:80 --name <REDACTED>_3_439924ab -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest  

2020-07-13T09:11:47.346Z INFO  - Logging is not enabled for this container.
Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
2020-07-13T09:11:50.061Z INFO  - Initiating warmup request to container <REDACTED>_3_439924ab for site <REDACTED>
2020-07-13T09:11:51.789Z ERROR - Container <REDACTED>_3_439924ab for site <REDACTED> has exited, failing site start
2020-07-13T09:11:51.887Z ERROR - Container <REDACTED>_3_439924ab didn't respond to HTTP pings on port: 80, failing site start. See container logs for debugging.
2020-07-13T09:12:00.136Z INFO  - Pulling image from Docker hub: bitwardenrs/server:latest
2020-07-13T09:12:01.143Z INFO  - latest Pulling from bitwardenrs/server
2020-07-13T09:12:01.145Z INFO  -  Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5
2020-07-13T09:12:01.146Z INFO  -  Status: Image is up to date for bitwardenrs/server:latest
2020-07-13T09:12:01.149Z INFO  - Pull Image successful, Time taken: 0 Minutes and 1 Seconds
2020-07-13T09:12:01.170Z INFO  - Starting container for site
2020-07-13T09:12:01.172Z INFO  - docker run -d -p 6725:80 --name <REDACTED>_0_c8d338be -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest  

2020-07-13T09:12:01.174Z INFO  - Logging is not enabled for this container.
Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
2020-07-13T09:12:03.000Z INFO  - Initiating warmup request to container <REDACTED>_0_c8d338be for site <REDACTED>
2020-07-13T09:12:04.053Z ERROR - Container <REDACTED>_0_c8d338be for site <REDACTED> has exited, failing site start
2020-07-13T09:12:04.057Z ERROR - Container <REDACTED>_0_c8d338be didn't respond to HTTP pings on port: 80, failing site start. See container logs for debugging.
2020-07-13T09:12:04.085Z INFO  - Stopping site <REDACTED> because it failed during startup.
2020-07-13T09:12:10.364Z INFO  - Pulling image from Docker hub: bitwardenrs/server:latest
2020-07-13T09:12:11.371Z INFO  - latest Pulling from bitwardenrs/server
2020-07-13T09:12:11.373Z INFO  -  Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5
2020-07-13T09:12:11.374Z INFO  -  Status: Image is up to date for bitwardenrs/server:latest
2020-07-13T09:12:11.379Z INFO  - Pull Image successful, Time taken: 0 Minutes and 1 Seconds
2020-07-13T09:12:11.407Z INFO  - Starting container for site
2020-07-13T09:12:11.409Z INFO  - docker run -d -p 7639:80 --name <REDACTED>_0_442f58ab -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest  

2020-07-13T09:12:11.411Z INFO  - Logging is not enabled for this container.
Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
2020-07-13T09:12:13.664Z INFO  - Initiating warmup request to container <REDACTED>_0_442f58ab for site <REDACTED>
2020-07-13T09:12:13.702Z ERROR - Container <REDACTED>_0_442f58ab for site <REDACTED> has exited, failing site start
2020-07-13T09:12:13.703Z ERROR - Container <REDACTED>_0_442f58ab didn't respond to HTTP pings on port: 80, failing site start. See container logs for debugging.
2020-07-13T09:12:13.713Z INFO  - Stopping site <REDACTED> because it failed during startup.
2020-07-13T09:12:20.826Z INFO  - Pulling image from Docker hub: bitwardenrs/server:latest
2020-07-13T09:12:21.878Z INFO  - latest Pulling from bitwardenrs/server
2020-07-13T09:12:21.879Z INFO  -  Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5
2020-07-13T09:12:21.881Z INFO  -  Status: Image is up to date for bitwardenrs/server:latest
2020-07-13T09:12:21.885Z INFO  - Pull Image successful, Time taken: 0 Minutes and 1 Seconds
2020-07-13T09:12:21.915Z INFO  - Starting container for site
2020-07-13T09:12:21.917Z INFO  - docker run -d -p 3115:80 --name <REDACTED>_0_b9666ca3 -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest  

2020-07-13T09:12:21.918Z INFO  - Logging is not enabled for this container.
Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
2020-07-13T09:12:24.592Z INFO  - Initiating warmup request to container <REDACTED>_0_b9666ca3 for site <REDACTED>
2020-07-13T09:12:24.738Z ERROR - Container <REDACTED>_0_b9666ca3 for site <REDACTED> has exited, failing site start
2020-07-13T09:12:24.756Z ERROR - Container <REDACTED>_0_b9666ca3 didn't respond to HTTP pings on port: 80, failing site start. See container logs for debugging.
2020-07-13T09:12:24.785Z INFO  - Stopping site <REDACTED> because it failed during startup.
2020-07-13T09:12:33.595Z INFO  - Pulling image from Docker hub: bitwardenrs/server:latest
2020-07-13T09:12:34.619Z INFO  - latest Pulling from bitwardenrs/server
2020-07-13T09:12:34.620Z INFO  -  Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5
2020-07-13T09:12:34.627Z INFO  -  Status: Image is up to date for bitwardenrs/server:latest
2020-07-13T09:12:34.630Z INFO  - Pull Image successful, Time taken: 0 Minutes and 1 Seconds
2020-07-13T09:12:34.707Z INFO  - Starting container for site
2020-07-13T09:12:34.710Z INFO  - docker run -d -p 1330:80 --name <REDACTED>_0_8f6cb396 -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest  

2020-07-13T09:12:34.716Z INFO  - Logging is not enabled for this container.
Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
2020-07-13T09:12:37.326Z INFO  - Initiating warmup request to container <REDACTED>_0_8f6cb396 for site <REDACTED>
2020-07-13T09:12:37.362Z ERROR - Container <REDACTED>_0_8f6cb396 for site <REDACTED> has exited, failing site start
2020-07-13T09:12:37.367Z ERROR - Container <REDACTED>_0_8f6cb396 didn't respond to HTTP pings on port: 80, failing site start. See container logs for debugging.
2020-07-13T09:12:37.405Z INFO  - Stopping site <REDACTED> because it failed during startup.
2020-07-13T09:21:24.206Z INFO  - Pulling image from Docker hub: bitwardenrs/server:latest
2020-07-13T09:21:25.236Z INFO  - latest Pulling from bitwardenrs/server
2020-07-13T09:21:25.238Z INFO  -  Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5
2020-07-13T09:21:25.241Z INFO  -  Status: Image is up to date for bitwardenrs/server:latest
2020-07-13T09:21:25.245Z INFO  - Pull Image successful, Time taken: 0 Minutes and 1 Seconds
2020-07-13T09:21:25.280Z INFO  - Starting container for site
2020-07-13T09:21:25.281Z INFO  - docker run -d -p 2750:80 --name <REDACTED>_0_546207ff -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest  

2020-07-13T09:21:25.283Z INFO  - Logging is not enabled for this container.
Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
2020-07-13T09:21:27.309Z INFO  - Initiating warmup request to container <REDACTED>_0_546207ff for site <REDACTED>
2020-07-13T09:21:28.542Z ERROR - Container <REDACTED>_0_546207ff for site <REDACTED> has exited, failing site start
2020-07-13T09:21:28.545Z ERROR - Container <REDACTED>_0_546207ff didn't respond to HTTP pings on port: 80, failing site start. See container logs for debugging.
2020-07-13T09:21:28.558Z INFO  - Stopping site <REDACTED> because it failed during startup.
2020-07-13T09:26:52.898Z INFO  - Pulling image from Docker hub: bitwardenrs/server:latest
2020-07-13T09:26:54.431Z INFO  - latest Pulling from bitwardenrs/server
2020-07-13T09:26:54.433Z INFO  -  Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5
2020-07-13T09:26:54.434Z INFO  -  Status: Image is up to date for bitwardenrs/server:latest
2020-07-13T09:26:54.439Z INFO  - Pull Image successful, Time taken: 0 Minutes and 1 Seconds
2020-07-13T09:26:54.474Z INFO  - Starting container for site
2020-07-13T09:26:54.475Z INFO  - docker run -d -p 1822:80 --name <REDACTED>_0_0593a9e1 -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest  

2020-07-13T09:26:54.477Z INFO  - Logging is not enabled for this container.
Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
2020-07-13T09:26:56.448Z INFO  - Initiating warmup request to container <REDACTED>_0_0593a9e1 for site <REDACTED>
2020-07-13T09:26:57.503Z ERROR - Container <REDACTED>_0_0593a9e1 for site <REDACTED> has exited, failing site start
2020-07-13T09:26:57.508Z ERROR - Container <REDACTED>_0_0593a9e1 didn't respond to HTTP pings on port: 80, failing site start. See container logs for debugging.
2020-07-13T09:26:57.513Z INFO  - Stopping site <REDACTED> because it failed during startup.
2020-07-13T09:33:42.448Z INFO  - Pulling image from Docker hub: bitwardenrs/server:latest
2020-07-13T09:33:43.453Z INFO  - latest Pulling from bitwardenrs/server
2020-07-13T09:33:43.455Z INFO  -  Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5
2020-07-13T09:33:43.456Z INFO  -  Status: Image is up to date for bitwardenrs/server:latest
2020-07-13T09:33:43.461Z INFO  - Pull Image successful, Time taken: 0 Minutes and 1 Seconds
2020-07-13T09:33:43.486Z INFO  - Starting container for site
2020-07-13T09:33:43.488Z INFO  - docker run -d -p 2572:80 --name <REDACTED>_0_21c92ae5 -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest  

2020-07-13T09:33:43.489Z INFO  - Logging is not enabled for this container.
Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
2020-07-13T09:33:45.397Z INFO  - Initiating warmup request to container <REDACTED>_0_21c92ae5 for site <REDACTED>
2020-07-13T09:33:46.578Z ERROR - Container <REDACTED>_0_21c92ae5 for site <REDACTED> has exited, failing site start
2020-07-13T09:33:46.606Z ERROR - Container <REDACTED>_0_21c92ae5 didn't respond to HTTP pings on port: 80, failing site start. See container logs for debugging.
2020-07-13T09:33:46.618Z INFO  - Stopping site <REDACTED> because it failed during startup.
2020-07-13T09:44:26.196Z INFO  - Pulling image from Docker hub: bitwardenrs/server:latest
2020-07-13T09:44:27.756Z INFO  - latest Pulling from bitwardenrs/server
2020-07-13T09:44:27.762Z INFO  -  Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5
2020-07-13T09:44:27.764Z INFO  -  Status: Image is up to date for bitwardenrs/server:latest
2020-07-13T09:44:27.769Z INFO  - Pull Image successful, Time taken: 0 Minutes and 1 Seconds
2020-07-13T09:44:27.802Z INFO  - Starting container for site
2020-07-13T09:44:27.804Z INFO  - docker run -d -p 4103:80 --name <REDACTED>_0_bb19eb7a -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest  

2020-07-13T09:44:27.806Z INFO  - Logging is not enabled for this container.
Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
2020-07-13T09:44:29.612Z INFO  - Initiating warmup request to container <REDACTED>_0_bb19eb7a for site <REDACTED>
2020-07-13T09:44:31.697Z ERROR - Container <REDACTED>_0_bb19eb7a for site <REDACTED> has exited, failing site start
2020-07-13T09:44:31.701Z ERROR - Container <REDACTED>_0_bb19eb7a didn't respond to HTTP pings on port: 80, failing site start. See container logs for debugging.
2020-07-13T09:44:31.714Z INFO  - Stopping site <REDACTED> because it failed during startup.
2020-07-13T09:55:41.409Z INFO  - Pulling image from Docker hub: bitwardenrs/server:latest
2020-07-13T09:55:42.469Z INFO  - latest Pulling from bitwardenrs/server
2020-07-13T09:55:42.471Z INFO  -  Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5
2020-07-13T09:55:42.473Z INFO  -  Status: Image is up to date for bitwardenrs/server:latest
2020-07-13T09:55:42.476Z INFO  - Pull Image successful, Time taken: 0 Minutes and 1 Seconds
2020-07-13T09:55:42.505Z INFO  - Starting container for site
2020-07-13T09:55:42.506Z INFO  - docker run -d -p 1331:80 --name <REDACTED>_0_9e177721 -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest  

2020-07-13T09:55:42.508Z INFO  - Logging is not enabled for this container.
Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
2020-07-13T09:55:44.242Z INFO  - Initiating warmup request to container <REDACTED>_0_9e177721 for site <REDACTED>
2020-07-13T09:55:45.274Z ERROR - Container <REDACTED>_0_9e177721 for site <REDACTED> has exited, failing site start
2020-07-13T09:55:45.279Z ERROR - Container <REDACTED>_0_9e177721 didn't respond to HTTP pings on port: 80, failing site start. See container logs for debugging.
2020-07-13T09:55:45.287Z INFO  - Stopping site <REDACTED> because it failed during startup.
2020-07-13T10:06:07.148Z INFO  - Pulling image from Docker hub: bitwardenrs/server:latest
2020-07-13T10:06:08.161Z INFO  - latest Pulling from bitwardenrs/server
2020-07-13T10:06:08.162Z INFO  -  Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5
2020-07-13T10:06:08.164Z INFO  -  Status: Image is up to date for bitwardenrs/server:latest
2020-07-13T10:06:08.169Z INFO  - Pull Image successful, Time taken: 0 Minutes and 1 Seconds
2020-07-13T10:06:08.195Z INFO  - Starting container for site
2020-07-13T10:06:08.195Z INFO  - docker run -d -p 4770:80 --name <REDACTED>_0_a687c17e -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=true -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest  

2020-07-13T10:06:08.195Z INFO  - Logging is not enabled for this container.
Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
2020-07-13T10:06:10.313Z INFO  - Initiating warmup request to container <REDACTED>_0_a687c17e for site <REDACTED>
2020-07-13T10:06:11.416Z ERROR - Container <REDACTED>_0_a687c17e for site <REDACTED> has exited, failing site start
2020-07-13T10:06:11.418Z ERROR - Container <REDACTED>_0_a687c17e didn't respond to HTTP pings on port: 80, failing site start. See container logs for debugging.
2020-07-13T10:06:11.433Z INFO  - Stopping site <REDACTED> because it failed during startup.
2020-07-13T10:31:27.262Z INFO  - Pulling image from Docker hub: bitwardenrs/server:latest
2020-07-13T10:31:28.257Z INFO  - latest Pulling from bitwardenrs/server
2020-07-13T10:31:28.259Z INFO  -  Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5
2020-07-13T10:31:28.261Z INFO  -  Status: Image is up to date for bitwardenrs/server:latest
2020-07-13T10:31:28.265Z INFO  - Pull Image successful, Time taken: 0 Minutes and 0 Seconds
2020-07-13T10:31:28.302Z INFO  - Starting container for site
2020-07-13T10:31:28.304Z INFO  - docker run -d -p 5224:80 --name <REDACTED>_0_f5b58f87 -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest  

2020-07-13T10:31:28.305Z INFO  - Logging is not enabled for this container.
Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
2020-07-13T10:31:30.171Z INFO  - Initiating warmup request to container <REDACTED>_0_f5b58f87 for site <REDACTED>
2020-07-13T10:31:31.214Z ERROR - Container <REDACTED>_0_f5b58f87 for site <REDACTED> has exited, failing site start
2020-07-13T10:31:31.218Z ERROR - Container <REDACTED>_0_f5b58f87 didn't respond to HTTP pings on port: 80, failing site start. See container logs for debugging.
2020-07-13T10:31:31.233Z INFO  - Stopping site <REDACTED> because it failed during startup.
2020-07-13T10:40:56.092Z INFO  - Pulling image from Docker hub: bitwardenrs/server:latest
2020-07-13T10:40:57.100Z INFO  - latest Pulling from bitwardenrs/server
2020-07-13T10:40:57.101Z INFO  -  Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5
2020-07-13T10:40:57.103Z INFO  -  Status: Image is up to date for bitwardenrs/server:latest
2020-07-13T10:40:57.106Z INFO  - Pull Image successful, Time taken: 0 Minutes and 1 Seconds
2020-07-13T10:40:57.143Z INFO  - Starting container for site
2020-07-13T10:40:57.145Z INFO  - docker run -d -p 5367:80 --name <REDACTED>_0_3fe7d87d -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest  

2020-07-13T10:40:57.146Z INFO  - Logging is not enabled for this container.
Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here.
2020-07-13T10:40:59.021Z INFO  - Initiating warmup request to container <REDACTED>_0_3fe7d87d for site <REDACTED>
2020-07-13T10:41:00.089Z ERROR - Container <REDACTED>_0_3fe7d87d for site <REDACTED> has exited, failing site start
2020-07-13T10:41:00.109Z ERROR - Container <REDACTED>_0_3fe7d87d didn't respond to HTTP pings on port: 80, failing site start. See container logs for debugging.
2020-07-13T10:41:00.120Z INFO  - Stopping site <REDACTED> because it failed during startup.
Originally created by @Settleman on GitHub. Hi all, I'm new to this so bear with me :) I'm trying to setup Bitwarden RS in Azure but struggling with a few bits. Just a quick background on what I did before first... installed with below cmd `az webapp create --resource-group <REDACTED> --plan bitwarden --name <REDACTED> --deployment-container-image-name bitwardenrs/server:latest` I managed to create an account but everything resets to default if I restart the webapp because no permanent share was setup so created a share with name data and mount path /data on a storage account. I had the "Failed to turn on WAL" error and added the ENABLE_DB_WAL key which seemed to fixed it. I'm now gettng this error: `[ERROR] thread 'main' panicked at 'Can't run migrations: QueryError(DatabaseError(__Unknown, "database is locked"))': src/main.rs:334` And have the following keys set: ADMIN_TOKEN(something), ENABLE_DB_WAL (false), EXTENDED_LOGGING(true), LOG_FILE(/data/bitwarden3.log), LOG_LEVEL(warn), WEBSITES_ENABLE_APP_SERVICE_STORAGE(false) I can see the files being created in the share, including the db.sqlite3 but it's 0 bytes. In this share I also have the rsa cert files and the log file with content so I suspect it's not permissions. I'm just starting with docker, bitwarden, webapps and github but I'm an experienced engineer otherwise so bear with me :) I appreciate any help you can provide. full log: ``` 2020-07-13T10:40:59.078274097Z /--------------------------------------------------------------------\ 2020-07-13T10:40:59.078932098Z | Starting Bitwarden_RS | 2020-07-13T10:40:59.078945698Z | Version 1.15.1-6e6e34ff | 2020-07-13T10:40:59.078951098Z |--------------------------------------------------------------------| 2020-07-13T10:40:59.078955598Z | This is an *unofficial* Bitwarden implementation, DO NOT use the | 2020-07-13T10:40:59.080005899Z | official channels to report bugs/features, regardless of client. | 2020-07-13T10:40:59.080018399Z | Send usage/configuration questions or feature requests to: | 2020-07-13T10:40:59.080023699Z | https://bitwardenrs.discourse.group/ | 2020-07-13T10:40:59.080819799Z | Report suspected bugs/issues in the software itself at: | 2020-07-13T10:40:59.080831999Z | https://github.com/dani-garcia/bitwarden_rs/issues/new | 2020-07-13T10:40:59.080837099Z \--------------------------------------------------------------------/ 2020-07-13T10:40:59.080841799Z 2020-07-13T10:40:59.263756471Z [2020-07-13 10:40:59][panic][ERROR] thread 'main' panicked at 'Can't run migrations: QueryError(DatabaseError(__Unknown, "database is locked"))': src/main.rs:334 2020-07-13T10:40:59.263979771Z 0: bitwarden_rs::init_logging::{{closure}} 2020-07-13T10:40:59.263990371Z 1: std::panicking::rust_panic_with_hook 2020-07-13T10:40:59.263994971Z at rustc/3503f565e1fb7296983757d2716346f48a4a262b/src/libstd/panicking.rs:524 2020-07-13T10:40:59.263999071Z 2: rust_begin_unwind 2020-07-13T10:40:59.264002871Z at rustc/3503f565e1fb7296983757d2716346f48a4a262b/src/libstd/panicking.rs:431 2020-07-13T10:40:59.264098271Z 3: core::panicking::panic_fmt 2020-07-13T10:40:59.264160271Z at rustc/3503f565e1fb7296983757d2716346f48a4a262b/src/libcore/panicking.rs:85 2020-07-13T10:40:59.264229171Z 4: core::option::expect_none_failed 2020-07-13T10:40:59.264316171Z at rustc/3503f565e1fb7296983757d2716346f48a4a262b/src/libcore/option.rs:1269 2020-07-13T10:40:59.264365971Z 5: bitwarden_rs::migrations::run_migrations 2020-07-13T10:40:59.264438772Z 6: bitwarden_rs::main 2020-07-13T10:40:59.264488872Z 7: std::rt::lang_start::{{closure}} 2020-07-13T10:40:59.264561272Z 8: std::rt::lang_start_internal::{{closure}} 2020-07-13T10:40:59.264610672Z at rustc/3503f565e1fb7296983757d2716346f48a4a262b/src/libstd/rt.rs:52 2020-07-13T10:40:59.264682372Z std::panicking::try::do_call 2020-07-13T10:40:59.264731572Z at rustc/3503f565e1fb7296983757d2716346f48a4a262b/src/libstd/panicking.rs:342 2020-07-13T10:40:59.264813172Z std::panicking::try 2020-07-13T10:40:59.264860072Z at rustc/3503f565e1fb7296983757d2716346f48a4a262b/src/libstd/panicking.rs:319 2020-07-13T10:40:59.264949972Z std::panic::catch_unwind 2020-07-13T10:40:59.264996972Z at rustc/3503f565e1fb7296983757d2716346f48a4a262b/src/libstd/panic.rs:394 2020-07-13T10:40:59.265064572Z std::rt::lang_start_internal 2020-07-13T10:40:59.265110772Z at rustc/3503f565e1fb7296983757d2716346f48a4a262b/src/libstd/rt.rs:51 2020-07-13T10:40:59.265177972Z 9: main 2020-07-13T10:40:59.265223572Z 10: __libc_start_main 2020-07-13T10:40:59.265289172Z 11: _start 2020-07-13T10:40:59.265334672Z 2020_07_13_RD00155D8D1049_docker.log: 2020-07-13T08:18:47.021Z INFO - Pulling image from Docker hub: bitwardenrs/server:latest 2020-07-13T08:18:48.103Z INFO - latest Pulling from bitwardenrs/server 2020-07-13T08:18:48.103Z INFO - Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5 2020-07-13T08:18:48.103Z INFO - Status: Image is up to date for bitwardenrs/server:latest 2020-07-13T08:18:48.105Z INFO - Pull Image successful, Time taken: 0 Minutes and 1 Seconds 2020-07-13T08:18:48.123Z INFO - Starting container for site 2020-07-13T08:18:48.123Z INFO - docker run -d -p 8842:80 --name <REDACTED>_0_004f0c0b -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest 2020-07-13T08:18:48.123Z INFO - Logging is not enabled for this container. Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here. 2020-07-13T08:18:50.032Z INFO - Initiating warmup request to container <REDACTED>_0_004f0c0b for site <REDACTED> 2020-07-13T08:18:52.064Z INFO - Container <REDACTED>_0_004f0c0b for site <REDACTED> initialized successfully and is ready to serve requests. 2020-07-13T08:43:47.943Z INFO - Recycling container because of AppSettingsChange and isMainSite = True 2020-07-13T08:43:49.773Z INFO - Pulling image from Docker hub: bitwardenrs/server:latest 2020-07-13T08:43:51.022Z INFO - latest Pulling from bitwardenrs/server 2020-07-13T08:43:51.024Z INFO - Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5 2020-07-13T08:43:51.025Z INFO - Status: Image is up to date for bitwardenrs/server:latest 2020-07-13T08:43:51.054Z INFO - Pull Image successful, Time taken: 0 Minutes and 1 Seconds 2020-07-13T08:43:51.124Z INFO - Starting container for site 2020-07-13T08:43:51.132Z INFO - docker run -d -p 9071:80 --name <REDACTED>_1_efc65fd1 -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest 2020-07-13T08:43:51.135Z INFO - Logging is not enabled for this container. Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here. 2020-07-13T08:43:53.859Z INFO - Initiating warmup request to container <REDACTED>_1_efc65fd1 for site <REDACTED> 2020-07-13T08:43:55.952Z INFO - Container <REDACTED>_1_efc65fd1 for site <REDACTED> initialized successfully and is ready to serve requests. 2020-07-13T08:57:38.686Z INFO - Recycling container because of AppSettingsChange and isMainSite = True 2020-07-13T08:57:38.721Z INFO - Pulling image from Docker hub: bitwardenrs/server:latest 2020-07-13T08:57:39.924Z INFO - latest Pulling from bitwardenrs/server 2020-07-13T08:57:39.926Z INFO - Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5 2020-07-13T08:57:39.934Z INFO - Status: Image is up to date for bitwardenrs/server:latest 2020-07-13T08:57:39.992Z INFO - Pull Image successful, Time taken: 0 Minutes and 1 Seconds 2020-07-13T08:57:40.068Z INFO - Starting container for site 2020-07-13T08:57:40.070Z INFO - docker run -d -p 8241:80 --name <REDACTED>_2_3bdbe279 -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest 2020-07-13T08:57:40.071Z INFO - Logging is not enabled for this container. Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here. 2020-07-13T08:57:43.072Z INFO - Initiating warmup request to container <REDACTED>_2_3bdbe279 for site <REDACTED> 2020-07-13T08:57:45.152Z INFO - Container <REDACTED>_2_3bdbe279 for site <REDACTED> initialized successfully and is ready to serve requests. 2020-07-13T09:11:45.437Z INFO - Recycling container because of AzureStorageAccountsChange and isMainSite = True 2020-07-13T09:11:46.131Z INFO - Pulling image from Docker hub: bitwardenrs/server:latest 2020-07-13T09:11:47.277Z INFO - latest Pulling from bitwardenrs/server 2020-07-13T09:11:47.278Z INFO - Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5 2020-07-13T09:11:47.285Z INFO - Status: Image is up to date for bitwardenrs/server:latest 2020-07-13T09:11:47.296Z INFO - Pull Image successful, Time taken: 0 Minutes and 1 Seconds 2020-07-13T09:11:47.336Z INFO - Starting container for site 2020-07-13T09:11:47.344Z INFO - docker run -d -p 6282:80 --name <REDACTED>_3_439924ab -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest 2020-07-13T09:11:47.346Z INFO - Logging is not enabled for this container. Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here. 2020-07-13T09:11:50.061Z INFO - Initiating warmup request to container <REDACTED>_3_439924ab for site <REDACTED> 2020-07-13T09:11:51.789Z ERROR - Container <REDACTED>_3_439924ab for site <REDACTED> has exited, failing site start 2020-07-13T09:11:51.887Z ERROR - Container <REDACTED>_3_439924ab didn't respond to HTTP pings on port: 80, failing site start. See container logs for debugging. 2020-07-13T09:12:00.136Z INFO - Pulling image from Docker hub: bitwardenrs/server:latest 2020-07-13T09:12:01.143Z INFO - latest Pulling from bitwardenrs/server 2020-07-13T09:12:01.145Z INFO - Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5 2020-07-13T09:12:01.146Z INFO - Status: Image is up to date for bitwardenrs/server:latest 2020-07-13T09:12:01.149Z INFO - Pull Image successful, Time taken: 0 Minutes and 1 Seconds 2020-07-13T09:12:01.170Z INFO - Starting container for site 2020-07-13T09:12:01.172Z INFO - docker run -d -p 6725:80 --name <REDACTED>_0_c8d338be -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest 2020-07-13T09:12:01.174Z INFO - Logging is not enabled for this container. Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here. 2020-07-13T09:12:03.000Z INFO - Initiating warmup request to container <REDACTED>_0_c8d338be for site <REDACTED> 2020-07-13T09:12:04.053Z ERROR - Container <REDACTED>_0_c8d338be for site <REDACTED> has exited, failing site start 2020-07-13T09:12:04.057Z ERROR - Container <REDACTED>_0_c8d338be didn't respond to HTTP pings on port: 80, failing site start. See container logs for debugging. 2020-07-13T09:12:04.085Z INFO - Stopping site <REDACTED> because it failed during startup. 2020-07-13T09:12:10.364Z INFO - Pulling image from Docker hub: bitwardenrs/server:latest 2020-07-13T09:12:11.371Z INFO - latest Pulling from bitwardenrs/server 2020-07-13T09:12:11.373Z INFO - Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5 2020-07-13T09:12:11.374Z INFO - Status: Image is up to date for bitwardenrs/server:latest 2020-07-13T09:12:11.379Z INFO - Pull Image successful, Time taken: 0 Minutes and 1 Seconds 2020-07-13T09:12:11.407Z INFO - Starting container for site 2020-07-13T09:12:11.409Z INFO - docker run -d -p 7639:80 --name <REDACTED>_0_442f58ab -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest 2020-07-13T09:12:11.411Z INFO - Logging is not enabled for this container. Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here. 2020-07-13T09:12:13.664Z INFO - Initiating warmup request to container <REDACTED>_0_442f58ab for site <REDACTED> 2020-07-13T09:12:13.702Z ERROR - Container <REDACTED>_0_442f58ab for site <REDACTED> has exited, failing site start 2020-07-13T09:12:13.703Z ERROR - Container <REDACTED>_0_442f58ab didn't respond to HTTP pings on port: 80, failing site start. See container logs for debugging. 2020-07-13T09:12:13.713Z INFO - Stopping site <REDACTED> because it failed during startup. 2020-07-13T09:12:20.826Z INFO - Pulling image from Docker hub: bitwardenrs/server:latest 2020-07-13T09:12:21.878Z INFO - latest Pulling from bitwardenrs/server 2020-07-13T09:12:21.879Z INFO - Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5 2020-07-13T09:12:21.881Z INFO - Status: Image is up to date for bitwardenrs/server:latest 2020-07-13T09:12:21.885Z INFO - Pull Image successful, Time taken: 0 Minutes and 1 Seconds 2020-07-13T09:12:21.915Z INFO - Starting container for site 2020-07-13T09:12:21.917Z INFO - docker run -d -p 3115:80 --name <REDACTED>_0_b9666ca3 -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest 2020-07-13T09:12:21.918Z INFO - Logging is not enabled for this container. Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here. 2020-07-13T09:12:24.592Z INFO - Initiating warmup request to container <REDACTED>_0_b9666ca3 for site <REDACTED> 2020-07-13T09:12:24.738Z ERROR - Container <REDACTED>_0_b9666ca3 for site <REDACTED> has exited, failing site start 2020-07-13T09:12:24.756Z ERROR - Container <REDACTED>_0_b9666ca3 didn't respond to HTTP pings on port: 80, failing site start. See container logs for debugging. 2020-07-13T09:12:24.785Z INFO - Stopping site <REDACTED> because it failed during startup. 2020-07-13T09:12:33.595Z INFO - Pulling image from Docker hub: bitwardenrs/server:latest 2020-07-13T09:12:34.619Z INFO - latest Pulling from bitwardenrs/server 2020-07-13T09:12:34.620Z INFO - Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5 2020-07-13T09:12:34.627Z INFO - Status: Image is up to date for bitwardenrs/server:latest 2020-07-13T09:12:34.630Z INFO - Pull Image successful, Time taken: 0 Minutes and 1 Seconds 2020-07-13T09:12:34.707Z INFO - Starting container for site 2020-07-13T09:12:34.710Z INFO - docker run -d -p 1330:80 --name <REDACTED>_0_8f6cb396 -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest 2020-07-13T09:12:34.716Z INFO - Logging is not enabled for this container. Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here. 2020-07-13T09:12:37.326Z INFO - Initiating warmup request to container <REDACTED>_0_8f6cb396 for site <REDACTED> 2020-07-13T09:12:37.362Z ERROR - Container <REDACTED>_0_8f6cb396 for site <REDACTED> has exited, failing site start 2020-07-13T09:12:37.367Z ERROR - Container <REDACTED>_0_8f6cb396 didn't respond to HTTP pings on port: 80, failing site start. See container logs for debugging. 2020-07-13T09:12:37.405Z INFO - Stopping site <REDACTED> because it failed during startup. 2020-07-13T09:21:24.206Z INFO - Pulling image from Docker hub: bitwardenrs/server:latest 2020-07-13T09:21:25.236Z INFO - latest Pulling from bitwardenrs/server 2020-07-13T09:21:25.238Z INFO - Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5 2020-07-13T09:21:25.241Z INFO - Status: Image is up to date for bitwardenrs/server:latest 2020-07-13T09:21:25.245Z INFO - Pull Image successful, Time taken: 0 Minutes and 1 Seconds 2020-07-13T09:21:25.280Z INFO - Starting container for site 2020-07-13T09:21:25.281Z INFO - docker run -d -p 2750:80 --name <REDACTED>_0_546207ff -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest 2020-07-13T09:21:25.283Z INFO - Logging is not enabled for this container. Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here. 2020-07-13T09:21:27.309Z INFO - Initiating warmup request to container <REDACTED>_0_546207ff for site <REDACTED> 2020-07-13T09:21:28.542Z ERROR - Container <REDACTED>_0_546207ff for site <REDACTED> has exited, failing site start 2020-07-13T09:21:28.545Z ERROR - Container <REDACTED>_0_546207ff didn't respond to HTTP pings on port: 80, failing site start. See container logs for debugging. 2020-07-13T09:21:28.558Z INFO - Stopping site <REDACTED> because it failed during startup. 2020-07-13T09:26:52.898Z INFO - Pulling image from Docker hub: bitwardenrs/server:latest 2020-07-13T09:26:54.431Z INFO - latest Pulling from bitwardenrs/server 2020-07-13T09:26:54.433Z INFO - Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5 2020-07-13T09:26:54.434Z INFO - Status: Image is up to date for bitwardenrs/server:latest 2020-07-13T09:26:54.439Z INFO - Pull Image successful, Time taken: 0 Minutes and 1 Seconds 2020-07-13T09:26:54.474Z INFO - Starting container for site 2020-07-13T09:26:54.475Z INFO - docker run -d -p 1822:80 --name <REDACTED>_0_0593a9e1 -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest 2020-07-13T09:26:54.477Z INFO - Logging is not enabled for this container. Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here. 2020-07-13T09:26:56.448Z INFO - Initiating warmup request to container <REDACTED>_0_0593a9e1 for site <REDACTED> 2020-07-13T09:26:57.503Z ERROR - Container <REDACTED>_0_0593a9e1 for site <REDACTED> has exited, failing site start 2020-07-13T09:26:57.508Z ERROR - Container <REDACTED>_0_0593a9e1 didn't respond to HTTP pings on port: 80, failing site start. See container logs for debugging. 2020-07-13T09:26:57.513Z INFO - Stopping site <REDACTED> because it failed during startup. 2020-07-13T09:33:42.448Z INFO - Pulling image from Docker hub: bitwardenrs/server:latest 2020-07-13T09:33:43.453Z INFO - latest Pulling from bitwardenrs/server 2020-07-13T09:33:43.455Z INFO - Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5 2020-07-13T09:33:43.456Z INFO - Status: Image is up to date for bitwardenrs/server:latest 2020-07-13T09:33:43.461Z INFO - Pull Image successful, Time taken: 0 Minutes and 1 Seconds 2020-07-13T09:33:43.486Z INFO - Starting container for site 2020-07-13T09:33:43.488Z INFO - docker run -d -p 2572:80 --name <REDACTED>_0_21c92ae5 -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest 2020-07-13T09:33:43.489Z INFO - Logging is not enabled for this container. Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here. 2020-07-13T09:33:45.397Z INFO - Initiating warmup request to container <REDACTED>_0_21c92ae5 for site <REDACTED> 2020-07-13T09:33:46.578Z ERROR - Container <REDACTED>_0_21c92ae5 for site <REDACTED> has exited, failing site start 2020-07-13T09:33:46.606Z ERROR - Container <REDACTED>_0_21c92ae5 didn't respond to HTTP pings on port: 80, failing site start. See container logs for debugging. 2020-07-13T09:33:46.618Z INFO - Stopping site <REDACTED> because it failed during startup. 2020-07-13T09:44:26.196Z INFO - Pulling image from Docker hub: bitwardenrs/server:latest 2020-07-13T09:44:27.756Z INFO - latest Pulling from bitwardenrs/server 2020-07-13T09:44:27.762Z INFO - Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5 2020-07-13T09:44:27.764Z INFO - Status: Image is up to date for bitwardenrs/server:latest 2020-07-13T09:44:27.769Z INFO - Pull Image successful, Time taken: 0 Minutes and 1 Seconds 2020-07-13T09:44:27.802Z INFO - Starting container for site 2020-07-13T09:44:27.804Z INFO - docker run -d -p 4103:80 --name <REDACTED>_0_bb19eb7a -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest 2020-07-13T09:44:27.806Z INFO - Logging is not enabled for this container. Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here. 2020-07-13T09:44:29.612Z INFO - Initiating warmup request to container <REDACTED>_0_bb19eb7a for site <REDACTED> 2020-07-13T09:44:31.697Z ERROR - Container <REDACTED>_0_bb19eb7a for site <REDACTED> has exited, failing site start 2020-07-13T09:44:31.701Z ERROR - Container <REDACTED>_0_bb19eb7a didn't respond to HTTP pings on port: 80, failing site start. See container logs for debugging. 2020-07-13T09:44:31.714Z INFO - Stopping site <REDACTED> because it failed during startup. 2020-07-13T09:55:41.409Z INFO - Pulling image from Docker hub: bitwardenrs/server:latest 2020-07-13T09:55:42.469Z INFO - latest Pulling from bitwardenrs/server 2020-07-13T09:55:42.471Z INFO - Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5 2020-07-13T09:55:42.473Z INFO - Status: Image is up to date for bitwardenrs/server:latest 2020-07-13T09:55:42.476Z INFO - Pull Image successful, Time taken: 0 Minutes and 1 Seconds 2020-07-13T09:55:42.505Z INFO - Starting container for site 2020-07-13T09:55:42.506Z INFO - docker run -d -p 1331:80 --name <REDACTED>_0_9e177721 -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest 2020-07-13T09:55:42.508Z INFO - Logging is not enabled for this container. Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here. 2020-07-13T09:55:44.242Z INFO - Initiating warmup request to container <REDACTED>_0_9e177721 for site <REDACTED> 2020-07-13T09:55:45.274Z ERROR - Container <REDACTED>_0_9e177721 for site <REDACTED> has exited, failing site start 2020-07-13T09:55:45.279Z ERROR - Container <REDACTED>_0_9e177721 didn't respond to HTTP pings on port: 80, failing site start. See container logs for debugging. 2020-07-13T09:55:45.287Z INFO - Stopping site <REDACTED> because it failed during startup. 2020-07-13T10:06:07.148Z INFO - Pulling image from Docker hub: bitwardenrs/server:latest 2020-07-13T10:06:08.161Z INFO - latest Pulling from bitwardenrs/server 2020-07-13T10:06:08.162Z INFO - Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5 2020-07-13T10:06:08.164Z INFO - Status: Image is up to date for bitwardenrs/server:latest 2020-07-13T10:06:08.169Z INFO - Pull Image successful, Time taken: 0 Minutes and 1 Seconds 2020-07-13T10:06:08.195Z INFO - Starting container for site 2020-07-13T10:06:08.195Z INFO - docker run -d -p 4770:80 --name <REDACTED>_0_a687c17e -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=true -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest 2020-07-13T10:06:08.195Z INFO - Logging is not enabled for this container. Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here. 2020-07-13T10:06:10.313Z INFO - Initiating warmup request to container <REDACTED>_0_a687c17e for site <REDACTED> 2020-07-13T10:06:11.416Z ERROR - Container <REDACTED>_0_a687c17e for site <REDACTED> has exited, failing site start 2020-07-13T10:06:11.418Z ERROR - Container <REDACTED>_0_a687c17e didn't respond to HTTP pings on port: 80, failing site start. See container logs for debugging. 2020-07-13T10:06:11.433Z INFO - Stopping site <REDACTED> because it failed during startup. 2020-07-13T10:31:27.262Z INFO - Pulling image from Docker hub: bitwardenrs/server:latest 2020-07-13T10:31:28.257Z INFO - latest Pulling from bitwardenrs/server 2020-07-13T10:31:28.259Z INFO - Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5 2020-07-13T10:31:28.261Z INFO - Status: Image is up to date for bitwardenrs/server:latest 2020-07-13T10:31:28.265Z INFO - Pull Image successful, Time taken: 0 Minutes and 0 Seconds 2020-07-13T10:31:28.302Z INFO - Starting container for site 2020-07-13T10:31:28.304Z INFO - docker run -d -p 5224:80 --name <REDACTED>_0_f5b58f87 -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest 2020-07-13T10:31:28.305Z INFO - Logging is not enabled for this container. Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here. 2020-07-13T10:31:30.171Z INFO - Initiating warmup request to container <REDACTED>_0_f5b58f87 for site <REDACTED> 2020-07-13T10:31:31.214Z ERROR - Container <REDACTED>_0_f5b58f87 for site <REDACTED> has exited, failing site start 2020-07-13T10:31:31.218Z ERROR - Container <REDACTED>_0_f5b58f87 didn't respond to HTTP pings on port: 80, failing site start. See container logs for debugging. 2020-07-13T10:31:31.233Z INFO - Stopping site <REDACTED> because it failed during startup. 2020-07-13T10:40:56.092Z INFO - Pulling image from Docker hub: bitwardenrs/server:latest 2020-07-13T10:40:57.100Z INFO - latest Pulling from bitwardenrs/server 2020-07-13T10:40:57.101Z INFO - Digest: sha256:71bedb5973b0aff3ad43fe503a5e07637a59a0f1aaf4518b19c4e723d9aceea5 2020-07-13T10:40:57.103Z INFO - Status: Image is up to date for bitwardenrs/server:latest 2020-07-13T10:40:57.106Z INFO - Pull Image successful, Time taken: 0 Minutes and 1 Seconds 2020-07-13T10:40:57.143Z INFO - Starting container for site 2020-07-13T10:40:57.145Z INFO - docker run -d -p 5367:80 --name <REDACTED>_0_3fe7d87d -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=false -e WEBSITE_SITE_NAME=<REDACTED> -e WEBSITE_AUTH_ENABLED=False -e PORT=80 -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=<REDACTED>.azurewebsites.net -e WEBSITE_INSTANCE_ID=<REDACTED> bitwardenrs/server:latest 2020-07-13T10:40:57.146Z INFO - Logging is not enabled for this container. Please use https://aka.ms/linux-diagnostics to enable logging to see container logs here. 2020-07-13T10:40:59.021Z INFO - Initiating warmup request to container <REDACTED>_0_3fe7d87d for site <REDACTED> 2020-07-13T10:41:00.089Z ERROR - Container <REDACTED>_0_3fe7d87d for site <REDACTED> has exited, failing site start 2020-07-13T10:41:00.109Z ERROR - Container <REDACTED>_0_3fe7d87d didn't respond to HTTP pings on port: 80, failing site start. See container logs for debugging. 2020-07-13T10:41:00.120Z INFO - Stopping site <REDACTED> because it failed during startup. ```
OVERLORD added the better for forum label 2025-10-09 17:25:01 +03:00
Author
Owner

@tynor88 commented on GitHub:

Running on Azure AppService with WAL disabled works.

@tynor88 commented on GitHub: Running on Azure AppService with WAL disabled works.
Author
Owner

@BlackDex commented on GitHub:

WAL is a persistent setting which is stored in the sqlite3 file it self. If you want to change afterwards you need to use the sqlite3 cli file.
See here for more info

@BlackDex commented on GitHub: WAL is a persistent setting which is stored in the sqlite3 file it self. If you want to change afterwards you need to use the sqlite3 cli file. See here for more info * https://sqlite.org/wal.html#persistence_of_wal_mode * https://sqlite.org/pragma.html#pragma_journal_mode
Author
Owner

@BlackDex commented on GitHub:

Closing this ticket because of inactivity.
Feel free to re-open if the issue isn't resolved using the testing/master version.

@BlackDex commented on GitHub: Closing this ticket because of inactivity. Feel free to re-open if the issue isn't resolved using the `testing`/`master` version.
Author
Owner

@Settleman commented on GitHub:

Running on Azure AppService with WAL disabled works.

Do you want to elaborate on this?
How did you set it up?

Cheers

@Settleman commented on GitHub: > Running on Azure AppService with WAL disabled works. Do you want to elaborate on this? How did you set it up? Cheers
Author
Owner

@dani-garcia commented on GitHub:

I assume the directory where the db.sqlite file is located is some kind of network share? Usually in those cases disabling WAL gets it to run, but it's not an option that I recommend, in your case you might be better off using Postgres or MySQL backends if Azure has those options.

@dani-garcia commented on GitHub: I assume the directory where the db.sqlite file is located is some kind of network share? Usually in those cases disabling WAL gets it to run, but it's not an option that I recommend, in your case you might be better off using Postgres or MySQL backends if Azure has those options.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#1671