Repair FileWave Server Permissions and Ownership
What
A FileWave Server migration, manual file move, or backup restore can leave server files with the wrong owner or permissions. Services may then fail to start, or the database may become inaccessible.
When to use it
Run the built-in repair command after a migration or restore when logs or service behavior point to incorrect FileWave Server ownership or permissions. Do not use it as a substitute for diagnosing unrelated startup failures.
Repair current FileWave Server releases
FileWave Server 15.5.0 and later include the following management command. Run it in an SSH or Terminal session:
sudo /usr/local/filewave/python/bin/python /usr/local/filewave/django/manage.pyc set_fwxserver_permissions_and_ownership
After the command completes successfully, restart the FileWave Server services:
sudo fwcontrol server restart
Use the legacy scripts below only for a FileWave Server older than 15.5.0. They are retained for migration or recovery work involving unsupported releases.
Pre FileWave 15.5.0
Select the script that matches the server platform and FileWave release. FileWave 15.5.0 and later should use the built-in command above instead.
When you run this script you must stop the FileWave Server so that none of the files are locked. This is easily done with "sudo fwcontrol server stop" to make sure it is stopped.
You can copy the link to the file from below and do "wget https://kb.filewave.com/attachments/283" for instance for the Debian script and then just unzip it. "unzip ./283" to unzip the script.
Fix Permissions FileWave 15+ (Debian) | Fix Permissions FileWave 14+ (macOS/CentOS)
If you are on an older version of FileWave use of these instead:
Fix Permissions v13.1.5+ | Fix Permissions v13.1.4 or older
You can use wget to download the correct script and then rename it to anything.zip if it didn't get a .zip name and unzip it. You will need to give the script 755 permissions to run it. You will run the command to the path to the script. For the example it is in the current folder we are in so we use ./ before the name.
sudo chmod 755 ./fixfwxserverPermissions15.sh
Run the selected script from its downloaded location:
sudo ./fixfwxserverPermissions15Debian.sh
After the script completes, restart the FileWave Server:
fwcontrol server restart
No comments to display
No comments to display