disapora-installer not installable on Disco
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
diaspora-installer (Debian) |
Fix Released
|
Unknown
|
|||
diaspora-installer (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Disco |
Fix Released
|
Undecided
|
Unassigned | ||
Eoan |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* Without the fix diaspora-installer is uninstallable on Disco
* backport a Debian fix (in Eoan already) to use the system bundler
https:/
* This blocks proposed migrations as it worked in the past, see
http://
[Test Case]
* Take Disco system (e.g. lxd container, multipass, uvtool)
* Install diaspora-installer
sudo DEBIAN_
[Regression Potential]
* Without the fix it is not working at all, I don't see how it can
regress much further. In theory if one installed it in the past and
upgraded then the new change will "pull in" ruby-bundler which - if
that is a problem for anything - would trigger those.
[Other Info]
* Found while preparing a postgres MRE in bug 1828012 as it would block
this from migrating.
---
This seems to be a continuation of bug 1717801 and bug 1732520.
Looking at these past bugs the issues seem to come and go with slightly changing symptoms, maybe due to upstream changes e.g. on ruby gems and such - also the main installer is fetched externally.
The current state seems to be ok in all releases except Disco.
There it fails and that blocks other package e.g. the migration of postgresql in Disco.
(This was found analyzing test errors for bug 1828012)
Note - nothing else holds it in the Distribution:
$ reverse-depends src:diaspora-
No reverse dependencies found
Note: test needs >=2G Memory.
But I found that installing the version from Eoan 0.7.6.1+debian1 in Disco works.
Check out https:/
Example from Disco:
ubuntu@
[...]
/usr/lib/
Checking if the database is empty...
Initializing database...
Database 'diaspora_
rake aborted!
Errno::EACCES: Permission denied @ rb_sysopen - /usr/share/
/usr/share/
/usr/share/
/usr/share/
Tasks: TOP => generate:
(See full trace by running task with --trace)
rake aborted!
LoadError: cannot load such file --
Related branches
- Andreas Hasenack (community): Approve
- Canonical Server Core Reviewers: Pending requested
-
Diff: 41 lines (+9/-2)3 files modifieddebian/changelog (+7/-0)
debian/control (+1/-0)
debian/postinst (+1/-2)
description: | updated |
description: | updated |
Changed in diaspora-installer (Debian): | |
status: | Unknown → Fix Released |
Also affects Eoan
Setting up diaspora-common (0.7.6.1+debian1) ... common/ diaspora- common. conf
Creating/updating diaspora user account...
dbconfig-common: writing config to /etc/dbconfig-
Creating config file /etc/dbconfig- common/ diaspora- common. conf with new version production: success.
creating postgres user diaspora: success.
verifying creation of user: success.
creating database diaspora_
verifying database diaspora_production exists: success.
dbconfig-common: flushing administrative password
SSL enabled, configuring nginx for localhost...
Creating config file /etc/nginx/ sites-available /diaspora with new version
Services List
Make diaspora user owner of diaspora_production database...
ALTER DATABASE
Allow diaspora user to create databases...
ALTER ROLE
Grant all privileges to diaspora user...
GRANT
Registering /etc/diaspora.conf via ucf
Creating config file /etc/diaspora.conf with new version
Creating config file /etc/diaspora/ database. yml with new version pixbuf2. 0-dev:amd64 (2.38.1+dfsg-1) ... 6.q16-dev: amd64 (8:6.9. 10.23+dfsg- 2ubuntu2) ... 6.q16-dev: amd64 (8:6.9. 10.23+dfsg- 2ubuntu2) ... 10.23+dfsg- 2ubuntu2) ... /github. com/diaspora/ diaspora/ archive/ v0.7.6. 0.tar.gz com)|192. 30.253. 112|:443. .. connected. /codeload. github. com/diaspora/ diaspora/ tar.gz/ v0.7.6. 0 [following] /codeload. github. com/diaspora/ diaspora/ tar.gz/ v0.7.6. 0 github. com)... 192.30.253.121 github. com)|192. 30.253. 121|:443. .. connected. x-gzip] diaspora- installer/ diaspora- 0.7.6.0. tar.gz’
Processing triggers for mime-support (3.62ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.60.0-1) ...
No schema files found: doing nothing.
Processing triggers for libc-bin (2.29-0ubuntu2) ...
Processing triggers for rsyslog (8.1901.0-1ubuntu1) ...
Processing triggers for ufw (0.36-1ubuntu1) ...
Processing triggers for systemd (240-6ubuntu5) ...
Processing triggers for man-db (2.8.5-2) ...
Setting up libgdk-
Setting up libcairo2-dev:amd64 (1.16.0-4) ...
Processing triggers for install-info (6.5.0.dfsg.1-5) ...
Setting up librsvg2-dev:amd64 (2.44.10-2.1) ...
Setting up libmagickcore-
Setting up libmagickwand-
Setting up libmagickwand-dev (8:6.9.
Setting up diaspora-installer (0.7.6.1+debian1) ...
Download diaspora tarball version 0.7.6.0 from github.com...
--2019-05-08 09:03:43-- https:/
Resolving github.com (github.com)... 192.30.253.112
Connecting to github.com (github.
HTTP request sent, awaiting response... 302 Found
Location: https:/
--2019-05-08 09:03:44-- https:/
Resolving codeload.github.com (codeload.
Connecting to codeload.github.com (codeload.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/
Saving to: ‘/var/cache/
/var/cache/ diaspora- installer/ diaspora- 0.7.6.0. [ <=> ] 2.71M 778KB/s in 3.6s
2019-05-08 09:03:48 (778 KB/s) - ‘/var/cache/ diaspora- installer/ diaspora- 0.7.6.0. tar.gz’ saved [2845165]
Checking integrity of download... diaspora- installer/ diaspora- 0.7.6.0. tar.gz: OK diaspora. .. diaspora/ pub...
/var/cache/
Extracting files...
Copying files to /usr/share/
diaspora archive to copy: diaspora-0.7.6.0
Copying source tarball to /var/lib/