Back

Error while upgrading 1.4.14 -> 1.5.0

  • 0
  • Self Hosted
YahalomS
4 Jun, 2024, 09:12

I am trying , again , to upgrade my server (currently in production in version 1.4.9) to 1.5.7

I am following a very strict roadmap, Upgraded to 1.4.14 and migrated - all good. When upgrading from 1.4.14-1.5.0:

  1. It is running and pulling all images
  2. downloading all sorts of things (~500 MB)
  3. removing some containers (displayed in red in the console)
  4. starting many containers (again, in red) and then , I get this msg.....

Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "usage": executable file not found in $PATH: unknown

I guess it suggest something is mission in my $PATH (Ubuntu 22.04.3 LTS) by I could not figure out what and why.

And then it stops.

I dont know if it means the update failed. Please help.

Update: I have gone and ran the migration after completed successfully, I ran

docker compose up -d

and it returned somehow same error

Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "usage": executable file not found in $PATH: unknown

TL;DR
Error occurred during the upgrade from version 1.4.14 to 1.5.0 with a missing entry point for "appwrite-worker-usage." Developer successfully upgraded to version 1.5.7 where everything works fine. Still faces the same issue when upgrading the server from 1.4.9 to 1.5.7; encountering a path error in the $PATH environment (Ubuntu 22.04.3 LTS). Solution: Ensure the necessary executable files are in the correct $PATH or specify the full path to the executable.
YahalomS
4 Jun, 2024, 09:47

It seems that something in the "appwrite-worker-usage" was causing the problem, the entrypoint for this container was "usage" that was not found!

I have gone and upgraded from 1.5.0 to 1.5.7 and it seems that in 1.5.7 everything is working

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more