Difference between revisions of "User:Woozle/Redmine/1"
(Created page with "==2017-12-27== This is my second attempt to migrate-and-upgrade a Redmine site. The first, I was never able to get working. This time I'm trying a different approach: inst...") |
(file location) |
||
Line 26: | Line 26: | ||
</pre> | </pre> | ||
...which I assume is the result of me saying "no", and not an actual error. | ...which I assume is the result of me saying "no", and not an actual error. | ||
+ | |||
+ | Nobody seemed to be forthcoming with information about where file uploads are stored (so they can be migrated to a new server), so I figured it out the hard way by looking in the "attachments" table for a filename, and then searching the hard drive for that file. Apparently they are stored in '''/var/lib/redmine/default/files'''. | ||
(Now I need to go migrate the data.) | (Now I need to go migrate the data.) |
Revision as of 23:57, 27 December 2017
2017-12-27
This is my second attempt to migrate-and-upgrade a Redmine site. The first, I was never able to get working. This time I'm trying a different approach: installing from the repository, which currently (Ubuntu 16.04) has the oldest version of Redmine that is still officially available, 3.2.1-2.
"apt install redmine" seems to assume you want sqlite for the back end, in that the packages it installs include redmine-sqlite, dbconfig-sqlite3, ruby-sqlite3, and sqlite3.
I want MySQL because I know how to work with that (and it's already installed), so I'm going to try "apt install redmine-mysql" first (which installs dbconfig-mysql, redmine-mysql, and ruby-mysql2 but also ruby-sqlite3 and sqlite3 anyway, who knows why).
The upgrade instructions on the official Redmine site assume you're installing from source, so I'm winging this...
During the install process, I get a text-dialog box which says:
The redmine/instances/default package must have a database installed and configured before it can be used. This can be optionally handled with dbconfig-common.
If you are an advanced database administrator and know that you want to perform this configuration manually, or if your database has already been installed and configured, you should refuse this option. Details on what needs to be done should most likely be provided in /usr/share/doc/redmine/instances/default.
Otherwise, you should probably choose this option.
Configure database for redmine/instances/default with dbconfig-common?
Given that I have a database I want it to use, I replied "no".
At the end of the installation, it gave me this message:
Errors were encountered while processing: redmine E: Sub-process /usr/bin/dpkg returned an error code (1)
...which I assume is the result of me saying "no", and not an actual error.
Nobody seemed to be forthcoming with information about where file uploads are stored (so they can be migrated to a new server), so I figured it out the hard way by looking in the "attachments" table for a filename, and then searching the hard drive for that file. Apparently they are stored in /var/lib/redmine/default/files.
(Now I need to go migrate the data.)