dokku-pg-plugin icon indicating copy to clipboard operation
dokku-pg-plugin copied to clipboard

Unable to install the plugin

Open LimeBlast opened this issue 11 years ago • 4 comments

Upon running the dokku plugins-install command, I get the following output, with none of the related commands working.

gpg: keyring `/tmp/tmpj9d1tn4z/secring.gpg' created
gpg: keyring `/tmp/tmpj9d1tn4z/pubring.gpg' created
gpg: requesting key C300EE8C from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpj9d1tn4z/trustdb.gpg: trustdb created
gpg: key C300EE8C: public key "Launchpad Stable" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)

Configuration file '/etc/nginx/nginx.conf'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** nginx.conf (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package nginx-common (--configure):
 EOF on stdin at conffile prompt
dpkg: dependency problems prevent configuration of nginx-full:
 nginx-full depends on nginx-common (= 1.6.2-2+trusty0); however:
  Package nginx-common is not configured yet.

dpkg: error processing package nginx-full (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of nginx:
 nginx depends on nginx-full (>= 1.6.2-2+trusty0) | nginx-light (>= 1.6.2-2+trusty0) | nginx-extras (>= 1.6.2-2+trusty0); however:
  Package nginx-full is not configured yet.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.
 nginx depends on nginx-full (<< 1.6.2-2+trusty0.1~) | nginx-light (<< 1.6.2-2+trusty0.1~) | nginx-extras (<< 1.6.2-2+trusty0.1~); however:
  Package nginx-full is not configured yet.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.

dpkg: error processing package nginx (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
 nginx-common
 nginx-full
 nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)

LimeBlast avatar Oct 01 '14 19:10 LimeBlast

PS, I'm running this on Digital Ocean, using their one-click install image.

LimeBlast avatar Oct 01 '14 19:10 LimeBlast

Sorry, another update - but I think I fixed it.

I deleted the /var/lib/dokku/plugins/postgresql folder, then run dokku plugins-install a second time. This gave me the option of what to do about the updated nginx.conf file (I chose N), then after that finished, recloned the repo, re run dokku plugins-install, and now it seems to be working again.

I have no idea if I'm done the right thing or not, but it seems to be working for the moment.

LimeBlast avatar Oct 01 '14 19:10 LimeBlast

Thanks @LimeBlast same issue + this fixed it.

ndreckshage avatar Oct 20 '14 02:10 ndreckshage

@LimeBlast this fixed my issue as well

abstractcoder avatar Jan 06 '15 22:01 abstractcoder