package grafana 2.6.0+dfsg-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grafana (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Setting up grafana (2.6.0+dfsg-1) ...
insserv: script grafana: service grafana already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package grafana (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
grafana
Despite this error the service does appear to start and run as expected.
sudo systemctl start grafana
sudo systemctl status grafana
● grafana.service - Starts and stops a single grafana instance on this system
Loaded: loaded (/lib/systemd/
Active: active (running) since Mon 2016-04-18 23:24:44 EDT; 2s ago
Docs: http://
Main PID: 2344 (grafana)
CGroup: /system.
└─2344 /usr/sbin/grafana --config=
Apr 18 23:24:45 metrics grafana[2344]: Command lines overrides:
Apr 18 23:24:45 metrics grafana[2344]: [0]: default.
Apr 18 23:24:45 metrics grafana[2344]: [1]: default.
Apr 18 23:24:45 metrics grafana[2344]: Paths:
Apr 18 23:24:45 metrics grafana[2344]: home: /usr/share/grafana
Apr 18 23:24:45 metrics grafana[2344]: data: /var/lib/grafana
Apr 18 23:24:45 metrics grafana[2344]: logs: /var/log/grafana
Apr 18 23:24:45 metrics grafana[2344]: 2016/04/18 23:24:45 [I] Database: postgres
Apr 18 23:24:45 metrics grafana[2344]: 2016/04/18 23:24:45 [I] Migrator: Starting DB migration
Apr 18 23:24:45 metrics grafana[2344]: 2016/04/18 23:24:45 [I] Listen: http://
After rebooting however it appears that the DB migration failed. It's possible that I restarted the server before it had a chance to finish so this may not be part of the upgrade configure bug.
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: grafana 2.6.0+dfsg-1
ProcVersionSign
Uname: Linux 4.2.0-34-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
Date: Mon Apr 18 22:54:54 2016
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2015-12-30 (110 days ago)
InstallationMedia: Ubuntu-Server 15.10 "Wily Werewolf" - Release amd64 (20151021)
RelatedPackageV
dpkg 1.18.4ubuntu1
apt 1.2.10ubuntu1
SourcePackage: grafana
Title: package grafana 2.6.0+dfsg-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to xenial on 2016-04-19 (0 days ago)
Changed in grafana (Ubuntu): | |
importance: | Undecided → Medium |
Status changed to 'Confirmed' because the bug affects multiple users.