-
Notifications
You must be signed in to change notification settings - Fork 2
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
loose user when upgrade 0.164.0~ynh1 to 1.10.3~ynh1 #148
Comments
Some issue. Seeing that this issue have been a thing for 2 months, I wish something could have been done before I wrecked my setup. After discussing with other Komga users, it's likely that the database got lost. |
I don't see this being mentioned as a breaking change in the docs https://komga.org/blog/prepare-v1/ |
@gregandcin the latest master branch should work (might require java17 which is part of a new pull request). Tested that by installing Komga on a fresh instance. @GannonTdW anf @Altyrost I was able to reproduce this issue by installing 0.164.0~ynh1 and then upgrading to the latest master version. I am not sure what is happening during the migration, but the user table is being deleted for some reason. You can recover your original database by doing the following: SSH into your server $ sudo su
$ cd /tmp
$ cp /home/yunohost.backup/archives/komga-pre-upgrade1.tar.gz . # you might have a different filename
$ tar -xvzf komga-pre-upgrade1.tar.gz
$ cp apps/komga/backup/opt/yunohost/komga/.komga/database.sqlite /home/yunohost.app/komga/database.sqlite
$ systemctl restart komga This should apply all migrations and retain your users. |
Tried a new installed from the master branch and I seem to be hitting the same page. Any suggestions for what I might be able to do to fix it? I assume there is just like a bad file somewhere but I wasn't able to find any obvious lingering files after uninstalling before reinstalling |
Hello, |
Wow, same issue here. |
@navanchauhan
systemctl stop komga.service
/usr/bin/java -jar /var/www/komga/komga.jar --server.servlet.context-path="/komga/" --komga.config-dir="/home/yunohost.app/komga/" --reset=$myuser --newpassword=$mypassword
# Quit with ctrl+c
systemctl start komga.service
|
Hello! Still no solution ? |
Hello,
I want upgrade Komga 0.164.0
ynh1 to 1.10.3ynh1, when I try to connect after I have a message " Invalid authentication: Request failed with status code 401 ".And when I try to execute
/usr/bin/java -jar -Xmx1g /var/www/komga/komga.jar --list-users
; I haveNo users exist yet
Logs
Full log:
Context
The text was updated successfully, but these errors were encountered: