What this lsmod | grep kvm
returns?
You something that limit your server
Do running ulimit -s unlimited
and then docker compose up -d
makes any different?
i saw that some process and storage limit is enabled by default in the server console and i disabled that after i resetted the server before
now after ulimit -s unlimited
and docker compose up -d
still the same error:
Okay, I think a good approach to tackle it would be to try to run the docker-compose.yml
services one by one to find the problematic one.
docker compose run -d mariadb
docker compose run -d redis
docker compose run -d influxdb
docker compose run -d telegraf
docker compose run -d appwrite
docker compose run -d traefik
docker compose run -d appwrite-executor
docker compose run -d appwrite-realtime
docker compose run -d appwrite-worker-audits
docker compose run -d appwrite-worker-webhooks
docker compose run -d appwrite-worker-deletes
docker compose run -d appwrite-worker-databases
docker compose run -d appwrite-worker-builds
docker compose run -d appwrite-worker-certificates
docker compose run -d appwrite-worker-functions
docker compose run -d appwrite-worker-mails
docker compose run -d appwrite-worker-messaging
docker compose run -d appwrite-maintenance
docker compose run -d appwrite-usage
docker compose run -d appwrite-schedule
In this order
@Binyamin those are the containers that fail when trying to run them: audits, certificates, mails, messaging, maintenance, usage, schedule
Any one of them product the same error above?
yes, all with the same error. Its Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 2, stdout: , stderr: runtime/cgo: pthread_create failed: Resource temporarily unavailable
and the audits one has produced Error response from daemon: failed to start shim: start failed: runtime: failed to create new OS thread (have 2 already; errno=11)
runtime: may need to increase max user processes (ulimit -u)
It's interesting did you installed go
?
Let's try one last thing
Reset the server and try all the steps in this link
https://discord.com/channels/564160730845151244/1097119647867863090/1097199871624228934
Including the docker installation via the .sh
file
it really could be an OS level system limit like this error says. maybe you have some non-standard ubuntu installation
I agree
i will do that! I am probably not able to do thay today but ill complete these steps tomorrow and then give a feedback here. Thanks so far for your help guys, you are awesome!
But it's seems a bit wired that clean Ubuntu 22 will produce this kind of errors
yeah i also think that. It feels like that the provider i choose is pretty bad π
i cannot really tell if its clean because i cannot upload an iso myself. there is a predefined list of operating systems
What company it is?
strato.de
Most of the time they will give you near-clean installation
their web panel is also quite cursed. In their docs there are infos about how to setup firewall rules but there is no option to do that when logging in. I cannot even restart or stop the server. To do that i have to switch to "Recovery Mode" and back to "Production mode". That seems like a pretty bad admin console to meπ
I would recommend you either Linode or Digital ocean or Vultr All of them have servers in Germany.
i will check them out, thanks! Strato is quite cheap. That should have been a warning to me before. Currently i pay 6β¬/6$ per month for 4 CPU cores, 8GB, 300GB
It's pretty cheap, But maybe it means that you're part of bigger system and 100% isolated VPS.
Ok guys thank you so much for your work, i really appreciate it! I will try to reset the server and install appwrite manually tomorrow and post the results here. If its not working it has to be a OS error
Recommended threads
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...
- Migrate from cloud to localhost
Hello everyone. I need to migrate my test project from cloud to localhost, however it seems that this is possible only if a self-hosted appwrite instance it's h...