Migrate FileCloud container
Original Question or Issue:
We migrated the FileCloud application to the new container, but we were on S3, not local storage.
Environment:
- Product - FileCloud Server
- Version - 23.253
- Platform - Linux
Steps to Reproduce:
Upgrading the Docker Image from Version 22.x or older to Version 23.x | FileCloud Help
Error or Log Message:
Local Storage Path (Managed Storage) Writable OK /opt/fileclouddata
Defect or Enhancement Number:
Cause:
Do not set the Storage Path to /opt/fileclouddata if using S3 managed storage.
Resolution or Workaround:
Change the storage type from "local" to "amazon" in /var/www/html/config/cloudconfig.php
define("TONIDOCLOUD_STORAGE_IMPLEMENTATION", "amazons3");
Copy the file amazons3storageconfig-sample.php to amazons3storageconfig.php in the folder:
/var/www/html/config/
Modify ownership for amazons3storageconfig.php:
chown www-data:www-data /var/www/html/config/amazons3storageconfig.php
Notes: