-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Build does not work #90
Comments
Not seeing the warnings but I am getting the same error:
|
Probably need to run the |
I did as you can see in my commands. I am not in the docker folder when running the docker-compose command! |
Ah, yes I see that now. My bad! |
@comfreak89 I see that you downloaded the release, it was having a problem. I am about to push out another release to solve that problem. You can check out the main branch in the meantime to run. @Klutronic Did you also download and use the release version? Also what platform are you guys running on? Edit: I found the problem, I am fixing it |
@alextran1502 I cloned the repo to run it I am on Ubuntu 20.04.2: immich$ docker-compose -v |
Did you install docker with |
Hi, I tried 1.4.0-7-dev and a direct clone of the repository now. Same issue. Direct clone:
1.4.0-7-dev:
I am still corious why it says, that the variables in the .env are not set, althout it is available: Direct clone:
1.4.0-7-dev:
No, I installed docker via apt. Snap is not available.
In my case, the host is a LXC Container on the newest Proxmox version:
|
@jrasm91 can you try to run this in a VM instead of LXC. I've had problems running Docker in LXC. Please take a look at the Known Issue with PromoxVM in the last section of Readme file |
@alextran1502 I installed Docker with APT |
@Klutronic Are you running this on a VM/LXC or your desktop environment? |
@alextran1502 It's on a physical machine. I can try in a fresh VM if you like. |
@Klutronic Then there shouldn't be any problem. Hmm, this is strange. Can you try to reclone the repo and run it again? Can you also share your |
.env
docker-compose.yml
I re-cloned and got the same error message with the warnings for the variables not being present. However, I DO NOT get the variable warnings if I run the docker-compose command from the ../docker folder |
@Klutronic Is there a reason you changed the version from 3.8 to 3.7? Can you try commenting out the |
....yeaaahhh...okay...it works in a Proxmox VM with CPU flag "host"... ...just wondering: it worked in that LXC container before for me... |
I also tried that. No difference in the LXC Container despite that it tries to build the immich_server:
|
@comfreak89 Yeah, so it would probably be a problem with LXC then. Strange! |
@alextran1502 Yes, I am not on a version of docker-compose that supports 3.8 so I went down to 3.7. After commenting out the immich_microservices:
|
So, I managed it to get it working. I have practicly no knowledge about writing docker files or docker-compose.yml files. Although, these were my steps to get it working in a Proxmox LXC Container AND VM with the same config/command! Change the docker/docker-compose.yml file to:
Basicly, what I have changed is the path to the Dockerfile
Now docker is fine with the context. To get rid of the WARNINGS, add the path to the .env file in the docker-compose command as follows:
@alextran1502: As this solution works for me also in a VM, maybe this one is a more compatible/complete solution for other systems? |
@comfreak89 Yes, I think your proposal is better. I will add them in future updates. @Klutronic Can you try the solution proposed by @comfreak89 above? |
@alextran1502 It seems to be up and running but I am getting the following error when I try to go to the site:
|
Great! The error is absolutely correct - there is no WebUI right now. You have to create a user with the curl command and from there on you can use the mobile app. Change IP, email and password to your needs:
|
@Klutronic You will need the mobile app (since this application is for mobile's media file backup), there is no web interface just yet |
Ahhhhhh, OK! I created the user already so I am good to go! Thanks guys, I really appreciate the help! |
Thanks, @comfreak89 and @Klutronic for improving the project :) cheers! |
.env file:
UPLOAD_LOCATION exists:
I dont know why the warnings appear, altough a .env file exists and the variables are filled:
The text was updated successfully, but these errors were encountered: