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

Database not reachable after snap auto refresh to 3.3.3 #4939

Closed
ParkSeungwon opened this issue Jan 3, 2024 · 5 comments
Closed

Database not reachable after snap auto refresh to 3.3.3 #4939

ParkSeungwon opened this issue Jan 3, 2024 · 5 comments

Comments

@ParkSeungwon
Copy link

latest/stable: 3.3.3 2024-01-02 (15) 47MB -
latest/candidate: 3.3.3 2024-01-02 (15) 47MB -
latest/beta: ↑
latest/edge: ↑
3.x/stable: 3.3.3 2024-01-02 (15) 47MB -
3.x/candidate: ↑
3.x/beta: ↑
3.x/edge: ↑
2.x/stable: 2.3.1 2020-03-18 (5) 46MB -
2.x/candidate: ↑
2.x/beta: ↑
2.x/edge: ↑
installed: 3.3.3 (15) 47MB -

My system suddenly didn't work..(ubuntu server snap. couchdb was not responding)
I found that couchdb version was refreshed today.. (How can I stop snap auto refresh? )
I even couldn't access fauxton at :5984/_utils.
After I revert back to 3.1.1. I can access databases with :5984/_utils now.
but, still server is not responding to my app.
python-couchdb cannot access database.. I think my former version was couchdb 2.
but snap only provide 3.1.1 and 3.3.3.
How can I go back to 2.3.1?
Or what package should I use to access the DB? Should I rewrite them?

@sklassen
Copy link
Contributor

sklassen commented Jan 3, 2024

execute sudo snap revert that should restore your previous snap.

@ParkSeungwon
Copy link
Author

Thanks... Chat gpt guided me wrong way. It said there is no way to use local machine data to revert back. I can Only use snap repository, so I already reverted to 3.1.1. then 'sudo snap revert' will go back to 3.3.3..

@ParkSeungwon
Copy link
Author

after rebooting, it works fine with 3.1.1. thanks...

@big-r81
Copy link
Contributor

big-r81 commented Jan 3, 2024

I’m updating the tracks at snapcraft to only allow minor updates automatically.

@big-r81 big-r81 closed this as completed Jan 3, 2024
@ErikVerheul
Copy link

I experienced the same problem. To solve it check the -setcookie parameter in /opt/couchdb/etc/vm.args. Generate a long string with openssl rand -hex 32 or so and add it to your config.

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

No branches or pull requests

4 participants