Comments (8)
I can reproduce this as of 70802ff.
from taskcafe.
It sounds like the migration step didn't get run successfuly- can you re-run docker-compose -p citadel -f docker-compose.yml -f docker-compose.migrate.yml run --rm migrate
and send me the log output from that command?
(after running the above command, try revisiting http://localhost:3333/ to see if the setup screen get's shown)
from taskcafe.
$ docker-compose -p citadel -f docker-compose.yml -f docker-compose.migrate.yml run --rm migrate
Starting citadel_postgres_1 ... done
Error: no change
Usage:
citadel migrate [flags]
Flags:
-h, --help help for migrate
$Β
from taskcafe.
Strange. Even though it says "no change", if I stop and re-start the docker-compose -p citadel up
command, it now works correctly.
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?
from taskcafe.
When you re-did the docker-compose -p citadel up
command, did it rebuild the image or did it just use an existing one (if there was only a couple lines of output, it used an existing image)?
That's very odd. The no change means that the migrations were run.
from taskcafe.
I hadn't used citadel before.
So I ran the docker-compose up command and it downloaded and built the image. After it was up, I ran the migration and didn't receive any errors. When I surfed to the site, it showed a login page instead of the setup page, so I ran migrations again. It said there weren't any migrations.
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.
from taskcafe.
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.
from taskcafe.
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 ./taskcafe migrate --config config.toml
follow the documents
Error: migration failed: permission denied to create extension "uuid-ossp" in line 0: CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
CREATE TABLE refresh_token (
token_id uuid PRIMARY KEY DEFAULT uuid_generate_v4(),
user_id uuid NOT NULL,
created_at timestamptz NOT NULL,
expires_at timestamptz NOT NULL
);
(details: pq: permission denied to create extension "uuid-ossp")
from taskcafe.
Related Issues (20)
- Closing a card with Esc when the label dialogue is open and then choosing to create a new label produces a blank screen HOT 1
- Creating label bring blank page HOT 4
- Build error with yarn : Cannot find module: 'rich-markdown-editor'. Make sure this package is installed.
- TypeError: "current" is read-only HOT 2
- react-scripts fail to build HOT 2
- Initial Install does not bring up installation screen HOT 7
- Task comments no longer render correctly HOT 1
- Filling out "Add Team" on Main Page does not create a new team HOT 3
- Register button is not available HOT 7
- Unable to build project HOT 4
- I can't upload data files to taskcafe HOT 3
- No setup page, no default user and register button does nothing HOT 8
- Unable to create team HOT 7
- Should I Be Concerned? HOT 1
- Cannot create new members and filter completed tasks HOT 5
- Chrome cannot be dragged , but edge canγ HOT 3
- User profile (general tab) flags (non-existing) parsing errors and does not allow saving
- [Installation] What is the initial username and password when logging in for the first time? How can a new account be created and configured?
- Add a security policy
- Database-host seems hardcoded to localhost HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from taskcafe.