Redmine/folders: Difference between revisions

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
data folders stuff in subpage
fixes
Line 4: Line 4:
** '''<code>default/</code>''' -- configuration files for the "default" site
** '''<code>default/</code>''' -- configuration files for the "default" site
* '''<code>/usr/share/redmine</code>''' -- [[/app|application folder]]: stuff that doesn't change; sample config files
* '''<code>/usr/share/redmine</code>''' -- [[/app|application folder]]: stuff that doesn't change; sample config files
* '''<code>/var/cache/redmine/</code>
* '''<code>/var/cache/redmine/</code>''' - cache files
** '''<code>default/</code>''' -- cache files for the "default" site
** '''<code>default/</code>''' -- cache files for the "default" site
* '''<code>/var/lib/redmine/</code>''' -- [[/data|data folder]]: space used by Redmine for storing non-database data
* '''<code>/var/lib/redmine/</code>''' -- [[/data|data folder]]: space used by Redmine for storing non-database data
* '''<code>/var/log/redmine/</code>'''
* '''<code>/var/log/redmine/</code>'''
** '''<code>default/</code>''' -- log files for the "default" site
** '''<code>default/</code>''' -- log files for the "default" site
==Fixes==
* If uploads aren't working, make sure the uploads folders are owned by the site's user.
* If PDF generation isn't working, ensure that Redmine's cache folders are owned by the site's user/group:
** If your instance is "default", then:
cd /var/cache/redmine
chown -R {{arg|user}}:{{arg|group}} default/

Revision as of 16:39, 19 October 2019

Folders

Standard locations in Ubuntu:

  • /etc/redmine/ -- contains the configurations for each Redmine site on the server
    • default/ -- configuration files for the "default" site
  • /usr/share/redmine -- application folder: stuff that doesn't change; sample config files
  • /var/cache/redmine/ - cache files
    • default/ -- cache files for the "default" site
  • /var/lib/redmine/ -- data folder: space used by Redmine for storing non-database data
  • /var/log/redmine/
    • default/ -- log files for the "default" site

Fixes

  • If uploads aren't working, make sure the uploads folders are owned by the site's user.
  • If PDF generation isn't working, ensure that Redmine's cache folders are owned by the site's user/group:
    • If your instance is "default", then:
cd /var/cache/redmine
chown -R <user>:<group> default/