Proxmox

[FIX] perl: warning: Setting locale failed

dpkg-reconfigure locales

 

en_US.UTF-8 UTF-8

sr_RS UTF-8

sr_RS@latin UTF-8

[FIX] Resize local disk

lvremove /dev/pve/data
lvresize -l +100%FREE /dev/pve/root
resize2fs /dev/mapper/pve-root

[FIX] Disable Subscription PopUp

1. Change to working directory

2. Make a backup

3. Edit the file

4. Locate the following code
(Use ctrl+w in nano and search for “No valid subscription”)

5. Replace “Ext.Msg.show” with “void”

6. Restart the Proxmox web service (also be sure to clear your browser cache, depending on the browser you may need to open a new tab or restart the browser)

You can quickly check if the change has been made:

[FEATURE]

Installation

The installation is done via the CLI utility. Run the following commands on the PVE node serving the Web UI:

wget https://raw.githubusercontent.com/Weilbyte/PVEDiscordDark/master/PVEDiscordDark.sh
bash PVEDiscordDark.sh install

Or this oneliner

bash <(curl -s https://raw.githubusercontent.com/Weilbyte/PVEDiscordDark/master/PVEDiscordDark.sh ) install

Uninstallation

To uninstall the theme, simply run the utility with the uninstall command.

[FIX] PVE update failed(Failed to fetch 401 Unauthorized) (TASK ERROR: command ‘apt-get update’ failed: exit code 100)

Update problem

1 Change working directory

cd /etc/apt/sources.list.d

2 Backup the file we will modify

cp pve-enterprise.list pve-enterprise.list.backup

3 Modify the file

nano pve-enterprise.list

4 Add “#” at the beginning of “https://enterprise.proxmox.com/debian/pve%20buster%20pve-enterprise”

5 Now we can try to update again