I have configured redmine to use a specific instance, separate of the "default" one. It is named "koumbit" and has configuration in /etc/redmine/koumbit During the upgrade, it seems that the session configuration is not updated properly. I was getting an error similar to this one: http://www.redmine.org/boards/2/topics/11085 To work around the issue, I did the following steps: # chown redmine /etc/redmine/koumbit/session.yml # su -s /bin/sh redmine $ env X_DEBIAN_SITEID=koumbit RAILS_ENV=production rake generate_session_store (in /usr/share/redmine) $ env X_DEBIAN_SITEID=koumbit RAILS_ENV=production rake db:migrate (in /usr/share/redmine) == AddIndexOnChangesetsScmid: migrating ====================================== [...] $ exit # chown root /etc/redmine/koumbit/session.yml Once that was done, the errors went away. Note that the session.yml was readable and accessed by the web interface, so that wasn't the problem. It just wasn't generated properly (even though debconf prompted me to replace the file). Also note that I chown redmine and su redmine because I isolated my redmine instance using passenger user switching, so this could be "www-data" instead of "redmine" for you.
Comparing with backups, it seems the data we had in session.yml was like this: production: session_key: _redmine_koumbit value: [...] While the new generated value is: production: key: _redmine_koumbit value: [...] Could this be the issue? A.
It could, and shouldn't. From which version where you upgrading ? 0.9 -> 1.0.1 ? Regards, Jérémy.
0.9.1 -> 1.0.1
The way we operate now is like this: dpkg-statoverride --add redmine redmine 644 /usr/share/redmine/config/environment.rb chown :redmine /etc/redmine/koumbit/* chown redmine:redmine /var/log/redmine/koumbit/* A.
found 606982 1.4.4+dfsg1-2 thanks Even though we used a statoverride, the permissions were still wrong on the environment.rb file: apps:/etc/apt# ls -al /usr/share/redmine/config/environment.rb -rw-r--r-- 1 www-data root 4157 22 jan 12:14 /usr/share/redmine/config/environment.rb apps:/etc/apt# chown redmine:redmine /usr/share/redmine/config/environment.rb So it seems this is still a problem in the wheezy version. A.
What error do you see now ? Which user:group do you use to run redmine as ? The debian package sets permissions so that redmine can run as www-data, is this the case here ? Jérémy.
I run redmine as the "redmine" user, while the debian package sets it as "www-data", even though i do a dpkg-statoverride... A.
of all files and folders created at postinst time. (to www-data:www-data or root:www-data). Please have a look at /usr/share/doc/redmine/README.Debian.gz : MANUAL INSTALL / RUNNING AS UNPRIVILEGED USER WITHOUT COPYING Better ideas are welcome. Jérémy.
Quack, The conclusion of this bug was that running Redmine as a different users was needed. Currently the maintainer scripts enforce the www-data user and there is no way to configure this. For security reasons I think each instance should have its own user, but there's some work to make this happen in an automated way. Regards.
Laba diena, Noriu Jus informuoti apie šių metų pasikeitimą dėl atnaujintos visos Lietuvos įmonių bazės 2018 metų sausio vidurio. Visi juridiniai asmenys pateikti bazėje yra veikiantys, realiai vykdantys veiklą, turintys įdarbintų darbuotojų. Duomenys pagal Sodrą, Registrų centrą. Bazėje nurodoma ir apyvarta, darbuotojų atlyginimai, darbuotojų skaičius, transporto skaičius ir daug kitų duomenų, kuriuos matysite pavyzdyje. Duomenis galima filtruoti pagal veiklas, miestus ir kitus duomenis. Šią bazę verta turėti visoms įmonėms. Pateiksiu priežastis: 1) Kontaktai pateikti bazėje direktorių ir kitų atsakingų asmenų, didelė tikimybė Jums surasti naujų klientų, partnerių, tiekėjų, kai tiesiogiai bendrausite su direktoriais, komercijos vadovais. 2) Konkurentų analizavimas, tiekėjų atsirinkimas pagal Jums reikalingus kriterijus, galite atsifiltruoti pagal įmonės dydį, bazėje nurodoma kiek įmonės skolingos Sodrai. 3) Lengva, greita ir patogu dirbti su šia baze, elektroninius pašto adresus galite importuoti į elektroninių laiškų siuntimo programas ar sistemas iš kurių siunčiate elektroninius laiškus. Taip pat galite importuoti mobiliųjų telefonų numerius į SMS siuntimo programas. Išsirinkite iš "Veiklų sąrašo" veiklas kurių Jums reikia. ( Sąrašas prisegtas laiške excel faile ) Parašykite, kurias veiklas išsirinkote ir atsiųsime pavyzdį ir pasiūlymą su sąlygomis įmonių bazei įsigyti Pagarbiai, Tadas Giedraitis Tel. nr. +37067881041
Laba diena, Noriu Jus informuoti apie šių metų pasikeitimą dėl atnaujintos visos Lietuvos įmonių bazės 2018 metų sausio vidurio. Visi juridiniai asmenys pateikti bazėje yra veikiantys, realiai vykdantys veiklą, turintys įdarbintų darbuotojų. Duomenys pagal Sodrą, Registrų centrą. Bazėje nurodoma ir apyvarta, darbuotojų atlyginimai, darbuotojų skaičius, transporto skaičius ir daug kitų duomenų, kuriuos matysite pavyzdyje. Duomenis galima filtruoti pagal veiklas, miestus ir kitus duomenis. Šią bazę verta turėti visoms įmonėms. Pateiksiu priežastis: 1) Kontaktai pateikti bazėje direktorių ir kitų atsakingų asmenų, didelė tikimybė Jums surasti naujų klientų, partnerių, tiekėjų, kai tiesiogiai bendrausite su direktoriais, komercijos vadovais. 2) Konkurentų analizavimas, tiekėjų atsirinkimas pagal Jums reikalingus kriterijus, galite atsifiltruoti pagal įmonės dydį, bazėje nurodoma kiek įmonės skolingos Sodrai. 3) Lengva, greita ir patogu dirbti su šia baze, elektroninius pašto adresus galite importuoti į elektroninių laiškų siuntimo programas ar sistemas iš kurių siunčiate elektroninius laiškus. Taip pat galite importuoti mobiliųjų telefonų numerius į SMS siuntimo programas. Išsirinkite iš "Veiklų sąrašo" veiklas kurių Jums reikia. ( Sąrašas prisegtas laiške excel faile ) Parašykite, kurias veiklas išsirinkote ir atsiųsime pavyzdį ir pasiūlymą su sąlygomis įmonių bazei įsigyti Pagarbiai, Tadas Giedraitis Tel. nr. +37067881041
I am new to the Debian packaging of Redmine. I see that the last communication on this bug was from 8 years ago. I have not personally tried to run multiple Redmine instances, but README.Debian indicates it should be possible. https://salsa.debian.org/ruby-team/redmine/-/blob/master/debian/README.Debian? ref_type=heads Can anyone confirm if this bug is still a problem with the current version of Redmine?
Antoine, I sent a response to this bug a while back, but I realized I didn’t specifically direct it to the submitted, so you might not have seen it if you aren’t subscribed to the bug. My previous email is reproduced below. I am new to the Debian packaging of Redmine. I see that the last communication on this bug was from 8 years ago. I have not personally tried to run multiple Redmine instances, but README.Debian indicates it should be possible. https://salsa.debian.org/ruby-team/redmine/-/blob/master/debian/README.Debian? ref_type=heads Can anyone confirm if this bug is still a problem with the current version of Redmine?
Antoine, I sent a response to this bug a while back, but I realized I didn’t specifically direct it to the submitted, so you might not have seen it if you aren’t subscribed to the bug. My previous email is reproduced below. I am new to the Debian packaging of Redmine. I see that the last communication on this bug was from 8 years ago. I have not personally tried to run multiple Redmine instances, but README.Debian indicates it should be possible. https://salsa.debian.org/ruby-team/redmine/-/blob/master/debian/README.Debian? ref_type=heads Can anyone confirm if this bug is still a problem with the current version of Redmine?
Antoine, Thank you for your quick response. I am going to close this bug for now, but if someone else has this issue they should feel free to reopen it or to create a new bug report.