Error deploying with Docker

#bracingHerself

Aha ok I was confused by the logs indeed but those seems indeed from the development target.

So just to sum up the local development target is all working fine you can deploy the local server there with the database?

Maybe try to get this working first before creating a remote target.

Also it might be easier to just start fresh on a new project and get just things working one at the time.

Because if for example the base docker setup is not running well you might get many issues and vague errors and mess up a lot of project settings unnecessary while the error might be simple to solve initially.

So just try ste by step to get things done.

@George

Logs from Dev and DO produce the same error output.

What doesn’t make sense here is that, despite this, Dev deploys fine, DO produces the error.

I have started clean projects x 4, but will try again fresh… following @Hyperbytes videos while doing so.

And here my friends and family think I’m smart… so much for that… lol.

Thanks again for your input.

~Elle

Hmm, sorry, will check that out, not had that reported

No worries. I have headphones… when they’re charged. :slight_smile:

I’m going to restart new project - take it from the top - while following your videos, and report the outcome. Appreciate you!

~Elle

Yes unfortunately docker can be sometimes pain to setup, normally it should go fine automatically but on some pc’s additional settings might be required.

And the problem is as long is it doesn’t run all fine you will be getting those weird errors

@George

I sure do wish I could figure out those “additional settings”

Sad face.

~Elle

Did switching off the use buildkit setting helped to solve the remote deploy error? Did you found that setting in the docker desktop settings?

@George

I did not. StackOverflow post showed a CLI command that I tried which didn’t work.

Then I got sidetracked with the log errors.

Do you have advice to turn off?

~Elle

Just checked, volume is a lillle lower than normal but still very clear.
Any problems, tell me, i can reauthor them easily if you feel there is a need, it they are poor for you then they probably are for everyone so need re-done

1 Like

Hi Elle,

Seems like docker is just not working to you and you lost a lot unnecessary time to get it going.

Maybe a much more easier route was the one you got started with the lightweight development with the Wappler local server and SQLite and then for production combined with the railway app service see:

And definitely also review:

1 Like

@Hyperbytes

I enjoyed the first video and the first ~9:00 minutes of the second. Confirming each step as directed along the way.

I was saddened when I was confronted with the same error on publish to DO:

This message persists, no matter what tutorial, instruction or video I refer to:
"listing workers for Build: failed to list workers: Unavailable: connection error: desc = “transport: failed to write client preface: write |1: file al
ready closed”

There must be an answer!

I was so filled with hope for Wappler just a few days ago.

I actually do quite well resolving complex problems; when I have an understanding of what the problem is. My frustration comes from my own lack of understanding of the issue. As well, needless to say it seems worrisome that seasoned Wappler’s are having the same frustration in trying to help me understand.

I appreciate your time and efforts nevertheless.

~Elle

At this point I think it might be worth trying an older Docker version on the DigitalOcean VPS.

Has anyone here deployed a DigitalOcean VPS through Wappler since the creation of this topic and verified no errors ocurr?

My workaround would be manually creating a DigitalOcean VPS with Ubuntu 22.04 and installing the docker.io package which is maintained by Ubuntu instead of Docker

1 Like

Which video are you following? I tested the deployments to DO - just created a new server on Digital Ocean using the Resource Manager, then set up a new target using it and then deployed my project. Everything looks fine in my tests:

@Teodor I belive she was following my series on " Using the Resource Manager to create local and cloud droplets and databases with the aid of docker" on the wappler channel.

1 Like

Well i believe i’ve done the same.

  1. Setup a server on DO in resource manager
  2. Setup a remote target using this server
  3. Deploy

Everything works correctly here.

@Teodor @Hyperbytes

Correct; the video series referenced earlier in this thread.

That’s awesome, Teodor. Happy to hear you got it working!

~Elle

Hi Elle,

If you are doing exactly the same thing and creating a brand new server in resource manager and then assign it to the remote target of your project but still the deploy of that target fails, can you make a short video of doing that? Maybe we can see then what is missing?

1 Like

I had some problem with deploying to Docker on Digital Ocean. I did do all the right things according to any video and instructions. The problem I find out, was that the firewall on my network stopped some of the traffic from the pc and to Digital Ocean and back again. I dont know wy it did that, but an update on the firewall and what it stopped fixed the problem.
Just a small tips.

And by the way have you tried some of the other provider like Hetzner or Linode.

2 Likes

@Hyperbytes @tehowden @kfawcett

So… after about a week of frustration, I resolved this in about 30 minutes by changing from DO to Heroku.

At least I can deploy the app on Heroku and still take advantage of the DO db clusters that I’m fairly familiar with already.

Thank you so much for everyone that posted in attempt to get me to a resolution. It’s appreciated.

~Elle