Inability to install add-ons

From the Admin Center > Update Center > Packages from Nuxeo Marketplace > show only packages compatible with my distribution

When I click download I am temporarily re-directed to a page where I can see the download happening and a brief message that says “download complete”. But the package list is not updated and it says remote, rather than, downloaded and I cannot see the Install button. Instead I keep seeing the Download button.

This didn’t use to be the case when I started to use nuxeo platform a few months ago and cannot understand what could have triggered this behaviour (I do not have a nuxeo connect or nuxeo Studio account). Is there a way to solve this problem?

I am using nuxeo platform 5.9.2 with PostgreSQL 9.1 and have uploaded quite a big number of documents… I have restored my database in a different machine but the behaviour is inherited… Any help would be much appreciated.

0 votes

2 answers

2001 views

ANSWER



Hi,

Please note that Nuxeo 5.9.2 is not maintained: you must upgrade to the latest FT (5.9.5) or LTS (6.0).

Can you try to run the following from the command line?

./bin/nuxeoctl showconf
./bin/nuxeoctl mp-add SOME_ADDON -d
0 votes



Hi Julien,

I am trying to upgrade to 6.0 (which requires Postgres 9.3 instead of 9.1) in my testing environment meanwhile, the output of the commands above are:

./bin/nuxeoctl mp-add SOME_ADDON -d

Launcher command: /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java -Dlauncher.java.opts=-server -Xms512m -Xmx1024m -XX:MaxPermSize=512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dfile.encoding=UTF-8 -Dmail.mime.decodeparameters=true -Djava.util.Arrays.useLegacyMergeSort=true -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dnuxeo.home=/Library/DMS/nuxeo-cap-5.9.2-tomcat -Dnuxeo.conf=/Library/DMS/nuxeodata/nuxeo.conf -Dnuxeo.log.dir=/Library/DMS/nuxeologs/ -jar /Library/DMS/nuxeo-cap-5.9.2-tomcat/tmp/nuxeo-launcher-18817.jar mp-add SOME_ADDON -d 08:46:32,890 INFO [org.nuxeo.launcher.config.TomcatConfigurator.<init>(TomcatConfigurator.java:59)] Detected Tomcat server. 08:46:32,893 INFO [org.nuxeo.launcher.config.ConfigurationGenerator.<init>(ConfigurationGenerator.java:371)] Nuxeo home: /Library/DMS/nuxeo-cap-5.9.2-tomcat 08:46:32,893 INFO [org.nuxeo.launcher.config.ConfigurationGenerator.<init>(ConfigurationGenerator.java:372)] Nuxeo configuration: /Library/DMS/nuxeodata/nuxeo.conf 08:46:32,901 INFO [org.nuxeo.launcher.config.ConfigurationGenerator.includeTemplates(ConfigurationGenerator.java:828)] Include template: /Library/DMS/nuxeo-cap-5.9.2-tomcat/templates/common-base 08:46:32,903 INFO [org.nuxeo.launcher.config.ConfigurationGenerator.includeTemplates(ConfigurationGenerator.java:828)] Include template: /Library/DMS/nuxeo-cap-5.9.2-tomcat/templates/common 08:46:32,903 INFO [org.nuxeo.launcher.config.ConfigurationGenerator.includeTemplates(ConfigurationGenerator.java:828)] Include template: /Library/DMS/nuxeo-cap-5.9.2-tomcat/templates/postgresql 08:46:32,904 INFO [org.nuxeo.launcher.config.ConfigurationGenerator.includeTemplates(ConfigurationGenerator.java:828)] Include template: /Library/DMS/nuxeo-cap-5.9.2-tomcat/templates/drive 08:46:32,904 DEBUG [org.nuxeo.launcher.config.ConfigurationGenerator.includeTemplates(ConfigurationGenerator.java:565)] [/Library/DMS/nuxeo-cap-5.9.2-tomcat/templates/common-base, /Library/DMS/nuxeo-cap-5.9.2-tomcat/templates/common, /Library/DMS/nuxeo-cap-5.9.2-tomcat/templates/postgresql, /Library/DMS/nuxeo-cap-5.9.2-tomcat/templates/drive] 08:46:32,907 DEBUG [org.nuxeo.launcher.config.ConfigurationGenerator.getBindAddress(ConfigurationGenerator.java:1321)] Configured bind address: /0.0.0.0 08:46:32,908 DEBUG [org.nuxeo.launcher.config.ConfigurationGenerator.evalLoopbackURL(ConfigurationGenerator.java:656)] Bind address is "ANY", using local address instead: /127.0.0.1 08:46:32,908 DEBUG [org.nuxeo.launcher.config.ConfigurationGenerator.evalLoopbackURL(ConfigurationGenerator.java:673)] Set as loop back URL: http://127.0.0.1:8080/nuxeo 08:46:32,908 DEBUG [org.nuxeo.launcher.config.ConfigurationGenerator.logDebugInformation(ConfigurationGenerator.java:593)] Nuxeo Dev mode is not enabled 08:46:32,909 DEBUG [org.nuxeo.launcher.config.ConfigurationGenerator.logDebugInformation(ConfigurationGenerator.java:607)] Nuxeo Seam HotReload is not enabled 08:46:32,919 DEBUG [org.nuxeo.launcher.NuxeoLauncher.extractCommandAndParams(NuxeoLauncher.java:1761)] Launcher command: mp-add 08:46:32,930 DEBUG [org.nuxeo.launcher.NuxeoLauncher.extractCommandAndParams(NuxeoLauncher.java:1766)] Command parameters: {SOME_ADDON} 08:46:32,931 DEBUG [org.nuxeo.launcher.NuxeoLauncher.setArgs(NuxeoLauncher.java:1746)] GUI: option not set - platform is not Windows -> do not start GUI 08:46:32,980 DEBUG [org.nuxeo.launcher.NuxeoLauncher.getPid(NuxeoLauncher.java:1612)] regexp: ^(?!/bin/sh).\Q/Library/DMS/nuxeodata/nuxeo.conf\E.\Qorg.apache.catalina.startup.Bootstrap\E.*$ pid:12501 08:46:32,981 ERROR [org.nuxeo.launcher.NuxeoLauncher.main(NuxeoLauncher.java:898)] Cannot execute command. A server is running with process ID 12501 08:46:32,981 DEBUG [org.nuxeo.launcher.NuxeoLauncher.main(NuxeoLauncher.java:899)] java.lang.IllegalStateException: A server is running with process ID 12501 java.lang.IllegalStateException: A server is running with process ID 12501

at org.nuxeo.launcher.NuxeoLauncher.checkNoRunningServer(NuxeoLauncher.java:643)
at org.nuxeo.launcher.NuxeoLauncher.launch(NuxeoLauncher.java:920)
at org.nuxeo.launcher.NuxeoLauncher.main(NuxeoLauncher.java:894)

./bin/nuxeoctl showconf

Detected Tomcat server. Nuxeo home: /Library/DMS/nuxeo-cap-5.9.2-tomcat Nuxeo configuration: /Library/DMS/nuxeodata/nuxeo.conf Include template: /Library/DMS/nuxeo-cap-5.9.2-tomcat/templates/common-base Include template: /Library/DMS/nuxeo-cap-5.9.2-tomcat/templates/common Include template: /Library/DMS/nuxeo-cap-5.9.2-tomcat/templates/postgresql Include template: /Library/DMS/nuxeo-cap-5.9.2-tomcat/templates/drive Nuxeo instance configuration NUXEO_CONF: /Library/DMS/nuxeodata/nuxeo.conf NUXEO_HOME: /Library/DMS/nuxeo-cap-5.9.2-tomcat Distribution

  • name: cap
  • server: tomcat
  • version: 5.9.2
  • date: 201402171725
  • packaging: zip Could not read package list org.nuxeo.connect.update.PackageException: Invalid package - no package.xml file found in package .DS_Store at org.nuxeo.connect.update.standalone.LocalPackageImpl.<init>(LocalPackageImpl.java:107) at org.nuxeo.connect.update.standalone.LocalPackageImpl.<init>(LocalPackageImpl.java:88) at org.nuxeo.connect.update.standalone.PackagePersistence.getPackages(PackagePersistence.java:247) at org.nuxeo.connect.update.standalone.StandaloneUpdateService.getPackages(StandaloneUpdateService.java:118) at org.nuxeo.launcher.connect.ConnectBroker.getPkgList(ConnectBroker.java:422) at org.nuxeo.launcher.NuxeoLauncher.showConfig(NuxeoLauncher.java:2102) at org.nuxeo.launcher.NuxeoLauncher.launch(NuxeoLauncher.java:1034) at org.nuxeo.launcher.NuxeoLauncher.main(NuxeoLauncher.java:894) Packages: Cannot execute command. null
12/03/2014

The error is due to the presence of a .DS_Store file, fixed since NXP-15985

Note those Mac OS X files are a pain and I'm used to deactivate their creation when working on a Mac laptop ;)

12/05/2014


Problem resolved by upgrading to nuxeo platform 6.0. (I wish I knew what caused it).

0 votes