On Fri, Dec 2, 2022, at 10:34 PM, Mister Ed wrote:
> 
> chown: unknown user backuppc
> chown: unknown user/group backuppc:backuppc

These are coming from some error in lines 13 & 14 of 
https://github.com/tiredofit/docker-backuppc/blob/a7c13963af017ac57b8f830d3796dbee6dc97440/install/etc/cont-init.d/20-backuppc#L13

It looks to me like BACKUPPC_UUID and BACKUPPC_GUID might not be defined in the 
environment. Maybe the file referenced at 
https://github.com/tiredofit/docker-backuppc/blob/a7c13963af017ac57b8f830d3796dbee6dc97440/install/etc/cont-init.d/20-backuppc#L3
 has moved? I see a file at 
https://github.com/tiredofit/docker-backuppc/blob/a7c13963af017ac57b8f830d3796dbee6dc97440/install/assets/defaults/20-backuppc
 that looks like it's supposed to be doing this job.

> tar: can't open 'BackupPC-4.4.0.tar.gz': No such file or directory
> /etc/cont-init.d/20-backuppc: line 33: cd: /usr/src/BackupPC-4.4.0: No such 
> file or directory
> s6-applyuidgid: fatal: unable to exec /usr/local/BackupPC/bin/BackupPC: No 
> such file or directory

I think these errors might be happening because his dockerfile downloads the 
archive to /usr/src/, and then immediately deletes everything in /usr/src after 
downloading it:

curl -o /usr/src/BackupPC-$BACKUPPC_VERSION.tar.gz ...
...followed a few lines later by,
rm -rf ... /usr/src/*

Lines 104 through 118 in 
https://github.com/tiredofit/docker-backuppc/blob/7a7b978fbd807b745dd79d7d16eaeccbca4f7607/Dockerfile#L104

I'm not a Docker guy though, so there could be some magic pixie dust happening 
here I don't know about, but it looks broken to me, and if it's broken for you, 
then it's probably broken for everyone else trying to use this on unraid also.

The maintainer seems active, I think the next step should be to open an issue 
on his repo and let him sort it out.

_</email>_
Rob Sheldon
Contract software developer, devops, security, technical lead


_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/

Reply via email to