package diaspora-common 0.5.7.1+debian2 [modified: usr/share/diaspora-common/database.yml usr/share/diaspora-common/diaspora.conf] failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1777570 reported by shyamchand
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
diaspora-installer (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Error information pops up when I log in the system.

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: diaspora-common 0.5.7.1+debian2 [modified: usr/share/diaspora-common/database.yml usr/share/diaspora-common/diaspora.conf]
ProcVersionSignature: Ubuntu 4.4.0-127.153-generic 4.4.128
Uname: Linux 4.4.0-127-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
Date: Tue Jun 19 10:26:48 2018
DistributionChannelDescriptor:
 # This is a distribution channel descriptor
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-somerville-xenial-amd64-20160624-2
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2018-04-15 (64 days ago)
InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 20160624-10:47
PackageArchitecture: all
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.4
 apt 1.2.26
SourcePackage: diaspora-installer
Title: package diaspora-common 0.5.7.1+debian2 [modified: usr/share/diaspora-common/database.yml usr/share/diaspora-common/diaspora.conf] failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
shyamchand (mesg-sam) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in diaspora-installer (Ubuntu):
status: New → Confirmed
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

There seems to be a problem with your DB-config:

Setting up diaspora-common (0.5.7.1+debian2) ...
dbconfig-common: writing config to /etc/dbconfig-common/diaspora-common.conf
dbconfig-common: flushing administrative password
SSL enabled, configuring nginx for localhost...
export SERVERNAME=localhost
Services List

Creating/updating diaspora user account...
Make diaspora user owner of diaspora_production database...
ERROR: role "diaspora" does not exist
dpkg: error processing package diaspora-common (--configure)

This package is rather notorious to have installation issues. It seems - so far not installed on your machine - I'd recommend to remove it at first including all its config (purge).
This would unblock your other updates being affected by that.

If you want you can later on again try to install diaspora-installer and then take a detailed look what in your local config makes its DB setup break.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.