du_setup icon indicating copy to clipboard operation
du_setup copied to clipboard

ipv6 only vps debian12 setup ends here always, it just get back to bash promt

Open GuinnessDublin opened this issue 3 months ago • 14 comments

ℹ Applying new Fail2Ban configuration... ℹ Enabling and restarting Fail2Ban to apply new rules... Synchronizing state of fail2ban.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable fail2ban ✓ Fail2Ban is active with the new configuration. Status |- Number of jail: 2 `- Jail list: sshd, ufw-probes Show instructions for adding IPs later? [y/N]:

▓▓▓ SSH Hardening ▓▓▓ ═════════════════════════════════════════════════════════════════ ℹ Using SSH service: ssh.service ℹ Backing up original SSH config... ⚠ SSH Key Authentication Required for Next Steps! Test SSH access from a SEPARATE terminal now.

GuinnessDublin avatar Aug 12 '26 13:08 GuinnessDublin

I had tested this on IPv6 only VPS on Scaleway and it worked fine. I will check again and try to reproduce and fix whatever is breaking this.

buildplan avatar Aug 12 '26 16:08 buildplan

Hello,

I did try it two times, and it stopped same place in both times. No errors: And i just copy pasted excatly what there was.

On Wed, Aug 12, 2026 at 7:25 PM buildplan @.***> wrote:

buildplan left a comment (buildplan/du_setup#123) https://github.com/buildplan/du_setup/issues/123#issuecomment-5269510671

I had tested this on IPv6 only VPS on Scaleway and it worked fine. I will check again and try to reproduce and fix whatever is breaking this.

— Reply to this email directly, view it on GitHub https://github.com/buildplan/du_setup/issues/123?email_source=notifications&email_token=AFA6MBNXS66W6WLCVBFGJDL5JSK77A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMRWHE2TCMBWG4Y2M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-5269510671, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFA6MBL5RJQR46LZIQ6P7HL5JSK77AVCNFSNUABGKJSXA33TNF2G64TZHMYTAMBZGA4TKNJYG45US43TOVSTWNJRGMYTCNRSGI4TBILWAI . Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/AFA6MBMC3QOY2EXI5G35HST5JSK77A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMRWHE2TCMBWG4Y2M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG and Android https://github.com/notifications/mobile/android/AFA6MBN5W7DBUIPGUL4TNET5JSK77A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMRWHE2TCMBWG4Y2M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA. Download it today! You are receiving this because you authored the thread.Message ID: @.***>

GuinnessDublin avatar Aug 12 '26 16:08 GuinnessDublin

If you need some logs etc, just ask.

GuinnessDublin avatar Aug 12 '26 19:08 GuinnessDublin

Would you mind checking this verion in fix_ipv6 branch - i think i know what happened and have tried to fix it but i dont have access to ipv6 only vps right now. You can pull this script and run to see if this works for you...

wget https://raw.githubusercontent.com/buildplan/du_setup/refs/heads/fix_ipv6/du_setup.sh

buildplan avatar Aug 12 '26 19:08 buildplan

Could I also ask which provider did you test on? I maybe able to get a VPS from the same provider to test.

buildplan avatar Aug 12 '26 19:08 buildplan

Leap status : Normal

▓▓▓ Secure DNS Configuration (DNS-over-TLS) ▓▓▓ ═════════════════════════════════════════════════════════════════ Configure secure, encrypted DNS (Quad9 + Cloudflare fallback) and disable local tracking protocols? [y/N]: y ⚠ systemd-resolved is not installed on this system. Install and enable systemd-resolved to handle encrypted DNS? [y/N]: y (Reading database ... 46025 files and directories currently installed.) Removing openresolv (3.12.0-3) ... Selecting previously unselected package libnss-myhostname:amd64. (Reading database ... 46009 files and directories currently installed.) Preparing to unpack .../libnss-myhostname_252.39-1~deb12u2_amd64.deb ... Unpacking libnss-myhostname:amd64 (252.39-1~deb12u2) ... Selecting previously unselected package systemd-resolved. Preparing to unpack .../systemd-resolved_252.39-1~deb12u2_amd64.deb ... Unpacking systemd-resolved (252.39-1~deb12u2) ... Selecting previously unselected package libnss-resolve:amd64. Preparing to unpack .../libnss-resolve_252.39-1~deb12u2_amd64.deb ... Unpacking libnss-resolve:amd64 (252.39-1~deb12u2) ... Setting up libnss-myhostname:amd64 (252.39-1~deb12u2) ... Setting up systemd-resolved (252.39-1~deb12u2) ...

Configuration file '/etc/systemd/resolved.conf' ==> File on system created by you or by a script. ==> File also in package provided by package maintainer. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** resolved.conf (Y/I/N/O/D/Z) [default=N] ? Converting /etc/resolv.conf to a symlink to /run/systemd/resolve/stub-resolv.conf... mv: cannot move '/etc/resolv.conf' to '/etc/.resolv.conf.systemd-resolved.bak': Operation not permitted Cannot take a backup of /etc/resolv.conf. ln: failed to create symbolic link '/etc/resolv.conf': Operation not permitted Cannot install symlink from /etc/resolv.conf to ../run/systemd/resolve/stub-resolv.conf Creating group 'systemd-resolve' with GID 996. Creating user 'systemd-resolve' (systemd Resolver) with UID 996 and GID 996. Created symlink /etc/systemd/system/dbus-org.freedesktop.resolve1.service → /lib/systemd/system/systemd-resolved.service. Created symlink /etc/systemd/system/sysinit.target.wants/systemd-resolved.service → /lib/systemd/system/systemd-resolved.service. Setting up libnss-resolve:amd64 (252.39-1~deb12u2) ... Processing triggers for dbus (1.14.10-1~deb12u1) ... Processing triggers for libc-bin (2.36-9+deb12u14) ... ℹ Backing up current resolved config (if exists)... ℹ Applying secure DNS settings (Quad9 with Cloudflare Fallback)... ℹ Enabling and restarting systemd-resolved... ℹ Symlinking /etc/resolv.conf to the secure stub resolver... rm: cannot remove '/etc/resolv.conf': Operation not permitted

GuinnessDublin avatar Aug 12 '26 19:08 GuinnessDublin

it went much longer. this was no vanilla installed debian 12, it was running and two times before tryied du_setup.sh when got that error.

GuinnessDublin avatar Aug 12 '26 19:08 GuinnessDublin

https://panel.nolimitcloud.eu/billing/checkout_page.php?checkout=85 its this one

GuinnessDublin avatar Aug 12 '26 19:08 GuinnessDublin

Ah i think this is because VPS provider might not be allowing to change the DNS settings - i will push the update to same branch with a fall-back to deal with this.

buildplan avatar Aug 12 '26 19:08 buildplan

Would you mind testing one more time remove the old version and pull it again

wget https://raw.githubusercontent.com/buildplan/du_setup/refs/heads/fix_ipv6/du_setup.sh && chmod +x du_setup.sh

buildplan avatar Aug 12 '26 20:08 buildplan

https://panel.nolimitcloud.eu/billing/checkout_page.php?checkout=85 its this one

couldn't find the ipv6 only servers on nolimitcloud website.

buildplan avatar Aug 12 '26 20:08 buildplan

did test this last one. It works ok now. Thanks

And again this was not vanilla install. did try it in same machine every time.

GuinnessDublin avatar Aug 13 '26 13:08 GuinnessDublin

Thanks for this. It's good that you tested on same machine that also confirms that script is working as it was intended to be idempotent and this confirms that it can handle repeated runs on same system and also now the error is sorted.

buildplan avatar Aug 13 '26 13:08 buildplan

Hello,

Yes no problem. Same machine with same problems before, but now it went all OK.

On Thu, Aug 13, 2026 at 4:42 PM buildplan @.***> wrote:

buildplan left a comment (buildplan/du_setup#123) https://github.com/buildplan/du_setup/issues/123#issuecomment-5281217545

Thanks for this. It's good that you tested on same machine that also confirms that script is working as it was intended to be idempotent and this confirms that it can handle repeated runs on same system and also now the error is sorted.

— Reply to this email directly, view it on GitHub https://github.com/buildplan/du_setup/issues/123?email_source=notifications&email_token=AFA6MBKDDT4EQU4APCMOJPL5JXATDA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMRYGEZDCNZVGQ22M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-5281217545, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFA6MBPDC65DGKHPB3RJVRD5JXATDAVCNFSNUABGKJSXA33TNF2G64TZHMYTAMBZGA4TKNJYG45US43TOVSTWNJRGMYTCNRSGI4TBILWAI . Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/AFA6MBPBCO2TFGS76IM2XY35JXATDA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMRYGEZDCNZVGQ22M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG and Android https://github.com/notifications/mobile/android/AFA6MBO5MNXZJ7MCUEO7R6L5JXATDA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMRYGEZDCNZVGQ22M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA. Download it today! You are receiving this because you authored the thread.Message ID: @.***>

GuinnessDublin avatar Aug 13 '26 14:08 GuinnessDublin