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

Hanging on creating user #53

Closed
geekgonecrazy opened this Issue Jan 5, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@geekgonecrazy
Copy link
Contributor

geekgonecrazy commented Jan 5, 2019

Describe the bug

While running: writefreely --config and choosing the sqlite3 driver it hangs on creating user geekgonecrazy...

I've tried on ubuntu 16.04 as well as on osx mavericks. Both sit there and hang on the creating user stage. I tried starting that with -debug but doesn't seem to spit any information out. I can see when I change the filename that the sqlite file is for sure getting created.

Seems to be related to: https://github.com/writeas/writefreely/blob/master/app.go#L487 if I increase this to 2 it seems to work. So something during the create user process must not be releasing connection or attempting to create a new one instead of reusing?

Expected behavior

Process should have completed.

Application configuration

  • Single mode or Multi-user mode? Single mode
  • Database? sqlite
  • Open registration? no
  • Federation enabled? yes

Version or last commit: 0.6.0

@thebaer thebaer added the bug label Jan 5, 2019

@thebaer thebaer added this to the 0.7 milestone Jan 6, 2019

@thebaer

This comment has been minimized.

Copy link
Member

thebaer commented Jan 6, 2019

Thanks for this report! Not sure what's causing it off the top of my head, but what you mentioned sounds about right. Will look into this.

@thebaer thebaer self-assigned this Jan 7, 2019

@thebaer thebaer closed this in 1c58c64 Jan 7, 2019

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