-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
[BUG] App randomly resets its state to brand new install #242
Comments
Are you using a reverse proxy? It sounds very similar to this issue here: #65 Can you check the network tab in your browser dev tools? What is the response of |
I intend to user later, at this moment was just trying it out first with direct access. |
Ok, so I did a fresh install, setup the admin account, added 1 device and refreshed the page. It took me to the setup page again. |
This will hopefully fix it. I will publish a beta as soon as #71 is done. |
It's out. Can you try? https://github.com/seriousm4x/UpSnap/releases/tag/4.1.0-beta.1 |
I've deployed both versions (4.0.7 and 4.1.0-beta1) on the same conditions. And I can't replicate the bug now. |
Ah, these are the most annoying bugs! Keep me up to date |
i had the similar issue the app reset to brand new setting page and ask me to create admin account. it always happened after running update by watchtower but i am not quite sure why this happened. |
What does your docker-compose file look like? |
Got same problem on clean install... i have this docker container logs [INFO] 2024/04/24 11:56:16 pb.go:272: Ping interval set to @every 10s # Sets the interval in which the devices are pinge |
Your logs don't really match the problem of the others. It seems more likely that the database files are not readable/writable. Perhaps there is a problem with the hard disk or file system on which the database is located. Try saving the database to your internal system hard disk (if this is not already the case). Otherwise, please create a separate issue. |
the database is in my docker-swarm folder is replicated between 1 master et 3 client node with Gluster (all other dockers have no problems ..) accessible with the same user ... i will try to test in a folder not replicated with Gluster |
Describe the bug
I deployed a brand new LXC container with Ubuntu 22.04, specifically for this app.
The only additional package installed was nmap.
Went to the IP:8090 URL, setup the admin account and started adding a couple devices, changed 2 or 3 settings,
and the app randomly redirects me to the fresh install setup again.
I tried a few times, running as non-root and root, sometimes it was almost instant, sometimes it took longer, but it always reverts back to a fresh install.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
App should remember its state and not reset.
Host OS (and version)
Ubuntu 22.04 on proxmox LXC
Host Architecture
amd64
Brower (if relevant)
Chrome 117.0.5938.132 64bit
The text was updated successfully, but these errors were encountered: