Homey Self-Hosted Server on Proxmox | Megathread

Many thanks for your help!

From the console inside of the Proxmox:

ls -lsa /root/.homey-shs/
drwxr-xr-x 8 root root 4096 Jan 25 09:57 .
4 drwx------ 5 root root 4096 Jan 25 12:55 ..
4 drwxr-xr-x 3 root root 4096 Jan 25 10:33 apps
4 drwxr-xr-x 2 root root 4096 Jan 25 09:57 insights
4 drwxr-xr-x 2 root root 4096 Jan 25 12:58 matter
4 drwxr-xr-x 3 root root 4096 Jan 25 09:56 matter-certs
4 drwxr-xr-x 2 root root 4096 Jan 25 10:33 rrd
4 drwxr-xr-x 2 root root 4096 Jan 25 12:58 sqlite
root@homey-shs:~#

docker inspect -f ‘{{ json .Mounts }}’ homey-shs | jq
[
{
“Type”: “bind”,
“Source”: “/root/.homey-shs”,
“Destination”: “/homey/user”,
“Mode”: “”,
“RW”: true,
“Propagation”: “rprivate”
}
]

Using the command “grep -n PasswordAuthentication /etc/ssh/sshd_config” gives mixed result:

Runnig shell from “heim” it gives:
root@heim:~# grep -n PasswordAuthentication /etc/ssh/sshd_config
57:PasswordAuthentication yes
79:# PasswordAuthentication. Depending on your PAM configuration,
83:# PAM authentication, then enable this but set PasswordAuthentication

From 100 (homey-shs), it gives:
57:#PasswordAuthentication yes
81:# PasswordAuthentication. Depending on your PAM configuration,
85:# PAM authentication, then enable this but set PasswordAuthentication

I could live with performing backup/restore from within the Proxmox installation, but can’t see the way to achive that.

heim is your proxmox node, so that’s why you see differences.

:warning: For SSH access to homey-shs you’ll need to make sure all of the actions are applied on homey-shs and not (by mistake) on the pve node: heim.

Enable SSH access via Password

on homey-shs on line 57 PasswordAuthentication yes exists, but as a comment, you’ll need to remove the # at the start of that line (using nano /etc/ssh/sshd_config), see also my previous instructions.

Than exit / save the file and restart sshd.

ssh root@192.168.1.100 should work than.

Backup / restore

For backup/restore in Proxmox there are other ways. Preferably using proxmox backup server (because of dedup and incremental backups), but you can also use the built in function from PVE. That’s good enough to start with.

Thanks so much for your help! I’ll absorb this and give it another try. My wife keeps saying that when you’re in your mid-60s, maybe it’s time to find a new hobby… :slight_smile:

No problem. The easiest way (for backup) would be the use of backup restore within PVE.

For the way you started, the backup method from the install guide, after SSH is enabled, you still need to create something that copies the files from that folder to another target (preferably not the container itself). So there’s more to it after SSH is fixed :wink:

Happy Sunday :sun:

1 Like