I ran at and waited around 5 min it hasn’t sent anything back. I tried again for a few min and nothing.
Not sure if this is right since I don’t understand most of the backend stuff, but I tried the tail -50 with the location from error and it says no file or directory.
So, it looks like that log file isn’t the errored one we’re looking for, the filename differs from your last screenshot showing the error
But then, the find command didn’t find the one exactly we’re looking for. Not sure if you’re doing it on another VPS, or if Docker automatically erased the contents because it failed to run with success
Switching server seemed to have the same effect. It worked at first but after I added Portainer and Traefik it slowed way down.
I am using DigitalOcean droplets setup through Wappler.
My initial project was to New York(NYC1) and the one I made during this thread to test things was set to Frankfurt(FRA1).
On DigitalOcean I see “Open incident Network Connectivity in the APAC region”, but that shouldn’t affect me.
The only things I am using are Wappler and DigitalOcean(managed through the Wappler resource manager). And I suspose NameCheap for my domain which is pointed at DigitalOcean.
I don’t know if the portainer and traefik could cause a problem but that is when I first notice the problem. Could I be setting them up wrong?
It might be worth noting that I had trouble setting up Traefik.
and couldn’t use the wildcard when setting up the domain like shown in the docs.
Could you maybe try to create a new server with the old Docker Machines setup in the Project Targets Settings? and deploy to it - see if it makes any difference?
I did 3 deploys on the this setup, just changing some text. All three took 40-60 secs.
Added Traefik and Portainer and set up the domain.
First deploy with the changed URL in project settings took 40-60 sec aswell.
This is where it usually breaks but I did two more deploys and both 40-60 sec as well.
So this way seems to work fine for me.
Not sure if there is a bug with the new system or if it’s just something with me. I would prefer to use the new system, so if there is any extra info or testing you need me to do let me know.
Can you zip and send in private message the docker_compose.yml files generated in the new resource manager and the old docker machine.
The resource manager ones are located in:
in your project folder: .wappler/providers/digitalocean/servers/server_name/wappler-compose/docker-compose.yml
Easy to be accessed from:
And the Docker Machine ones are in:
in your users folder: ~/.docker/machine/machines/server_name/wappler-compose/docker-compose.yml
Also add the project deploy target own docker-compose located in:
Ok found the problem… seems at Digital Ocean with the very small servers of $4, you have very little memory and when running and web server and Traefik more memory is required otherwise indeed npm install takes for ever due to very limited resources.
There is also no swap file defined. Having a swap file helps to bypass the memory problem.
If you follow this guide and define one, you should see much faster deployments: