Back

Upgrade error: 1.3.3 to 1.4.5

  • 0
  • Self Hosted
  • Functions
mandolfo
17 Oct, 2023, 08:04

Because the documentation says you can migrate from 0.2 to 1.0 but not from 0.2 to 2.0, I had installed a working 1.3.3 version with functions. I attempted to install 1.4.5 and recall an http error. Went ahead and migrated. I updated the main to include the context param per the docs. When building the function from the CLI, I get

TypeScript
[Error] Message: Docker Error: Unable to find image 'openruntimes/dart:v2-2.19' locally
docker: Error response from daemon: manifest for openruntimes/dart:v2-2.19 not found: manifest unknown: manifest unknown.
See 'docker run --help'.
[Error] File: /usr/local/app/http.php
[Error] Line: 603
[Error] Type: Exception
[Error] Message: Runtime not ready. Error Msg: []
Error: No such container: appwrite-executor-myprojectname-652e32f3452cc185a558-build
[Error] File: /usr/local/app/http.php
[Error] Line: 319

At some point I ran docker pull openruntimes/dart-2.19 (not exact image name).

  1. Is there an exception to successfully upgrade from minor versions to major ones.
  2. I do have a backup of the 1.3.3 data. 3). Thanks for any pointers.
TL;DR
User is experiencing an error while upgrading from version 1.3.3 to 1.4.5. They are unsure of how they initially upgraded. They mention deleting a non-working function and then deploying it again. They also mention not having version 2.19 in the ENV for Functions and encountering a Docker error. User is asking if there is an exception to upgrade from minor versions to major ones and if they can restore from a backup. Solution: 1) The user should ensure they have followed the correct upgrade path as mentioned in the documentation, as there may be limitations on upgrading from specific versions. 2) If the
xue
17 Oct, 2023, 08:25

[Error] Message: Docker Error: Unable to find image 'openruntimes/dart:v2-2.19' locally

xue
17 Oct, 2023, 08:25

2.2.19 is not in the list of images

mandolfo
17 Oct, 2023, 13:59

I don’t have 2.19 in the ENV for Functions. I have 2.18,3.0

darShan
17 Oct, 2023, 17:48

You jumped from 1.3.3 to 1.4.5?

mandolfo
26 Oct, 2023, 22:02

At this moment I don't recall how I upgraded to 1.4.x. Yesterday I took my time and went 1.4.2 > 1.4.3 > 1.4.4, etc up to 1.4.7 (ran migrations too) I do recall deleting a non working function in the console. Then with the CLI, deploying it again.

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