Difference between revisions of "Redmine/folders"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
(more complete list; improved formatting)
 
 
(2 intermediate revisions by the same user not shown)
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>''' -- 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>default/</code>''' -- data for "default" site
 
*** ''<code>config/</code>'' -- link, points to <code>/etc/redmine/default</code>
 
*** '''<code>files/</code>''' -- where uploads are stored (for "default" site)
 
*** ''<code>log/</code>'' -- link to <code>/var/log/redmine/default</code>
 
*** ''<code>tmp/</code>'' -- link to <code>/var/cache/redmine/default</code>
 
 
* '''<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.
 +
** My install ''repeatedly'' reverts ownership to <code>www-data</code> instead of the virtual domain that runs Redmine. [[User:Woozle|Woozle]] ([[User talk:Woozle|talk]]) 22:54, 2 January 2020 (UTC)
 +
* 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/

Latest revision as of 22:54, 2 January 2020

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.
    • My install repeatedly reverts ownership to www-data instead of the virtual domain that runs Redmine. Woozle (talk) 22:54, 2 January 2020 (UTC)
  • 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/