Project

General

Profile

Redmine 1.1.4 Ubuntu 12.04 not taking attachments_storage_path variable

Added by Razor7 Razor7 over 11 years ago

Hi, I have installed redmine 1.1.4 from ppa https://launchpad.net/~ondrej/+archive/redmine?field.series_filter=precise, and created a config file in /etc/redmine/default/configuration.yml, changed the value of attachments_storage_path, restarted the whole box, but the attachments still get saved at default directory /var/lib/redmine/default/files/, did I something wrong?

Thanks in advise!

configuration.yml:

...
# attachments_storage_path: /var/redmine/files
# attachments_storage_path: D:/redmine/files
attachments_storage_path: /media/data/redmine_files
...

New storage path dir perms

root@lucas:/home/user# ls -la /media/data/
total 48
drwxr-xr-x 9 root     root      4096 sep 12 21:52 .
drwxr-xr-x 5 root     root      4096 sep 11 17:29 ..
drwxr-xr-x 2 www-data www-data  4096 sep 12 22:19 redmine_files

root@lucas:/home/user# ls -la /media/data/redmine_files/
total 180
drwxr-xr-x 2 www-data www-data   4096 sep 12 22:19 .
drwxr-xr-x 9 root     root       4096 sep 12 21:52 ..