Hi there,
On Sun, 13 Aug 2023, Jan Stransky wrote:
On Sun, 23 Jul 2023, G.W. Haywood via BackupPC-users wrote:
On Sun, 23 Jul 2023, Jan Stransky wrote:
I started to notice following error. Does any one have any ideas? It
seems to be more related to configure.pl genrerator, rather than the
actual configuration.
Can't use string ("1") as a HASH ref while "strict refs" in use at
configure.pl line 742.
...
What version of BackupPC are you using, and was it installed from a
package or did you install it manually for example from some tarball?
If the latter, please tell us what it was and where it came from.
I am actually not aware of doing any modifications. I run the BackupPC
in as a docker image, and the only thing I did was rebuild the image so
the underlaying system was updated. The BPC was running just fine by
that point. Of course, I cannot exclude a file corruption.
I am using this, but up-to-date Alpine (3.18):
https://github.com/adferrand/docker-backuppc.git
BackupPC is 4.4.0, BackupPC_XS 0.62 and Rsunc_bpc is 3.1.3.0
First off I've never run BackupPC on anything except bare metal. As
far as I can remember I haven't even tried to run it in a VM let alone
using Docker. You're using somebody else's docker installation and I
can imagine that things could go wrong which have nothing to do with
BackupPC itself. By using this form of installation you might be
making it easy to install BackupPC if it works, but I don't think it's
necessarily going to make it easy to troubleshoot things if it doesn't.
Looking at 'Dockerfile' in .../adferrand/docker-backuppc.git makes me
ask more questions than it answers for me.
You said "I started to notice" which says to me you've been using some
procedure on at least a semi-regular basis which did *not* produce the
error, and then, from some point onward, it did. If that's the case
please can you explain this procedure for us?
The configure.pl script is usually run only to install BackupPC, and I
wouldn't expect that anyone would run it routinely. For example it
doesn't even exist on my BackupPC server, as it's my usual practice to
deleted the source trees after running an installation. The script is
able to recognize some command-line arguments; presumably in your case
the script is being run by something from the github package which you
mentioned. Do you know how and with what arguments configure.pl ran?
Have you read the script's 'man' page and/or tried to run it yourself?
Did the script leave you with a log file? If so, it might help if we
can see it.
Please also show us the few lines around line 742 in your configure.pl
script. I'm not sure we can know what's there without duplicating
your setup, and that would be prohibitively time-consuming - unless
someone on the list happens to be using the same docker image and OS.
Did you check that BackupPC was not running before configure.pl ran?
--
73,
Ged.
_______________________________________________
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/