Hi all, I have recently installed the free CentOS VM version of Pandora and have run the Network Recon with no issues. Yesterday I noticed a warning saying there is an notification of an available update. Clicking it takes me to the Update manager which says there is a console update to version 151102. I believe I am running Version 6.0 on CentOS 6.7. When I click "Update to the latest version", I get an error "Failed to copy files". It looks like it could be a permissions issue, though I get the same issue when I try it on the server console. I have a Windows background, so I may be missing something obvious! I have tried Yum update, and hit an error with Percona, which I have emailed them about (out of date URL perhaps), but not yet heard back. Although the update manager was an enterprise feature in earlier installations, I believe it is now supposed to work in the free version (especially as it now warns that is is out of date on the toolbar). Please let me know if you are having the same issue, or require further information. Many thanks in advance for any help. Geoff.
Pandora 6.0 Update
geoffrey-langdon · 1 feb 2016, 20:43 · 7 mensajes · 66 visitas
- Inicio del debate
BTW. The URL Update manager is set to: https://artica.es/pandoraupdate6/server.php This link appears not to work manually.
I tried v5 a few years back, it had the same problem, it's a shame to see the same issue still unresolved and unanswered.
Hello, It might be a permissions related issue. Please check if apache has rw permissions on config.php file, -rw------- 1 apache root 393 Apr 11 10:51 /var/www/html/pandora_console/include/config.php Same for the /var/www/html/pandora_console/attachment/ directory, drwxr-xr-x 5 apache apache 4096 Apr 11 12:10 attachment Kind regards, Kevin.
i solved the Problem: look at: tail /var/www/html/pandora_console/pandora_console.log [16-Nov-2016 09:08:42] PHP Warning: unlink(/var/www/html/pandora_console/attachment/downloads/pandora_console): No such file or directory in /var/www/html/pandora_console/include/functions_update_manager.php on line 60 create that missing directory and update works: [root@pandora downloads]# pwd /var/www/html/pandora_console/attachment/downloads [root@pandora downloads]# mkdir pandora_console [root@pandora downloads]# chown apache:apache pandora_console/ But there is an crazy second bug: after update, the directory disappeared, so you have to recreate it for every update
High, just add:
@mkdir($full_path);before:
ob_start();
In the: "function update_manager_starting_update()" Function within the following Path: /var/www/html/pandora_console/include/functions_update_manager.php It seems that the Updater does not create the pandora_console folder. The tar command just exctracts the files into "unix" and thats why it fails. Greets
This answer works perfect to fix the problem. Thanks @Cengiz.Pirasa
High, just add:
@mkdir($full_path);before: In the: "function update_manager_starting_update()" Function within the following Path: /var/www/html/pandora_console/include/functions_update_manager.php It seems that the Updater does not create the pandora_console folder. The tar command just exctracts the files into "unix" and thats why it fails. Greets
Entra en tu cuenta para publicar.
