NeDi Software Specific > Installation

Error update Nedi 1.6 to 1.7C

<< < (2/3) > >>

marco.mereu:
I have not found the solution yet, for now I have installed a Nedio 1.7C machine, and I'm doing the tests there.
but I have noticed that there is little help on this forum.

rickli:
It's rather slow indeed. I can't check that often as I'm really busy these days...

I've changed the extension from .tgz to .pkg with that Chrome doesn't decompress it automatically. If the file is around 4MB you're fine. As others pointed out before, make sure post_max and upload_file_size are well above those 4MB in php.ini. Also make sure the webserver can write all files in the nedi folder...

tristanbob:
I found out that my "upload_max_filesize" PHP setting was only 2M.  Here is how to increase this setting:

1) Visit https://nedi.yourdomain.com/Other-Info.php

2) Search for the PHP config file that you are using.  For me it was:

     "Loaded Configuration File   /etc/php/5.6/apache2/php.ini"

3) Edit that file, and change the "upload_max_filesize" setting.  Mine was set to 2M, so I changed it to 20M.

sudo nano /etc/php/5.6/apache2/php.ini
     ; Maximum allowed size for uploaded files.
     ; http://php.net/upload-max-filesize
     upload_max_filesize = 20M

4) Restart Apache

     sudo service apache2 restart

5) Verify the upload-max-filesize is changed to the correct size.

     https://nedi.yourdomain.com/Other-Info.php

6) You are ready to upgrade Nedi!

tristanbob:
Well I fixed my "upload_max_filesize" problem, but I just ran into another problem.  This is the output after I click the "Execute" button:


--- Code: ---Read nedi-1.7C.pkg

Backup msg.txt
Backup devtools.php
Backup iftools.php
Backup crontab
Backup nedi.conf
Backup seedlist
Backup agentlist

tar: trap.pl: Cannot open: File exists
tar: test.pl: Cannot open: File exists
tar: syslog.pl: Cannot open: File exists
tar: stati.pl: Cannot open: File exists
tar: seedlist: Cannot open: File exists
tar: nedi.pl: Cannot open: File exists
tar: nedi.conf: Cannot open: File exists
tar: moni.pl: Cannot open: File exists
tar: master.pl: Cannot open: File exists
tar: flowi.pl: Cannot open: File exists
tar: cusdi.pl: Cannot open: File exists
tar: agentlist: Cannot open: File exists
tar: Exiting with failure status due to previous errors
Errors Write nedi-1.7C.pkg
--- End code ---

I have seen the suggestions to make sure the web-server can write to the nedi directory, so I changed all permissions (see below) but this did not fix the problem.

tristanrhodes@nedi:/var/nedi$ sudo chown -R www-data:www-data *

Any ideas on how to get past this step?

Thanks!

rickli:
The pkg file is around 4MB? The nedi folder itself belongs to www-data as well?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version