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

Brand new instance with SINGLE_USER_MODE=true fails with an exception #1817

Closed
1 task done
saper opened this issue Apr 15, 2017 · 0 comments
Closed
1 task done

Brand new instance with SINGLE_USER_MODE=true fails with an exception #1817

saper opened this issue Apr 15, 2017 · 0 comments
Labels
bug Something isn't working

Comments

@saper
Copy link
Contributor

saper commented Apr 15, 2017

Trying to access brand new SINGLE_USER_MODE=true instance right after installation causes:

[f593578a-1a02-4572-98a1-ff79126279df] method=GET path=/ format=html controller=HomeController action=index status=500 error='ActionController::UrlGenerationError: No route matches {:action=>"show", :controller=>"accounts", :username=>nil} missing required keys: [:username]' duration=99.90 view=0.00 db=20.01
[f593578a-1a02-4572-98a1-ff79126279df]   
[f593578a-1a02-4572-98a1-ff79126279df] ActionController::UrlGenerationError (No route matches {:action=>"show", :controller=>"accounts", :username=>nil} missing required keys: [:username]):
[f593578a-1a02-4572-98a1-ff79126279df]   
[f593578a-1a02-4572-98a1-ff79126279df] app/controllers/home_controller.rb:15:in `authenticate_user!'
[f593578a-1a02-4572-98a1-ff79126279df] app/controllers/concerns/localized.rb:24:in `block in set_locale'
[f593578a-1a02-4572-98a1-ff79126279df] app/controllers/concerns/localized.rb:23:in `set_locale'
  • I searched or browsed the repo’s other issues to ensure this is not a duplicate.
@wxcafe wxcafe added bug Something isn't working priority - medium labels Apr 15, 2017
saper added a commit to saper/mastodon that referenced this issue Apr 15, 2017
An attempt to open a brand new Mastodon instance configured
as SINGLE_USER_MODE=true will cause an exception.

Enable temporary registration if we have no users in the database

Fixes mastodon#1817
Gargron pushed a commit that referenced this issue Apr 15, 2017
An attempt to open a brand new Mastodon instance configured
as SINGLE_USER_MODE=true will cause an exception.

Enable temporary registration if we have no users in the database

Fixes #1817
Nyoho pushed a commit to Nyoho/mathtodon that referenced this issue Apr 25, 2017
An attempt to open a brand new Mastodon instance configured
as SINGLE_USER_MODE=true will cause an exception.

Enable temporary registration if we have no users in the database

Fixes mastodon#1817
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants