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 issues when following docker install guide #21
Comments
I can reproduce this as of 70802ff. |
It sounds like the migration step didn't get run successfuly- can you re-run (after running the above command, try revisiting http://localhost:3333/ to see if the setup screen get's shown) |
|
Strange. Even though it says "no change", if I stop and re-start the EDIT: And I had run the migration command multiple times before. I think it maybe just needed docker-compose to go down and up again? |
When you re-did the That's very odd. The no change means that the migrations were run. |
I hadn't used citadel before. I tried blowing away the docker images and the associated volumes and doing it again. That's when I turned in the ticket. But this time, after it said there were no migrations, I stopped docker-compose and started it again and it worked. I'll have to see if I can duplicate it after removing the images and volumes again. |
Well that's just strange - let me know if you're able to duplicate it and the steps you did! For now I'm going to go ahead and close this as I wasn't able to get it to do the same on my end. |
Same here. I got a login page when visited http://localhost:3333 after running taskcafe for the first time, so I am not able to create the first user now. BTW, I build taskcate from source code, and run the command below to try to get it work # login to postgresql
sudo -u postgres psql
# create database
CREATE DATABASE taskcafe OWNER taskcafe;
GRANT ALL PRIVILEGES ON DATABASE taskcafe TO taskcafe;
# fix a bug
sudo -u postgres psql taskcafe -c 'CREATE EXTENSION "uuid-ossp";'
# run taskcafe
./taskcafe migrate --config config.toml
./taskcafe web --config config.toml the bug above means I will get the error message below when I run
|
The documentation says to run:
I ran those with no apparent issues.
The documentation then says:
When I surf to the page, it brings me to a login screen, not a setup screen to create the first user.
This is printed in the log:
Trying to sign in with admin/admin produces this:
I've tried stopping the docker containers, removing them, and removing the volumes and then running it again with no luck.
The text was updated successfully, but these errors were encountered: