tteck / Proxmox

Proxmox VE Helper-Scripts
https://Helper-Scripts.com
MIT License
11.68k stars 1.81k forks source link

UniFi Network Server LXC scripts end with mongodb-server-7.0.gpg error #3194

Closed evertmulder1982 closed 2 weeks ago

evertmulder1982 commented 2 weeks ago

Please verify that you have read and understood the guidelines.

yes

A clear and concise description of the issue.

When running the UniFi Network Server LXC script it exits after a while with the following error, ran the script multiple times on two different Proxmox hosts. Both hosts support AVX.

I haven't run into this problem with other machines I have deployed the last couple of days.

What settings are you currently utilizing?

Default Settings

Which Linux distribution are you employing?

Debian 12

If relevant, including screenshots or a code block can be helpful in clarifying the issue.

βœ“ Installed Eclipse Temurin JRE
 -gpg: no valid OpenPGP data found.

[ERROR] in line 32: exit code 0: while executing command gpg --dearmor > /usr/share/keyrings/mongodb-server-7.0.gpg

Please provide detailed steps to reproduce the issue.

Run the install script: bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/unifi.sh)"

Both advanced mode and default have the same result. When running in verbose no extra information is given except information above,

tteck commented 2 weeks ago

🏁 The script runs without any problems from this end.

   __  __      _ _____ 
  / / / /__   (_) __(_)
 / / / / __ \/ / /_/ / 
/ /_/ / / / / / __/ /  
\____/_/ /_/_/_/ /_/   

Using Advanced Settings
Using Distribution: debian
Using debian Version: 12
Using Container Type: 1
Using Root Password: Automatic Login
Container ID: 112
Using Hostname: unifi
Using Disk Size: 8
Allocated Cores: 2
Allocated RAM: 2048
Using Bridge: vmbr0
Using IP Address: dhcp
Using Gateway IP Address: Default
Using APT-Cacher IP Address: Default
Disable IPv6: yes
Using Interface MTU Size: Default
Using DNS Search Domain: Host
Using DNS Server IP Address: Host
Using MAC Address: AE:1A:60:07:B7:59
Using Vlan: Default
Enable Root SSH Access: no
Enable Verbose Mode: no
Creating a Unifi LXC using the above advanced settings
 βœ“ Using local for Template Storage.
 βœ“ Using thin-pool for Container Storage.
 βœ“ Updated LXC Template List
 βœ“ LXC Container 112 was successfully created.
 βœ“ Started LXC Container
 βœ“ Set up Container OS
 βœ“ Network Connected: 192.168.86.250 
 βœ“ IPv4 Internet Connected
 βœ— IPv6 Internet Not Connected
 βœ“ DNS Resolved github.com to 140.82.112.4
 βœ“ Updated Container OS
 βœ“ Installed Dependencies
 βœ“ Installed Eclipse Temurin JRE
 βœ“ Installed MongoDB
 βœ“ Installed UniFi Network Server
 βœ“ Customized Container
 βœ“ Cleaned
 βœ“ Completed Successfully!

Unifi should be reachable by going to the following URL.
         https://192.168.86.250:8443 
evertmulder1982 commented 2 weeks ago

I am sorry to say the fault was at my side, adguard blocked traffic to the the PGP keys for MongoDB. I will make a call at the adlist provider.