Set FileCloud URL via CMD
Original Question or Issue:
I'm not able to set the FileCloud URL in the FileCloud Admin Portal > Settings > Server.
Environment:
- Product - FileCloud Server
- Version - Any
- Platform - Windows
Steps to Reproduce:
SSL online tools don't recognize the SSL certificate for the URL.
Error or Log Message:
Can't save the FileCloud URL with the HTTPS protocol in the Admin Portal.
Defect or Enhancement Number:
Cause:
SSL certificates are valid only within the company network.
Resolution or Workaround:
Please follow the steps below to set the server URL via command line:
-
Download PHP script settingutil.php file from the link below:
-
Create the folder below in your FileCloud server:
<Drive_Letter>:\xampp\htdocs\resources\tools\misc
-
Upload the PHP script to the above directory.
-
Open the Windows command line interface and run the commands below:
cd <Drive_Letter>:\xampp\htdocs\resources\tools\misc\
<Drive_Letter>:\xampp\php\php.exe settingutil.php --set=TONIDOCLOUD_SERVER_URL --value="https://myFileCloudUrl.domain"
-
Verify that the URL was updated in the FileCloud Admin Portal > Settings > Server.
Notes: