Skip to content
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 failure #7

Open
jameslashmar opened this issue Oct 26, 2024 · 5 comments
Open

build failure #7

jameslashmar opened this issue Oct 26, 2024 · 5 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@jameslashmar
Copy link

Hey! Thanks for creating this!

I'm looking to run this on my NAS but i've hit a roadblock.

So i've pulled the repo and tried to run everything. Firstly I was getting an error about a string value when trying to run docker compose up . I fixed this by adjusting restart :no to restart: "no" in the yaml.

Then the tried compose up again, followed by running the yaml. It did a ton of stuff, progress!

I noticed that the db and deadline-web-app folders are missing, so i created those, but now i'm missing the dockerfile for the web-app i think? This is the error

PS Microsoft.PowerShell.Core\FileSystem::\\oracle\docker\deadline10\deadline-container> docker compose up
[+] Building 0.1s (1/1) FINISHED                                                                                                                                                          docker:desktop-linux
 => [deadline-web-app-backend internal] load build definition from Dockerfile                                                                                                                             0.0s
 => => transferring dockerfile: 2B                                                                                                                                                                        0.0s
failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory

The yaml states dockerfile: Dockerfile but there isn't one.

@jameslashmar
Copy link
Author

Missed the first part apologies!

So, mongo keeps restarting and spits out this error
2024-10-26 16:37:05 {"t":{"$date":"2024-10-26T15:37:05.740+00:00"},"s":"W", "c":"STORAGE", "id":22347, "ctx":"initandlisten","msg":"Failed to start up WiredTiger under any compatibility version. This may be due to an unsupported upgrade or downgrade."}

Also, i'm wondering if you can create a version of this with mongo v4? V5 and up require AVX extensions, and a lot of NAS's won't have the CPU to be able to run this once it is built due to the lack of those extensions in the CPU.

@ddesmond
Copy link
Owner

Hey @jameslashmar sry i just saw the issue!
You should be able to change the compose file tag to pull another mongo version.
Line

image: mongo:5.0.1
is what you want to change, so try pulling another version of mongo.

Docker hub has this https://hub.docker.com/layers/library/mongo/4.4.27/images/sha256-440b3b7bc44e1918b05f7bb6d6326534cb84a3db4fff00861624f9d13437bc0a?context=explore

so change the line to from mongo:5 to mongo:4.4.27 and you should be good to go.
I dont know how deadline installer will react thou, cos they require mongo v5, but probably will just work :)

Let me know how it goes!

@ddesmond
Copy link
Owner

ddesmond commented Oct 29, 2024

For the missing folders, DB should be created automaticaly and the webui you have to pull with make webapp: ## Download - Install Deadline Web App

so run make webapp and it will download all for you. If not you will have to pull it manualy, you can find the pull code in https://github.com/ddesmond/deadline-container/blob/main/install/setup_deadline-web-app.sh

@ddesmond
Copy link
Owner

As for the docker errors, what docker are you running on your NAS?
those are docker version related

If you can use, use make commands to startup and setup everything

@ddesmond
Copy link
Owner

Also last one thing :)
for anyone reading, if there is a makefile, you can see what commands are doing what so you can always refer to the process and build steps there https://github.com/ddesmond/deadline-container/blob/main/Makefile

@ddesmond ddesmond self-assigned this Oct 29, 2024
@ddesmond ddesmond added the good first issue Good for newcomers label Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants