Public bug reported: 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/system/grafana.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2016-04-18 23:24:44 EDT; 2s ago Docs: http://docs.grafana.org Main PID: 2344 (grafana) CGroup: /system.slice/grafana.service └─2344 /usr/sbin/grafana --config=/etc/grafana/grafana.ini cfg:default.paths.logs=/var/log/grafana cfg:default.paths.data=/var/lib/grafana Apr 18 23:24:45 metrics grafana[2344]: Command lines overrides: Apr 18 23:24:45 metrics grafana[2344]: [0]: default.paths.data=/var/lib/grafana Apr 18 23:24:45 metrics grafana[2344]: [1]: default.paths.logs=/var/log/grafana 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://0.0.0.0:3000 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 ProcVersionSignature: Ubuntu 4.2.0-34.39-generic 4.2.8-ckt4 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) RelatedPackageVersions: 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) ** Affects: grafana (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1571931 Title: package grafana 2.6.0+dfsg-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grafana/+bug/1571931/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs