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

Login fails after upgrading to 2.0.1 #1914

Closed
fodiator opened this issue Apr 12, 2016 · 4 comments
Closed

Login fails after upgrading to 2.0.1 #1914

fodiator opened this issue Apr 12, 2016 · 4 comments

Comments

@fodiator
Copy link

Issue details

Upgraded a working 2.0.0 version to 2.0.1 using the share hosting package description
Re-Login fails with "Bad credentials."

Environment

  • wallabag version (or git revision) that exhibits the issue: 2.0.1
  • How did you install wallabag? Via git clone or by downloading the package? package download
  • Last wallabag version that did not exhibit the issue (if applicable): 2.0.0
  • php version:
  • OS: Ubuntu 14.04 server
  • type of hosting (shared or dedicated): shared
  • which storage system you choose at install (SQLite, MySQL/MariaDB or PostgreSQL): default

Steps to reproduce/test case

wget http://wllbg.org/latest-v2-package && tar xvf latest-v2-package
chown -R www-data:www-data ./release2.0.1
cp ./wallabag/app/config/parameters.yml ./wallabag/app/config/parameters.yml.bak
cp -ar ./release2.0.1 ./wallabag
cp ./wallabag/app/config/parameters.ymlbak ./wallabag/app/config/parameters.yml
service apache2 reload

Login fails with "Bad credentials."

(even tried to backup & replace the whole config-folder)

Kind regards

@j0k3r
Copy link
Member

j0k3r commented Apr 12, 2016

Weird. We've done nothing about authentication in 2.0.1.
Could you run php bin/console cache:clear --env=prod and then retry to login ?

@tcitworld
Copy link
Member

If you use the default storage system, it means you use SQLite and you should also have backuped your data folder too containing the SQLite file, which contains the user informations. Hope you didn't lost it.

@fodiator
Copy link
Author

with /data copied, login is now working
Maybe you should mention this in the upgrade process description?

THX & keep up the good work

@tcitworld
Copy link
Member

Thanks, will add it.

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

No branches or pull requests

3 participants