Difference between revisions of "Redmine/folders"
< Redmine
Jump to navigation
Jump to search
(data folders stuff in subpage) |
|||
(One intermediate revision 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>''' -- [[/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. | ||
+ | ** 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 serverdefault/
-- configuration files for the "default" site
/usr/share/redmine
-- application folder: stuff that doesn't change; sample config files/var/cache/redmine/
- cache filesdefault/
-- 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/