Skip to content
Back

[SOLVED] Fresh install 1.4.4 all functions not working after a server reboot

  • 0
  • Self Hosted
  • Functions
Drake
2 Oct, 2023, 20:17

docker compose up -d

TL;DR
After a server reboot, all functions were not working in a fresh install of version 1.4.4. A solution was found by adding 'restart: unless-stopped' in the docker compose YAML file. Additionally, the network name was changed from 'appwrite_runtimes' to 'runtimes', and the corresponding change was made in the .env file. After implementing these changes and restarting the Docker containers, all functions were working fine. Please note that the TL;DR does not include the last line about running 'docker compose up -d' as it is not relevant to the solution.
Drake
2 Oct, 2023, 20:17

same as always

iStornZ
2 Oct, 2023, 20:18

Ok so all is up now

iStornZ
2 Oct, 2023, 20:18

Will try to reboot

iStornZ
2 Oct, 2023, 20:20

Seems to be better !

iStornZ
2 Oct, 2023, 20:21

Working fine now !

iStornZ
2 Oct, 2023, 20:21

Thanks a lot @Steven , will try tomorrow better but after 2 restart all docker container status are up and functions working fine

iStornZ
2 Oct, 2023, 20:22

Don't know why I need this line on my side, this is very strange

Drake
2 Oct, 2023, 20:57

this tells docker to restart the service if it goes down (like during reboot)

iStornZ
3 Oct, 2023, 06:59

Last question, is it needed to change this in my .env file ?

TypeScript
-_APP_EXECUTOR_RUNTIME_NETWORK=appwrite_runtimes
+_APP_EXECUTOR_RUNTIME_NETWORK=runtimes

Because actually it's appwrite_runtimes

Binyamin
3 Oct, 2023, 13:00

Run

TypeScript
docker network ls
Binyamin
3 Oct, 2023, 13:00

To see all the available networks

Binyamin
3 Oct, 2023, 13:00

Second, you can try rename it back to see.

iStornZ
3 Oct, 2023, 18:00
TypeScript
NETWORK ID     NAME       DRIVER    SCOPE
14805e750b7b   appwrite   bridge    local
a3c47f94687c   bridge     bridge    local
a542afbefe22   gateway    bridge    local
0b18edaea913   host       host      local
c16239cb4a95   none       null      local
8c9da1d0e64d   runtimes   bridge    local
Binyamin
3 Oct, 2023, 18:00

Then it seems like your network is name runtimes and like it use to be appwrite_runtimes

iStornZ
3 Oct, 2023, 18:00

So I need to replace it ?

iStornZ
3 Oct, 2023, 18:01

Because it works with appwrite_runtimes, I don't understand if i need to change or not ^^

Binyamin
3 Oct, 2023, 18:01

If it works then, no

Binyamin
3 Oct, 2023, 18:01

Right now, this is the value

TypeScript
_APP_EXECUTOR_RUNTIME_NETWORK=appwrite_runtimes

?

Binyamin
3 Oct, 2023, 18:02

And it works after restart?

iStornZ
3 Oct, 2023, 18:02

Yep

TypeScript
_APP_EXECUTOR_HOST=http://appwrite-executor/v1
_APP_EXECUTOR_RUNTIME_NETWORK=appwrite_runtimes
Binyamin
3 Oct, 2023, 18:02

Then you good to go.

iStornZ
3 Oct, 2023, 18:03

Ok perfect, it works with restart: unless-stopped in the docker compose yaml

Drake
3 Oct, 2023, 18:13

[SOLVED] Fresh install 1.4.4 all functions not working after a server reboot

Drake
3 Oct, 2023, 18:13
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