#Installing HA container on ubuntu

1 messages · Page 1 of 1 (latest)

vale nymph
#

I'm threading this so the main channel stays clean.

#

I cant help you with that. I recommend using SFTP or SCP with FileZIlla or WinSCP.

#

So just use port 22 and same data you use for SSH.

#

You might have to enable root login.

#

Why not? Show me what you see

broken girderBOT
#

Please use imgur or other image sharing web sites, and share the link here.

Image posting is blocked in most channels to discourage people from sharing text as images. Sharing text as images assumes that everybody sees the world as you do, which isn't the case. Some people are colour blind, or have visual impairment that means they can't make sense of an image of text.

vale nymph
#

You're not root then.

#

But did you use port 22?

#

If you are root you have all permissions. Something is strange here. Please stop your ftp server and try connecting again on port 22 as user root.

#

Technically you don't need root if you put your stuff in /home/user, you can just log in as that user.

#

Make sure you got the dot files/directories too.

#

I was thinking of .storage specifically but yes.

#

It's possible that you get into a memory limit and the kernel kills processes. It's called OOM. That should be in the syslog though.

#

About that machine. You might want to look into proxmox VE too.

#

No.

#

It should start exactly like it was before.

#

You could run HAOS in a VM and your game servers in another for example.

#

Yes. Start it to create the config directory, then stop it and move the contents there.

#

Can you share your docker compose file?

#

Gotta go in 5 minutes.

#

Then that will not work. There are some placeholders you have to edit.

#

No.

#

Just edit the compose file and run docker compose up again.

#

I'd make it look something like this

version: '3'
services:
  homeassistant:
    container_name: homeassistant
    image: "ghcr.io/home-assistant/home-assistant:stable"
    volumes:
      - ./config:/config
      - /etc/localtime:/etc/localtime:ro
      - /run/dbus:/run/dbus:ro
    restart: unless-stopped
    privileged: true
    network_mode: host
#

This will create a config directory in the same path where the compose file is. Drag the content of your backup from the picture in there.

#

You can stop it with docker compose down.

#

You can name the left side (./config right now) what you want. I recommend something lower case without spaces. ./ha_config for example.