Upload files to a large filesystem storage on Omeka S 3.0

I found the similar topic https://forum.omeka.org/t/save-uploaded-files-in-a-large-drive/12590 and attempted the settings from Configuring File Storage, but in Omeka S(we are on v 3.0), there is no config.ini file in application/config/ folder. So I added following storage setting in omeka-s/config/local.config.php

    'storage' => [
        'adapter' => 'Omeka_Storage_Adapter',
        'adapterOptions' => [
            'localDir' => '/filesystem',
            'webDir' => 'http://[url]/files',
        ],

‘/filesystem’ is our large filesystem directory.
The uploaded files are still stored at /var/www/html/omeka-s/files/, not /filesystem/ directory.

I have added following directives in the Appache config file, so I am able to get and view the files that were migrated to /filesystem/ .

  <Directory "/filesystem">
        AllowOverride All
        Require all granted
  </Directory>

  <IfModule alias_module>
        Alias "/filesystem" "/files"
  </IfModule>

But not able to upload and save new files to ‘/filesystem’.

Any help on this would be much appreciated.

You can’t use Omeka Classic configuration examples for S. The configurations are totally different, not just in terms of what the file is called but all the details as well.

The equivalent kind of setup for S looks like this:

    'file_store' => [
        'local' => [
            'base_path' => '/local/path/to/files',
            'base_uri' => 'http://absolute.url/to/files',
        ],
    ],

Thanks for your help! It works now.

This topic was automatically closed 250 days after the last reply. New replies are no longer allowed.