Bug#779273: please help testing redmine 3.0~20140825-6 from unstable
On Tue, May 05, 2015 at 06:47:29PM +0200, Adrien Dorsaz wrote: Hello, Well the upgrade from 3.0~20140825-6 to 3.0~20140825-7 was made without any issue. To try upgrade from 3.0~20140825-5 to 3.0~20140825-7, I've uninstalled redmine, restored psql database and /usr/share/redmine directory and installed again the 3.0~20140825-5 version from stable. At this step, I have a regular redmine 3.0-20140825-5 instance with 2 plugins installed (see my first post). As I've installed these plugins using bundle (as www-data user, but I think it doesn't matter), I have a bundle configuration under /usr/share/redmine/.bundle/config with the following configuration: --- BUNDLE_WITHOUT: development:test BUNDLE_PATH: vendor/bundle BUNDLE_DISABLE_SHARED_GEMS: '1' Right now, I've the following issue if I run directly `apt upgrade` : [root:/usr/share/redmine] # apt upgrade Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait Calcul de la mise à jour... Fait 0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour. 1 partiellement installés ou enlevés. Après cette opération, 0 o d'espace disque supplémentaires seront utilisés. Souhaitez-vous continuer ? [O/n] Paramétrage de redmine (3.0~20140825-7) ... Could not find gem 'rails (~ 4.1.4) ruby' in the gems available on this machine. dpkg: erreur de traitement du paquet redmine (--configure) : le sous-processus script post-installation installé a retourné une erreur de sortie d'état 7 Des erreurs ont été rencontrées pendant l'exécution : redmine E: Sub-process /usr/bin/dpkg returned an error code (1) So I've read your postinst file and I've found the origin of this error: when I run `bundle --local` directly from /usr/share/redmine I get this error message. To fix it, I've removed the /usr/share/redmine/.bundle and /usr/share/redmine/vendor directories previously created by `bundle install` when I've installed the plugins (manually choosen by me during plugins' installation, IIRC). Then, when I run `bundle --local`, I get errors about missing gem files as expected because of the removals above. Yes, the problem is the plugins have dependencies that will make bundle install stuff that is incompatible with what Debian has. I would never use plugins that point to git repositories for dependencies without sanitizing them first. After having installed all gems needed by my plugins, it worked well. Thanks ! Thanks for the feedback. -- Antonio Terceiro terce...@debian.org signature.asc Description: Digital signature
Bug#779273: please help testing redmine 3.0~20140825-6 from unstable
Hi Antonio, On Sun, 3 May 2015 10:39:40 Antonio Terceiro wrote: I would like your help in testing redmine 3.0~20140825-6, which was uploaded to unstable yesterday. It can be safely installed on jessie, [...] I will give it a few days to be tested, and then will prepare a jessie update so that the version in stable also contains these fixes. Now nice of you to remember that I'm using Redmine. :) I've just installed 3.0~20140825-7 over 3.0~20140825-5 -- so far so good. I'll let you know if I notice any issues. Thanks! Much appreciate your work on Redmine. -- Regards, Dmitry Smirnov. --- Every decent man is ashamed of the government he lives under. -- H. L. Mencken signature.asc Description: This is a digitally signed message part.
Bug#779273: please help testing redmine 3.0~20140825-6 from unstable
Hello, Well the upgrade from 3.0~20140825-6 to 3.0~20140825-7 was made without any issue. To try upgrade from 3.0~20140825-5 to 3.0~20140825-7, I've uninstalled redmine, restored psql database and /usr/share/redmine directory and installed again the 3.0~20140825-5 version from stable. At this step, I have a regular redmine 3.0-20140825-5 instance with 2 plugins installed (see my first post). As I've installed these plugins using bundle (as www-data user, but I think it doesn't matter), I have a bundle configuration under /usr/share/redmine/.bundle/config with the following configuration: --- BUNDLE_WITHOUT: development:test BUNDLE_PATH: vendor/bundle BUNDLE_DISABLE_SHARED_GEMS: '1' Right now, I've the following issue if I run directly `apt upgrade` : [root:/usr/share/redmine] # apt upgrade Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait Calcul de la mise à jour... Fait 0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour. 1 partiellement installés ou enlevés. Après cette opération, 0 o d'espace disque supplémentaires seront utilisés. Souhaitez-vous continuer ? [O/n] Paramétrage de redmine (3.0~20140825-7) ... Could not find gem 'rails (~ 4.1.4) ruby' in the gems available on this machine. dpkg: erreur de traitement du paquet redmine (--configure) : le sous-processus script post-installation installé a retourné une erreur de sortie d'état 7 Des erreurs ont été rencontrées pendant l'exécution : redmine E: Sub-process /usr/bin/dpkg returned an error code (1) So I've read your postinst file and I've found the origin of this error: when I run `bundle --local` directly from /usr/share/redmine I get this error message. To fix it, I've removed the /usr/share/redmine/.bundle and /usr/share/redmine/vendor directories previously created by `bundle install` when I've installed the plugins (manually choosen by me during plugins' installation, IIRC). Then, when I run `bundle --local`, I get errors about missing gem files as expected because of the removals above. After having installed all gems needed by my plugins, it worked well. Thanks ! Adrien
Bug#779273: please help testing redmine 3.0~20140825-6 from unstable
Hi, On Sun, May 03, 2015 at 06:21:52PM +0200, Adrien Dorsaz wrote: Hello, I've tried the upgrade and here's is my log: First, I've made backups (psql and /usr/share/redmine directory) and stop my redmine service (through apache2). Then, I've tried the upgrade and I had this message: Could not find gem 'rails (~ 4.1.4) ruby' in the gems available on this machine. As I've seen that in Jessie, rails' version is 4.1.8, so I've put it into the file /usr/share/redmine/Gemfile. Then, I've run directly 'bundle install' from this directory to check that gems were well installed and I've found some compatibility issue with my plugins, but I was able to fix them by editing the plugins' Gemfile. After that, 'apt upgrade' were able to finish the work. Err, you should not need to do any of this. I have just uploaded 3.0~20140825-7 to unstable as well as to https://people.debian.org/~terceiro/redmine-jessie/, could you give it a try? -- Antonio Terceiro terce...@debian.org signature.asc Description: Digital signature
Bug#779273: please help testing redmine 3.0~20140825-6 from unstable
Hello, I would like your help in testing redmine 3.0~20140825-6, which was uploaded to unstable yesterday. It can be safely installed on jessie, and you can do that by adding the following line to your sources.list (instead of the entire unstable suite): deb https://people.debian.org/~terceiro/redmine-jessie/ ./ (you may need to install apt-transport-https first) This repository is signed with my GPG key which is in the Debian keyring (B2DE E660 36C4 0829 FCD0 F10C FC0D B1BB CD46 0BDE). The safest way to add this key to your apt trust database if you choose to do so is to install debian-keyring and run gpg --keyring /usr/share/keyrings/debian-keyring.gpg --export terce...@debian.org | apt-key add - I will give it a few days to be tested, and then will prepare a jessie update so that the version in stable also contains these fixes. -- Antonio Terceiro terce...@debian.org signature.asc Description: Digital signature
Bug#779273: please help testing redmine 3.0~20140825-6 from unstable
Hello, I've tried the upgrade and here's is my log: First, I've made backups (psql and /usr/share/redmine directory) and stop my redmine service (through apache2). Then, I've tried the upgrade and I had this message: Could not find gem 'rails (~ 4.1.4) ruby' in the gems available on this machine. As I've seen that in Jessie, rails' version is 4.1.8, so I've put it into the file /usr/share/redmine/Gemfile. Then, I've run directly 'bundle install' from this directory to check that gems were well installed and I've found some compatibility issue with my plugins, but I was able to fix them by editing the plugins' Gemfile. After that, 'apt upgrade' were able to finish the work. Many thanks, good work ! Adrien Dorsaz