chevereto / docker

Template project for deploying Chevereto V4 based applications using Docker
https://v4-docs.chevereto.com/guides/docker/
MIT License
58 stars 18 forks source link

Problem starting after installation #16

Closed NoobKeksTV closed 2 years ago

NoobKeksTV commented 2 years ago

I installed the docker version , used "make build" to create the images and now am trysing to start it with "make up" everytime i try to start it tho i get this error:

https://screens.egopvp.com/files/2022/04/15/7mJRq.png

Any ideas?

rodber commented 2 years ago

Docker version.

NoobKeksTV commented 2 years ago

Docker version 20.10.14, build a224086

apt upgrade doesnt have any newer docker versions for me should i update manually if its not the correct one?

NoobKeksTV commented 2 years ago

ok just googled and 20.10.14 seems to be the latest one available for debian (which i run)

MikePadge commented 2 years ago

I just had this happen, the problem is in the Makefile, my environment expects there to be a dash between docker and compose

See Makefile line 90 for the up-d argument.

changing 90 from docker compose to docker-compose` fixed the problem for me.

rodber commented 2 years ago

@ZockerBoysHD and @MikePadge

It is mentioned on the README.md that this requires docker compose 2 as this is a brand new project I want to start with new stuff from scratch. The old "command" docker-compose is being changed by docker compose and you can read the why/how at Compose V2.

@ZockerBoysHD I had the same issue with Ubuntu 20.04 as it comes with 19.some. I had to remove it and manually install it following the instructions at Docker. I recommend you to install the software following Docker Install on Debian.

NoobKeksTV commented 2 years ago

Installed Docker Compose 2.x and the "make prod" part is working now.

have set up my proxy and all but upon entering the chevereto page it always redirects me to "localhost/install" i havent found any hostname settings yet, where do i change stuff like this?

Also "make down" works but when starting again with "make up" it gives this error: https://screens.egopvp.com/files/2022/04/16/8N73v.png

NoobKeksTV commented 2 years ago

ok well just when i wrote this my system finished "make prod" again.

I changed the projects/prod.yml file to includee "CHEVERETO_HOSTNAME: img.x.xxx" on php - environments and then started it using "make prod" and now its up and currently working on my hostname.

MikePadge commented 2 years ago

It might be worth it to put some CAPITAL FLAIR there in the readme to punctuate the difference between "docker compose" and "docker-compose". I use docker daily and this is actually the first I've heard of them making this change (I'm not a heavy docker desktop user).

Checking my compose setup, docker-compose version Docker Compose version v2.3.4

I would just assume that I'm good here, but I don't have the new CE version installed with the docker compose separation.

rodber commented 2 years ago

@MikePadge That's the joy of using software. I had the same moment where I had to document myself on why there was two commands, turns out that I was using a Docker engine from 2019.

😉 I will link to the Docker docs so it is more straightforward.

NoobKeksTV commented 2 years ago

so i now have a running version of chevereto v4.0 using docker on my system

my problems now aree that

1) My API doesnt work at all. The public api key always says its invalid when uploading My Private api key doesnt even generate (chv_***) and i cant regen it

2) i cant upload pictures at all it just loads and loads.

NoobKeksTV commented 2 years ago

it also seems like it want to load my favicon from "localhost:14081" instead of the hostname.... image

rodber commented 2 years ago

We will handle this on our Support layer, to the same ticket you created. Not here at GitHub, this is exclusive for Technical issues on this particular project.