I have performed a fresh install of RasPBX 21 and then set the timezone, changed root password and ran
raspbx-upgrade. This brought me to RasPBX 22. Once logged into FreePBX through the browser, when trying to run module upgrades, get the following error for each upgrade or new install:
If I then try to run the process again the following error appears:
unlink(/var/www/html/admin/modules/_cache/announcement-13.0.5.tgz.gpg): No such file or directory
I have checked the /var/www/html/admin/modules/cache folder exists
The second error can be fixed by deleting all the gpg files in this directory and then it goes back to the first
When I switch to user asterisk and then run gpg --verify /var/www/html/admin/modules/cache/music-13.0.18.tgz.gpg it returns a good siganture then says gpg: Note: This key has expired!
When running the date command the system retunrs the correct date
When running hwclock --systohc it returns hwclock: Cannot access the Hardware Clock via any known method.
Any hints you can provide would be greatly appreciated. I only started using FreePBX about a month ago, but have a few installs in VMware, in the cloud and on a few other servers. Itās my first time trying RasPBX and I cross-posted this question on that forum as well. Hopefully somebody can point me in the right direction here.
I just had the same problem no modules would update after new install of 6.12.65 so ran the command posted by Bryan then all modules except Framework upgraded. Framework failed:
File Integrity failed for /var/www/html/admin/modules/_cache/framework-12.0.76.3.tgz.gpg - aborting (Cause: Unable to download GPG key 3DDB2122FE6D84F7, or find /var/www/html/admin/libraries/BMO/3DDB2122FE6D84F7.key or /var/www/html/admin/libraries/BMO/FE6D84F7.key)
To be sure I ran the command again:
[root@localhost ~]# sudo -u asterisk gpg --refresh-keys --keyserver pool.sks-keyservers.net
gpg: refreshing 2 keys from hkp://pool.sks-keyservers.net
gpg: requesting key 69D2EAD9 from hkp server pool.sks-keyservers.net
gpg: requesting key B33B4659 from hkp server pool.sks-keyservers.net
gpg: key 69D2EAD9: āFreePBX Mirror 1 (Module Signing - 2014/2015) [email protected]ā not changed
gpg: key B33B4659: āFreePBX Module Signing (This is the master key to sign FreePBX Modules) [email protected]ā not changed
gpg: Total number processed: 2
gpg: unchanged: 2
As you can see nothing changed. All suggestions welcomed.
I have looked in /var/www/html/admin/libraries/BMO and the two files there are 86CE877469D2EAD9.key and 9F9169F4B33B4659.key. It seems to me that Framework is still expecting the old keys not the new ones. How can I resolve?
Perfect. Thanks for your help. Itās been a bit of a trial to sort this build out but now everything appears to be behaving normally so will get on with building the production system. Thanks again.
This can also happen if the machine had itās connection to the net interrupted (what I just found) but forcing the key download works perfectly - Thanks - as always an awesome community!
cd to /home/asterisk first to see if that helps. Iām not sure why the sudo isnāt setting the $HOME directory for the asterisk user to the right directory. Read through the rest of the message chain and make sure the rest of the issues identified arenāt messing with you.
Yes I checked this thread thoroughly but Iām still stuck at:
**
ākeyserver pgp.mit.edu --recv-key 9F9169F4B33B4659
gpg: WARNING: unsafe permissions on homedir '/home/asterisk/.gnupgā
gpg: key 9F9169F4B33B4659: āFreePBX Module Signing (This is the master key to sign FreePBX Modules) [email protected]ā not changed
gpg: Total number processed: 1
gpg: unchanged: 1**