Back

[SOLVED] Restore.sh not working

  • 1
  • Self Hosted
D5
2 Jan, 2024, 22:39

http: invalid host header

TL;DR
Issue: The restore.sh script is not working. Solution: Reinstall everything and install the latest version of Docker. This resolved the issue for the person who posted the solution.
D5
2 Jan, 2024, 22:39

The question is, whats a host header

D5
2 Jan, 2024, 22:40

I'm rebooting everything. let's see if that does anything

ideclon
2 Jan, 2024, 22:41

When you make a HTTP request, one of the request headers is Host:. That tells the server which of the (potentially many) sites it hosts the request is for

D5
2 Jan, 2024, 22:43

I see. The VM got stuck in loading drivers now. This is 100% bugged. I'm deleting the entire VM and creting it again

ideclon
2 Jan, 2024, 22:44

How did you install Docker?

D5
2 Jan, 2024, 22:44

When you install ubuntu, there's one step that asks you if you want to have docker. Selected that.

D5
2 Jan, 2024, 22:45

Maybe the issue is that way it installs an old docker version or something?

D5
2 Jan, 2024, 22:45

Will try installing manually

ideclon
2 Jan, 2024, 22:45

Yeah, in general don't install the default version of Docker any package manager gives you

Drake
2 Jan, 2024, 22:46

i did a quick search around and it sounds like a problem with docker. upgrading may solve it

ideclon
2 Jan, 2024, 22:46

Yeah, seems it's a known issue with the current version of Docker shipping in Ubuntu 22.04

D5
2 Jan, 2024, 22:47

I deleted everything 🀣

D5
2 Jan, 2024, 22:47

So no more issues

ideclon
2 Jan, 2024, 22:47

You should, in general, install from here https://docs.docker.com/engine/install/

D5
2 Jan, 2024, 22:48

Yes, will do that. I do that always, but this time I said, if ubuntu installs it for me, why overcomplicating? Definitely a bad choice 😬

ideclon
2 Jan, 2024, 22:48

Because it's going to be an old version

ideclon
2 Jan, 2024, 22:49

I used to do that too

ideclon
3 Jan, 2024, 00:51

@D5 did you get this working?

D5
3 Jan, 2024, 00:53

It's 2pm for me, and Ubuntu got stuck installing in the VM. I Installed it again and I will let it install overnight. Will try tomorrow if the installation went well πŸ˜…

ideclon
3 Jan, 2024, 01:02

I assume you mean 2am? πŸ˜€

D5
3 Jan, 2024, 09:10

Yes, sorry πŸ˜†

D5
3 Jan, 2024, 11:18

Testing right now. Seems it's working fine

D5
3 Jan, 2024, 12:55

Works. Solution: reinstalling everything and installing latest docker version. Thanks @ideclon and @Steven

D5
3 Jan, 2024, 12:55

[SOLVED] Restore.sh not working

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