Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Influx 2.1.0 and up: influxd.sqlite -> database locked. Azure Linux web app with share #668

Open
driesnollet opened this issue Feb 13, 2023 · 0 comments
Labels

Comments

@driesnollet
Copy link

Recently we are running Influxdb on a Linux Web App in Azure. A file share from a Storage Account is linked to it (mount).
We have discovered that since the .sqlite file is introduced in 2.1.0, the web app doesn't want to start any more.
msg="Failed to apply SQL migrations" error="database is locked"

We have found several topics related to sqlite db files and azure share issues.
Is there a way to fix this, or even a possibility to ignore this database when running influxdb?

Topics:
https://learn.microsoft.com/en-us/answers/questions/346794/how-to-update-or-insert-sqlite-database-in-web-app
https://learn.microsoft.com/en-us/answers/questions/318948/azure-app-service-nodejs-sqlite3-lock-issue-cifs-m
https://stackoverflow.com/questions/74996628/sqlite-database-locked-for-writing-on-azure-linux-but-not-on-windows
MicrosoftDocs/azure-docs#47130

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants