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

Backup doesn't work with disabled IPv6 #5833

Open
5 tasks done
RenHoekNL opened this issue Apr 8, 2024 · 0 comments
Open
5 tasks done

Backup doesn't work with disabled IPv6 #5833

RenHoekNL opened this issue Apr 8, 2024 · 0 comments
Labels

Comments

@RenHoekNL
Copy link

Contribution guidelines

I've found a bug and checked that ...

  • ... I understand that not following the below instructions will result in immediate closure and/or deletion of my issue.
  • ... I have understood that this bug report is dedicated for bugs, and not for support-related inquiries.
  • ... I have understood that answers are voluntary and community-driven, and not commercial support.
  • ... I have verified that my issue has not been already answered in the past. I also checked previous issues.

Description

Mailcow backup tries to access '/proc/sys/net/ipv6/conf/all/disable_ipv6' on a Linux server that has IPv6 disabled, leading to an error.

Logs:

I've disabled IPv6 on my Linux server. I followed the guide (https://docs.mailcow.email/post_installation/firststeps-disable_ipv6/) to fix up Mailcow to run solely IPv4. This all works.

However when I want to do a backup:
MAILCOW_BACKUP_LOCATION=/backup/mailcow THREADS=4 /opt/mailcow-dockerized/helper-scripts/backup_and_restore.sh backup all

I get the following error:
Using SQL image mariadb:10.5, starting...
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: open /proc/sys/net/ipv6/conf/all/disable_ipv6: no such file or directory: unknown.
ERRO[0000] error waiting for container: context canceled

Steps to reproduce:

1) Disable IPv6 via the ipv6.disable=1 boot flag
2) Configure Mailcow to run without IPv6 with the guide
3) Try to make a backup

Which branch are you using?

master

Which architecture are you using?

x86

Operating System:

Ubuntu 22.04.4 LTS

Server/VM specifications:

not applicable

Is Apparmor, SELinux or similar active?

not applicable

Virtualization technology:

not applicable

Docker version:

not applicable

docker-compose version or docker compose version:

not applicable

mailcow version:

latest

Reverse proxy:

not applicable

Logs of git diff:

not applicable

Logs of iptables -L -vn:

not applicable

Logs of ip6tables -L -vn:

not applicable

Logs of iptables -L -vn -t nat:

not applicable

Logs of ip6tables -L -vn -t nat:

not applicable

DNS check:

not applicable
@RenHoekNL RenHoekNL added the bug label Apr 8, 2024
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

1 participant