Skip to content

Running two Instances I cannot load web interface of second Image #99

@TheMetMan

Description

@TheMetMan

I have had to run two instances of BackupPC on my server running RHEL9 so I can use two different destinations for the backup. This is because I am running out of space on one raid setup.
I have created two configurations:

podman run -itd \
    --name podman_backup \
    --hostname podman-backup.fsoft.nnet \
    --net=podman-lan \
    --ip=10.6.10.21 \
    --restart=always \
    --publish 8080:8080 \
    --cap-add=IPC_LOCK  \
    --cap-add=NET_RAW  \
    --volume /var/podman_data/BackupPC/etc/backuppc:/etc/backuppc \
    --volume /var/podman_data/BackupPC/home/backuppc:/home/backuppc \
    --volume /home/backuppc/ToBackup/backuppc-backups:/data/backuppc \
    --env AUTH_METHOD=file \
    --env BACKUPPC_WEB_USER=backuppc \
    --env BACKUPPC_WEB_PASSWD=fsoft31? \
    --env SMTP_HOST=mail.fsoft.nnet \
    --env SMTP_MAIL_DOMAIN=fsoft.nnet \
    adferrand/backuppc 

and:

podman run -itd \
    --name podman_backup_antares \
    --hostname podman-backup-antares.fsoft.nnet \
    --net=podman-lan \
    --ip=10.6.10.22 \
    --restart=always \
    --publish 8081:8081 \
    --cap-add=IPC_LOCK  \
    --cap-add=NET_RAW  \
    --volume /var/podman_data/BackupPC_Antares/etc/backuppc:/etc/backuppc \
    --volume /var/podman_data/BackupPC/home/backuppc:/home/backuppc \
    --volume /export/storage/backuppc_backups_antares/:/data/backuppc \
    --env AUTH_METHOD=file \
    --env BACKUPPC_WEB_USER=backuppc \
    --env BACKUPPC_WEB_PASSWD=fsoft31? \
    --env SMTP_HOST=mail.fsoft.nnet \
    --env SMTP_MAIL_DOMAIN=fsoft.nnet \
    adferrand/backuppc 

The BackupPC server is running on the second one and backing up, I can see this from the logs.
I can access the Web Interface for the first one like so:
http://podman-backup.fsoft.nnet:8080/BackupPC_Admin
and the other one I get an error of This site can’t be reached:
http://podman-backup-antares.fsoft.nnet:8081/BackupPC_Admin
I have even turned the Firewall off on the server, but I get the same error.
There is nothing else using port 8081
I can ping the podman cointainer and it is found like so:
ping podman-backup-antares.fsoft.nnet
I cannot find any log to tell me why this is happening.
In the Podman Container the /var/log/lighttpd/error.log file has this:
2024-08-25 11:45:33: (server.c.1551) server started (lighttpd/1.4.61)
It is the only file in there, there is no access file.
Where should I look?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions