You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to use the docker-compose file results in:
Creating decidim_pg_1 ... done
Creating decidim_redis_1 ... done
Creating decidim_decidim_1 ... error
ERROR: for decidim_decidim_1 Cannot start service decidim: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "/code/vendor/hello-world.sh": stat /code/vendor/hello-world.sh: no such file or directory: unknown
ERROR: for decidim Cannot start service decidim: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "/code/vendor/hello-world.sh": stat /code/vendor/hello-world.sh: no such file or directory: unknown
ERROR: Encountered errors while bringing up the project.
Trying to run it without the entrypoint and cmd overrides gives me:
pg_1 | 2021-12-09 18:32:43.642 UTC [96] FATAL: database "code_development" does not exist
decidim_1 |
decidim_1 | ActiveRecord::NoDatabaseError (FATAL: database "code_development" does not exist
decidim_1 | ):
decidim_1 |
And before that? Are you trying to docker-compose up in a generated app or the one provided in this repository?
I can confirm that the current instructions that we have in the README for this repository for the HelloWorld app are valid and that the docker-compose is working well.
git clone git@github.com:decidim/docker.git decidim-docker
cd decidim-docker
docker-compose up
@andreslucena I can no longer reproduce my initial issue with the latest revision. The containers spin up fine and I get a working instance on localhost:3000.
However, since images were moved to ghcr.io your instructions no longer work out of the box:
A classic token having read:packages permissions must be generated (see github docs) and users need to log in (docker login ghcr.io) prior to running docker compose up.
This should probably be reflected in the readme.
And before that? Are you trying to docker-compose up in a generated app or the one provided in this repository?
I can confirm that the current instructions that we have in the README for this repository for the HelloWorld app are valid and that the docker-compose is working well.
git clone git@github.com:decidim/docker.git decidim-docker
cd decidim-docker
docker-compose up
Hi, I can't download this git - it asks for permission ..
Attempting to use the docker-compose file results in:
Creating decidim_pg_1 ... done
Creating decidim_redis_1 ... done
Creating decidim_decidim_1 ... error
ERROR: for decidim_decidim_1 Cannot start service decidim: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "/code/vendor/hello-world.sh": stat /code/vendor/hello-world.sh: no such file or directory: unknown
ERROR: for decidim Cannot start service decidim: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "/code/vendor/hello-world.sh": stat /code/vendor/hello-world.sh: no such file or directory: unknown
ERROR: Encountered errors while bringing up the project.
Trying to run it without the entrypoint and cmd overrides gives me:
pg_1 | 2021-12-09 18:32:43.642 UTC [96] FATAL: database "code_development" does not exist
decidim_1 |
decidim_1 | ActiveRecord::NoDatabaseError (FATAL: database "code_development" does not exist
decidim_1 | ):
decidim_1 |
to start my docker-compose.yml with the actual version of decidim latest : 0.28.0
I had to start with something like this:
Activity
andreslucena commentedon Jan 18, 2022
Which commands are you running @kwisatz?
kwisatz commentedon Jan 18, 2022
@andreslucena that was a simple
docker-compose upandreslucena commentedon Jan 24, 2022
And before that? Are you trying to
docker-compose upin a generated app or the one provided in this repository?I can confirm that the current instructions that we have in the README for this repository for the
HelloWorldapp are valid and that the docker-compose is working well.git clone git@github.com:decidim/docker.git decidim-docker cd decidim-docker docker-compose uploleg commentedon May 15, 2022
I got similar errors, had to stop the conatiners after "first boot" and restart. Then the application came up fine.
Othman-Benbrahim commentedon Feb 5, 2023
I have the same error. It's don't working. Can you help me?
kwisatz commentedon Feb 5, 2023
@andreslucena I can no longer reproduce my initial issue with the latest revision. The containers spin up fine and I get a working instance on
localhost:3000.However, since images were moved to
ghcr.ioyour instructions no longer work out of the box:A classic token having
read:packagespermissions must be generated (see github docs) and users need to log in (docker login ghcr.io) prior to runningdocker compose up.This should probably be reflected in the readme.
alecslupu commentedon Feb 5, 2023
@kwisatz , can you make a small PR about it ? Thanks
punkyard commentedon Mar 3, 2024
Hi, I can't download this git - it asks for permission ..
punkyard commentedon Mar 3, 2024
to start my docker-compose.yml with the actual version of decidim latest : 0.28.0
I had to start with something like this:
$ sudo mkdir /docker/decidim$ cd /docker/decidim$ sudo docker run -it -v "/docker/decidim/code-0280:/code" ghcr.io/decidim/decidim-generator:0.28.0 decidim decidim-0280$ sudo chown -R root: code-0280