-
Notifications
You must be signed in to change notification settings - Fork 17
Installing Updates
Easy Updater on the Downloads page
To install updates you need to know where the data was installed to
This is usually 1 of 3 places
-
/var/www(Manual install) -
/home/www-data/php-scanner(easy installer) -
/home/www-data/PHP-Scanner-Server(git easy installer)
The debug console will tell you where it is for sure
You will need to be root to install updates on a typical installation
I will refer to your installed location as ./
If you run cd ./ ./ will actually become install location
You can delete everything in ./ except scans and config
- It may be necessary to rescan for scanners on the config page after installing updates, depending on the upgrade
To delete the stuff in ./ 1st run ls -1A ./ to get a list of what what files are present
For every line you see except scans and config run rm -rf ./$listItem where $listItem is the line in the output of the previous command
To be sure you removed all the old files run ls -1A ./ you should only see scans and config
Now you just need to copy the new files into ./, the new files are in a compressed archive on the Downloads page.