Replies: 14 comments 1 reply
-
I thought I could do this:
but I'm still getting the error even after adding that to my routes file. running on mrsk 0.12.0 |
Beta Was this translation helpful? Give feedback.
-
my Dockerfile does contain an
my full Dockerfile: |
Beta Was this translation helpful? Give feedback.
-
this is the result of |
Beta Was this translation helpful? Give feedback.
-
Were you able to deploy prior to upgrading to 0.12.0? I added some healthcheck logging which was merged into 0.12.1 (#265). That may give you more detail on health of container and why it's not passing healthcheck. |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
mrsk 0.12.1
|
Beta Was this translation helpful? Give feedback.
-
I don't think adding |
Beta Was this translation helpful? Give feedback.
-
mrsk 0.11.0
|
Beta Was this translation helpful? Give feedback.
-
@34code - interesting, I'm no Docker expert, mostly just been a Docker user, and this experience is the most I've gotten my hands dirty with Docker. What you say makes sense. I was just following suggestion by from @PabloC's answer on #276 but I didn't modify my Dockerfile (which originally came from https://www.driftingruby.com/episodes/deploying-with-mrsk and is basically that but with some small modifications) if I get the same error on mrsk 0.11.0, 0.12.0, ad 0.12.1, then it seems to rule-out those recent changes anyway I wonder, what should I try next? note that I am trying on Amazon EC2 Ubuntu, which doesn't give root access to the |
Beta Was this translation helpful? Give feedback.
-
Try after releasing lock as follows: from docs (https://mrsk.dev/docs/locking) |
Beta Was this translation helpful? Give feedback.
-
oh shoot. but I think if the lock is actually in place, it stops way sooner (like right up front) when I do this it says there was no lock
anyway I get the same result if I first release the lock, but thanks indeed. "Do not try to bend the lock, just try to remember... there is no lock" |
Beta Was this translation helpful? Give feedback.
-
This seems like an issue with your docker setup, not mrsk. Your log says there's an issue with your docker-entrypoint.
Have you googled that error? You could also try and remove entrypoint from Dockerfile and rebuild and try to run locally to troubleshoot. |
Beta Was this translation helpful? Give feedback.
-
It seems something related to docker and the architecture. Are you using the same architecture local vs remote? I mean, x86 local and remote? |
Beta Was this translation helpful? Give feedback.
-
Confirmed, it was the docker-entrypoint file. When I comment out that file in Dockerfile the build succeeds correctly.
No. my local machine is M1 and the instance is Amazon EC2 Ubuntu @dhh -- I didn't realize this repo had "Discussions," I will use those from now on for pre-bug-report investigations. thank you for your patience. |
Beta Was this translation helpful? Give feedback.
-
when running
mrsk deploy
, the precompile works and everything looks like it is deploying out correctly, but at the end I get thisthis app I'm on is Rails 7.0.4.3 so I do not have an
/up
endpoint. do I patch one onto my Rails 7.0.4.3 app?Beta Was this translation helpful? Give feedback.
All reactions