-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Settings not saving and excluded species not getting excluded #497
Comments
I've had similar problems with the form not saving. I was reviewing a detection and trying to save a false positive, which did nothing after I clicked save. Same with the config settings; if I add directly to the yaml, it shows up. Otherwise, nothing in the forms save. I checked my logs and have this about CSRF errors:
|
Sorry about delayed response. This is caused by CSRF (security feature) which was introduced recently, I have made several fixes related to these issues and I just released v0.6.3 version. Could you update to that and see if those issues are fixed for you? |
Thanks. Is there a way to update the app in my Docker container without losing all my detection data? |
All data, including config, is stored outside of container, so docker image update will not have any impact on detections. If you installed using install.sh method, easiest way to update is just to download latest copy of install.sh script and re-run it, it will ask if you want to update. curl -fsSL https://github.com/tphakala/birdnet-go/raw/main/install.sh -o install.sh
bash ./install.sh |
Hmm, I'm only seeing the .db files in the /data directory if I am in a shell in the container: docker exec -it 954d7275d5d2 /bin/bash |
What is the command you use to start container with? |
docker run -ti |
and what is stored on your container host system's /data? |
Nothing in the host system /data. In the container's data is birdnet.db birdnet.db-shm birdnet.db-wal clips |
Huh. Then your container deployment has stored all data within container, data is likely in /root users home directory within container. Copy it out and please use install.sh to install new image
This is install method I can support as I know how it works. Data will be stored under /home//birdnet-go-app/ |
OK I copied the data out, reinstalled, now I need to copy the data back into the host system /data and /config, but I can't get the docker container to remain stopped in order to do that. It keeps restarting itself. I don't want to copy the db files while it is running |
I think I got it after modifying the systemd service. Looks good. Do you have a "buy me a coffee" account or something I can contribute to? This app is great. |
Very good that you got it sorted! Thanks for feedback, you can sponsor me at https://github.com/sponsors/tphakala. Much appreciated! |
Issue Type
Description
Docker version installed on Ubuntu Intel NUC. Detections working great, dashboard shows fine. Tried to add excluded species (Engine and Dog), but the setting screen just hangs after clicking Save. Went into the Docker container as a bash shell and added them to config.yaml. They then showed up in settings, but still weren't excluded (even after restarting).
Also tried changing the MQTT login and password in settings, and that wouldn't save either. Just hangs after hitting Save.
Steps to Reproduce (for bugs)
See above
Expected behavior
[What you expected to happen]
Actual behavior
[What actually happened]
Screenshots
[If applicable, add screenshots to help explain your problem]
Environment
Version Information (build date)
Provide the following line from your system:
Not sure how to get this since I'm running the Docker version. Latest?
System Information
For Non-Raspberry Pi Linux Users
Have you tested with the latest dev branch container image?
If not, first test with the latest dev branch container image and see if the issue is already fixed.
I tried it, and it seemed to save the changes, but it was still detecting engines, and when I restarted the container, all settings changes (and detections) were gone.
Additional context
Possible Solution
?
The text was updated successfully, but these errors were encountered: