Trying to upgrade FreePBX gives error

I am trying to upgrade FreePBX 2.8 and I keep getting this error message.

I have to say upfront that it is not the standard installation.

It is based on nginx rather than Apache but both the nginx and fcgi are running as the asterisk user and the /opt/freepbx directory user and group are asterisk. 775 - all the way down.

It can download the file core-2.8.0.4.tgz, but can’t proceed further. Is it because the file is created as 664? That would suggest that the nginx or the code executing the command is running as the ‘other’ user, but that is unlikely.

Are the files supposed to xxx.tgz or xxx.tar.gz

ps aux | grep nginx
root      3623  0.0  0.1   4188   620 ?        Ss   00:57   0:00 nginx: master process /usr/local/nginx/sbin/nginx -c /etc/nginx/nginx.conf
asterisk  3624  0.0  0.3   4772  1676 ?        S    00:57   0:00 nginx: worker process
root     18057  0.0  0.1   1960   552 pts/3    S+   18:50   0:00 grep nginx

I have the same problem and it’s weird as my asterisk, nginx and fcgi are running as Asterisk user.
Any hint? :slight_smile: