Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors and incomplete instalation on unraid #13

Open
robsheldon opened this issue Dec 5, 2022 · 4 comments
Open

Errors and incomplete instalation on unraid #13

robsheldon opened this issue Dec 5, 2022 · 4 comments
Labels

Comments

@robsheldon
Copy link

Summary

Hi, an unraid user has been trying to get some assistance with their installation on backuppc-users. It looks like the dockerfile may have a few problems. During installation, the user is getting the following error messages:

chown: unknown user backuppc
chown: unknown user/group backuppc:backuppc
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

The mailing list thread can be browsed here: https://sourceforge.net/p/backuppc/mailman/backuppc-users/thread/CAARZCx8wnHTQ0wk9mU5Wn2xM%3DvuEQO%2BBXxqjQFD8kEdPUVvgDA%40mail.gmail.com/#msg37743113

I'm not a Docker guy, so I may be wrong, but I think that lines 13 &14 of /etc/cont-init.d/20-backuppc might be referencing a file that has moved? The file looks like it might be at /install/assets/defaults/20-backuppc now?

And the tar error might be happening because lines 104 through 118 of the dockerfile are downloading the archive to /usr/src/, and then deleting the contents of /usr/src/ before anything else is able to unpack the archive?

Thanks for making backuppc available to unraid users.

@robsheldon robsheldon added the bug label Dec 5, 2022
@tiredofit
Copy link
Owner

Hi Rob,
Indeed it looks as I've introduced a bug here with deleting the archive in the past few days.
I'll have this patched up in the AM.

@robsheldon
Copy link
Author

Wonderful, I'll let the list know, thanks.

@tiredofit
Copy link
Owner

Hi Rob,
Thanks for acting as an intermediary. I'm going to skip on joining the list - but the user who has having issues should be able to pull a new version of the image and all should be working normally again. I've just released 6.0.0 7e1dbc1 which modernizes the image. Sometimes when I do these sorts of things I end up optimizing things more than I should and in this case, I ended up deleting the installation file for BackupPC prematurely. That has been addressed.

Let's hope we can get a new BackupPC user in our midst. I've been happily using since 2.x in 2004 and use daily at a handful of sites.

@robsheldon
Copy link
Author

Nice! Thank you. I've forwarded this on to the user and the mailing list.

And yeah, I've been using BackupPC about as long. One of my all-time favorite pieces of software, and today I happen to be extracting some mail data from an old BackupPC server.

I'll let you know if the user replies with an update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants