Proxmox icon indicating copy to clipboard operation
Proxmox copied to clipboard

After an update to V4.3 -> Internet check fail - Can't update without internet

Open happytechca opened this issue 9 months ago • 4 comments

After a script update to V4.3 I had the following error message:

Internet check fail - Can't update without internet

Image

My internet connection was fine and a manual apt update worked. I looked through the recent commits and found a change in the update.conf file (new config option):

EXE_FOR_INTERNET_CHECK="ping"

Without it, the script fails the CHECK_INTERNET () function and exit Not a big deal, but I figured I'd post here in case someone else run into the same issue.

If you cannot get the script to work after an update, please add this new config option to the following file: /etc/ultimate-updater/update.conf

Thanks

happytechca avatar Mar 02 '25 01:03 happytechca

Its a feature not a bug 😀

You don't use the new config file with ping/curl support.

Best would be, to use the new config file for best usage 😎

BassT23 avatar Mar 02 '25 07:03 BassT23

The config file is not auto migrated with the new EXE_FOR_INTERNET_CHECK option on script update. IMO it's fine this way, as user config files should be left untouched. However, maybe you should consider using ping as a fallback method when no EXE_FOR_INTERNET_CHECK is present in the config?

happytechca avatar Mar 02 '25 14:03 happytechca

Will make it in further release.

During update the script asked you, to use the new config file. If you press Enter, the new file os used and the old one is backed up.

BassT23 avatar Mar 02 '25 15:03 BassT23

Thanks!

happytechca avatar Mar 02 '25 15:03 happytechca