This forum is no longer active. Please post your questions to our new community site

Forums Redmine

how to change path directory for \redmine\files

Subscribe to how to change path directory for \redmine\files 4 post(s), 2 voice(s)

 
Avatar nandoze 4 post(s)

Hi,

Is there any ways for us to change directory \redmine\files to (for example to other partition?)

this is because there is a file size constraint. any such settings to change?

pls help..thank you..

 
Avatar carlos Administrator 144 post(s)

Hi,

If you are under Linux or OS X you may move the directory to another location and create a symbolic link:

mv ${installdir}/apps/redmine/files /other/path/files
ln -s /other/path/files ${installdir}/apps/redmine/files

In Windows you may try to do something similar with “mklink” instead of ln:

mklink /d ${installdir}\apps\redmine\files c:\other\path\files

I hope it helps

 
Avatar nandoze 4 post(s)

thx carlos,

i’m using windows, all i need is just enter the command line that u provide? and only change the path?

as my redmine is on live production and currently been used actively i would like to verify AFTER i change the path will all my uploaded files in documents section will fetch all files from the new path files?

pls help to advice..

thank you

 
Avatar carlos Administrator 144 post(s)

Hi,

You may try to do it first on a clean installation in a machine with a similar environment. You should first move the folder to the new location and then use mklink to generate the symbolic link.

Depending on your Windows version this command may not work at all, you can find more info here

Forums Redmine