OpenSource Server / Docker new image - All apps stopped working

Hi,
How are you?

With the new update of docker image (1.9.0) 10 days ago, all the applications fail with “Unhandled runtime error”. No further visible errors.
No changes in the apps. No errors in the container log.
Same applications were running fine with the old image (the one from 1 year ago or so)

Please, help!!!

Thank you very much!!
Warm regards!!
Ricardo

We haven’t done much testing with v 1.9.0 but ran into some issues too. Anvil has confirmed that v 1.10.0 is in the works and should be released soon. Until then, we’ve pinned the old version in our Dockerfile like this:

RUN pip install anvil-app-server==1.7.6

1 Like

Hi jon1
I hope you are fine!!!
Thank you very much for your answer!!!

Sorry, I’m not much versed in Docker.
What you mean is something like replace this line inside the Dockerfile an rebuild the image? or just run it from the command line (in which case, I will ask you to please explain a bit more what this will do, just for my heart to start beating again :smile: )

Because I’m running the server in a Docker container.

Thank you!!!
Warm regards
Ricardo

  1. Clear 100 seconds of your day, then watch the following.
    Docker in 100 Seconds - YouTube
  2. Clear 11 minutes of your day, then watch the following.
    Learn Docker in 7 Easy Steps - Full Beginner's Tutorial - YouTube
  3. ???
  4. Profit (w/ Docker)
1 Like

Hi Ricardo,

Edit your Dockerfile, replace the line that has:
RUN pip install anvil-app-server

with this:
RUN pip install anvil-app-server==1.7.6

Then rebuild your docker image with something like:
docker build .

1 Like

Hi Jon,
After 12 minutes and 40 seconds of focused studying, and having become a Docker Master :smile: , I think I understand.
I also located the Dockerfile in the project and also (I believe) the line I have to replace.
I will now gather the courage and proceed (that is to press Enter)

Thank you very much!!!
Warm regards
Ricardo

1 Like