Error on multi_tenancy require when using 'rails runner'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
redmine (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I'm migrating a Redmine installation from Ubuntu 14.04 with a custom Redmine setup (directly from svn repository) to Ubuntu 16.04 trying to use the pre-packaged redmine. The sparse documentation of the Debian/Ubuntu multi tenancy/instance feature has given me some headache on the journey but inspecting the source to decipher what should go where while learning a little ruby I've succeeded getting the web application running.
However something basic in the initialization of the rails environment fails when trying to use "rails runner" for calling into the application from the command line.
My specific use is calling Repository.
# /usr/share/
/usr/share/
from /var/lib/
from /usr/lib/
from /usr/lib/
from /usr/lib/
from (eval):19:in `<class:
from /usr/share/
from /usr/share/
from /usr/share/
from /usr/share/
from /usr/lib/
from /usr/lib/
from /usr/lib/
from /usr/lib/
from /usr/lib/
from /usr/lib/
from /usr/lib/
from /usr/share/
from /usr/share/
I'm not well versed in Ruby nor Rails but it seems like there is something in the multi tenancy setup that has not being setup correctly for "rails runner" to be able to function correctly.
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
# apt-cache policy redmine
redmine:
Installed: 3.2.1-2
Candidate: 3.2.1-2
Version table:
*** 3.2.1-2 500
500 http://
500 http://
100 /var/lib/