-
-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
- Server OS: Debian 13.1
- On which OS you run cmdeploy (setup machine): Debian 13.1
- chatmail/relay version: c568052
Expected behavior
Successful first deploy of chatmail relay following READ.me on the repo.
Actual behavior
scripts/cmdeploy run stops with error on 'files.rsync' step.
Logs
On the setup machine the error is the following:
--> Starting operation: files.rsync (/root/relay/www/build/, /var/www/html, flags=['-avz'])
The `files.rsync` operation is in alpha!
[chat.domainremoved.com] Command socket/SSH error: OSError('rsync: [receiver] failed to set permissions on "/var/www/html/.collage-info.png.s7xjrE": Bad address (14)\nrsync: [receiver] failed to set permissions on "/var/www/html/.collage-privacy.png.adB9GV": Bad address (14)\nrsync: [receiver] failed to set permissions on "/var/www/html/.collage-top.png.395yfj": Bad address (14)\nrsync: [receiver] failed to set permissions on "/var/www/html/.index.html.h9oQv2": Bad address (14)\nrsync: [receiver] failed to set permissions on "/var/www/html/.info.html.56grSM": Bad address (14)\nrsync: [receiver] failed to set permissions on "/var/www/html/.logo.svg.boY2re": Bad address (14)\nrsync: [receiver] failed to set permissions on "/var/www/html/.main.css.y0xbUk": Bad address (14)\nrsync: [receiver] failed to set permissions on "/var/www/html/.privacy.html.U2eFtX": Bad address (14)\nrsync: [receiver] failed to set permissions on "/var/www/html/.qr-chatmail-invite-chat.domainremoved.com.png.yFOvOH": Bad address (14)\nrsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1338) [sender=3.4.1]',)
[chat.domainremoved.com] Error: executed 0 commands
--> Disconnecting from hosts...
--> pyinfra error: No hosts remaining!
Deploy failedTaking a look on the server, files don't exist:
root@chatrelay-server-debian-1:~# ls -lah /var/www/html/
total 232K
drwxr-xr-x 3 root root 4.0K Sep 24 20:58 .
drwxr-xr-x 3 root root 4.0K Sep 24 20:59 ..
-rw------- 1 root root 51K Sep 24 22:23 collage-info.png
-rw------- 1 root root 67K Sep 24 22:23 collage-privacy.png
-rw------- 1 root root 60K Sep 24 22:23 collage-top.png
-rw------- 1 root root 1.7K Sep 24 22:23 index.html
-rw------- 1 root root 2.6K Sep 24 22:23 info.html
-rw------- 1 root root 4.5K Sep 24 22:23 logo.svg
-rw------- 1 root root 1.4K Sep 24 22:23 main.css
-rw------- 1 root root 9.7K Sep 24 22:23 privacy.html
-rw------- 1 root root 4.9K Sep 24 22:23 qr-chatmail-invite-chat.domainremoved.com.png
drwxr-xr-x 3 root root 4.0K Sep 24 22:13 .well-knownThat's all.
Just as a suggetion, it could be nice to add a dependency list for the setup machine and for the server, to avoid "try and error" cycle (openssh-server, git, python3, python3-venv, rsync, python3-dev, gcc, free port 53, ...).
Metadata
Metadata
Assignees
Labels
No labels