Back

appwrite-usage failing to start

  • 0
  • Self Hosted
  • Databases
Cord
10 Oct, 2023, 10:08

I've just upgraded Appwrite 1.2.1 to 1.3.8 on the way to upgrading to Appwrite 1.4.4. I've completed the incremental upgrade from 1.2.1 to 1.3.0 and run the migration. I then upgraded through each of the 1.3.x minor releases although in retrospect, I could probably just have jumped straight to 1.3.8.

I have now restarted all the containers only to receive a "Gateway error" when visiting http://localhost/. On further investigation I can see the appwrite-usage container restarting every few seconds with the following error in the logs:

TypeScript
2023-10-10 11:00:36 InfluxDB not ready. Retrying connection (2)...
2023-10-10 11:00:37 InfluxDB not ready. Retrying connection (3)...
2023-10-10 11:00:38 InfluxDB not ready. Retrying connection (4)...
2023-10-10 11:00:39 InfluxDB not ready. Retrying connection (5)...
2023-10-10 11:00:40 InfluxDB not ready. Retrying connection (6)...
2023-10-10 11:00:41 InfluxDB not ready. Retrying connection (7)...
2023-10-10 11:00:42 InfluxDB not ready. Retrying connection (8)...
2023-10-10 11:00:43 InfluxDB not ready. Retrying connection (9)...
2023-10-10 11:00:44 InfluxDB not ready. Retrying connection (10)...
2023-10-10 11:00:44 InfluxDB database not ready yet```

The curious thing is that the influx container appears to be up and running normally - as are all the other Appwrite containers. Any thoughts?
TL;DR
I upgraded Appwrite from version 1.2.1 to 1.3.8 and now the appwrite-usage container keeps restarting with an error message about InfluxDB not being ready. The influx container seems to be running normally.
Cord
10 Oct, 2023, 10:12

Update: After stopping the appwrite-usage container, I now get an Appwrite login screen, but signing in with an email/password results in a "Server Error" message.

Cord
10 Oct, 2023, 10:13

Same result when visiting https://localhost/login

Cord
10 Oct, 2023, 10:20

Hmmmm.... Based on several other threads where containers were restarting, I reran the migration script. This appears to have resolved the issue!

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