Nag Request on PMG when using mobile devices #393

Closed
opened 2026-02-04 18:24:53 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @GarryG on GitHub (Jan 27, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

post-pmg-install.sh

📂 What was the exact command used to execute the script?

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/misc/post-pmg-install.sh)"

📝 Provide a clear and concise description of the issue.

After running the patch to remove the nag request on PMG, only the desktop version is affected, the mobile client still shows the request e.g. when releasing a mail from quarantine.

I've created a new branch with an additional entry for the file used in the mobile client

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

No response

🔄 Steps to reproduce the issue.

Just click a link in the quarantine report while using a mobile device

Paste the full error output (if available).

Nag request is shown ...

🖼️ Additional context (optional).

Adding this line:

  echo "DPkg::Post-Invoke { \"dpkg -V pmg-gui | grep -q '/pmgmanagerlib-mobile\.js$'; if [ \$? -eq 1 ]; then { echo 'Removing subscription nag from Mobile UI...'; sed -i '/data\.status.*{/{s/\!//;s/active/NoMoreNagging/}' /usr/share/javascript/pmg-gui/js/pmgmanagerlib-mobile.js; }; fi\"; };" >/etc/apt/apt.conf.d/no-nag-script

and changing this line:

  apt --reinstall install proxmox-widget-toolkit pmg-gui &>/dev/null

fixed it for me.
Added a new branch "PMG-Mobile-NagRequest" with the above changes.

Originally created by @GarryG on GitHub (Jan 27, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? post-pmg-install.sh ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/misc/post-pmg-install.sh)" ### 📝 Provide a clear and concise description of the issue. After running the patch to remove the nag request on PMG, only the desktop version is affected, the mobile client still shows the request e.g. when releasing a mail from quarantine. I've created a new branch with an additional entry for the file used in the mobile client ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? _No response_ ### 🔄 Steps to reproduce the issue. Just click a link in the quarantine report while using a mobile device ### ❌ Paste the full error output (if available). Nag request is shown ... ### 🖼️ Additional context (optional). Adding this line: echo "DPkg::Post-Invoke { \"dpkg -V pmg-gui | grep -q '/pmgmanagerlib-mobile\.js$'; if [ \$? -eq 1 ]; then { echo 'Removing subscription nag from Mobile UI...'; sed -i '/data\.status.*{/{s/\!//;s/active/NoMoreNagging/}' /usr/share/javascript/pmg-gui/js/pmgmanagerlib-mobile.js; }; fi\"; };" >/etc/apt/apt.conf.d/no-nag-script and changing this line: apt --reinstall install proxmox-widget-toolkit pmg-gui &>/dev/null fixed it for me. Added a new branch "PMG-Mobile-NagRequest" with the above changes.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#393