Change Storage Folder


#1

Hi,
I am a new user of cockpitcms.
I would like to ask, is it possible to move “Storage” folder to outside the cockpits folder (ie, on (docroot)/storage) ?
Thank you.


#2

Think should be possible, try to add to your config.yaml something like:

paths:
  "#storage": /var/www/your-storage-folder

#3

try putting this to your settings:

          finder.path : /new_storage
          assets.path : /new_storage/assets
          media.path : /new_storage/media

#4

thank you @pauloamgomes and @serjoscha87 for your response.
I try the @pauloamgomes method. And it works!