-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[BUG] Unable to start dashy due to OOM on initial build #380
Comments
Seems to be resolved by changing the alpine version to 3.14. I copied the arm64v8 dockerfile to my system and set docker-compose to build from that.
Result: https://gist.github.com/simpleauthority/14550a8d162511c91f235ac28476b649 And I'm happy to say I am now using dashy :) Sorry for the initial issue that got closed and the reopen :L
|
Hiya Jacob, I guess one thing to keep in mind, is running the app with your own Docker file (instead of pulling from DockerHub), will be harder to keep it up-to-date with WatchTower. Was there a feature in the hosted Dockerfile that missing? Feel free to reach out if there's anything else you need :) |
Yeah I know it will be harder, so it's not my favored solution. The only thing about the hosted dockerfile is that it wouldn't build. I believe it was because of the alpine version, because changing from alpine 3.12 to 3.14 in my own dockerfile made it work with no extra env vars. |
Thanks for the explanation, so this definitely sounds like an issue with Dashy. I'm going to reopen this ticket and get the Dockerfile fixed :) When I tried just running |
@Lissy93 No changes were made, this is the exact entry in
So besides putting env information in a separate file and adding labels for traefik, it should pretty much be what you suggest. The system it's on is a VM from Oracle Public Cloud. What I know is that the CPU is their Ampere A1 Flex offering, which is a Neoverse-N1 ARM model (https://www.arm.com/products/silicon-ip-cpu/neoverse/neoverse-n1). I have really no idea why it didn't want to build and gave an OOM error. I initially tried to fix that by adding an environment variable to increase node's memory but that did nothing. I also have no idea why changing from Alpine 3.12 to 3.14 worked. Even more strange, removing the memory environment variable and running at Alpine 3.14 worked. So, the only thing that ended up being changed that fixed the issue is the Alpine version. Really very strange. If I can attempt to get more info for you let me know.
|
That's super helpful, thank you :) I'll hopefully get a fix pushed out this week |
This issue has gone 6 weeks without an update. To keep the ticket open, please indicate that it is still relevant in a comment below. Otherwise it will be closed in 5 working days. |
This issue was automatically closed because it has been stalled for over 6 weeks with no activity. |
This should now be fixed in 2.0.2 :) |
Closes Lissy93#380 Signed-off-by: Bjorn Lammers <walkxnl@gmail.com>
I've gone ahead and starred the repo and I do see similar issues but none with this exact failure. I'm not new to GitHub. This is indeed the first time I'm interacting.
I hope it's a valid issue. If not, I apologize.
This is attempting to reopen #379...
Environment
Self-Hosted (Docker)
Version
latest
Describe the problem
I am unable to start dashy when running in docker via docker-compose due to a OOM during build time.
The error:
I am using this docker-compose setup:
I have applied these environment variables, the
NODE_OPTIONS
in an attempt to resolve the OOM:This is my system information (
uname -a
):Linux pine 5.4.17-2102.202.5.el8uek.aarch64 #2 SMP Sat May 22 16:34:31 PDT 2021 aarch64 aarch64 aarch64 GNU/Linux
lscpu
:free -m
:As far as I know I should have more than enough memory to run dashy, but as I've seen in other issues the initial build process does kick up the memory usage significantly. This does seem expected. But it doesn't explain why I can't seem to resolve the issue with the
NODE_OPTIONS
environment variable.Any assistance would be much appreciated because this project looks amazing.
Additional info
I think I included everything necessary but if not please let me know.
Please tick the boxes
The text was updated successfully, but these errors were encountered: