redmine_ckeditor icon indicating copy to clipboard operation
redmine_ckeditor copied to clipboard

Change path for image files

Open ericLemanissier opened this issue 6 years ago • 2 comments

quoting @hriekehof from https://github.com/a-ono/redmine_ckeditor/issues/174:

Hi,

i installed ckeditor 1.0.20 in redmine 2.6 and it runs fine. Besides i had trouble with the image uploads using rich. Somehow the editor wants to save the files in redmine/public/system which is non existent in a normal redmine installation as far as i know. If i create that folder with the correct rights everything seems to work.

From the configuration point of view i think its better when the files from the rich plugin are also stored in the /files folder as the other files from redmine are stored too.

I wasn't able to finde the place where i can configure the folder which rich uses to store the uploaded images ? Can anyone help ?

@a-ono This issue is absolutely critical. the current path used to store images (~/redmine/public/system/rich/rich_files/rich_files/) is not referenced anywhere, and is not backed up. The consequence is that all these files are lost when doing a redmine upgrade when docker is used (eg https://github.com/sameersbn/docker-redmine). the default storage should be inside ~/redmine/data, or at least it should be configurable

ericLemanissier avatar Feb 13 '19 13:02 ericLemanissier

We've lost a lot of images because of this. Since they were only ever saved inside the container and not in a persistent volume, we can't restore them from backups either.

rasschaert avatar Mar 05 '20 13:03 rasschaert