Unable to fetch remote packages list: Connect server refused authentication (returned 401)

I have the Nuxeo Platform in the fasttrack editon on an Ubuntu server 16.04.3 LTS since a year. I have no access to Nuxeo Studio. Everything works fine.

Yesterday I wanted to update the system (“apt update; apt dist-upgrade”) and the nuxeo package was in the list of upgradeable items.

But the configuration step of the packages resulted in an error with the following output:

root@nuxeo:/tmp# apt dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
Setting up nuxeo (9.10-01) ...
 * Trying to reinstall previously installed packages
Detected Tomcat server.
Nuxeo home:          /var/lib/nuxeo/server
Nuxeo configuration: /etc/nuxeo/nuxeo.conf
Include template: /var/lib/nuxeo/server/templates/common-base
Include template: /var/lib/nuxeo/server/templates/common
Include template: /var/lib/nuxeo/server/templates/postgresql
Include template: /var/lib/nuxeo/server/templates/default
Include template: /var/lib/nuxeo/server/templates/mongodb
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to install unknown package: nuxeo-jsf-ui
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unknown dependency: nuxeo-cmf
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Unable to fetch remote packages list: Connect server refused authentication (returned 401)
Optional dependencies [nuxeo-jsf-ui] will be ignored for 'nuxeo-dam-6.3.3'.

Dependency resolution:
  Installation order (2):        nuxeo-web-ui-2.2.0/nuxeo-dam-6.3.3
  Local packages to install (2): nuxeo-web-ui:2.2.0, nuxeo-dam:6.3.3

Installing nuxeo-web-ui-2.2.0
Installing nuxeo-dam-6.3.3
Detected Tomcat server.
Detected Tomcat server.
Detected Tomcat server.
Job for nuxeo.service failed because the control process exited with error code. See "systemctl status nuxeo.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nuxeo, action "start" failed.
* nuxeo.service - LSB: Start/stop Nuxeo
   Loaded: loaded (/etc/init.d/nuxeo; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2018-02-08 10:02:07 CET; 10ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 3480 ExecStart=/etc/init.d/nuxeo start (code=exited, status=1/FAILURE)

Feb 08 10:02:07 nuxeo nuxeo[3480]:         at org.nuxeo.launcher.config.ConfigurationGenerator.verifyInstallation(ConfigurationGenerator.java:1280)
Feb 08 10:02:07 nuxeo nuxeo[3480]:         at org.nuxeo.launcher.NuxeoLauncher.doStart(NuxeoLauncher.java:2048)
Feb 08 10:02:07 nuxeo nuxeo[3480]:         at org.nuxeo.launcher.NuxeoLauncher.doStart(NuxeoLauncher.java:1903)
Feb 08 10:02:07 nuxeo nuxeo[3480]:         at org.nuxeo.launcher.NuxeoLauncher.launch(NuxeoLauncher.java:1154)
Feb 08 10:02:07 nuxeo nuxeo[3480]:         at org.nuxeo.launcher.NuxeoLauncher.main(NuxeoLauncher.java:1110)
Feb 08 10:02:07 nuxeo nuxeo[3480]:    ...fail!
Feb 08 10:02:07 nuxeo systemd[1]: nuxeo.service: Control process exited, code=exited status=1
Feb 08 10:02:07 nuxeo systemd[1]: Failed to start LSB: Start/stop Nuxeo.
Feb 08 10:02:07 nuxeo systemd[1]: nuxeo.service: Unit entered failed state.
Feb 08 10:02:07 nuxeo systemd[1]: nuxeo.service: Failed with result 'exit-code'.
dpkg: error processing package nuxeo (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 nuxeo
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@nuxeo:/tmp# 

Is my assumption correct that nuxeo is not supporting the non paying users anymore?

0 votes

1 answers

506 views

ANSWER

No that's not correct. Nuxeo is still free for everyone. There must be a bug in the debian packagings, I'll inform relevant people.

You can still download Nuxeo from the usual download locations (https://www.nuxeo.com/downloads/) and use it for free.

02/08/2018

Is there a ticket where we debian users can track this issue? Or will we be informed in this thread when this problem is resolved?

Thanks.

02/09/2018

The Debian package related tickets are there: https://jira.nuxeo.com/browse/NXBT/component/10622/

In your case, I suspect that the issue is not related with Debian. You may be using an obsolete CLID, raising the above error messages, but something else is happening on server start or configuration. Could you paste the output of nuxeoctl showconf? Which version are you upgrading from? Not all of the Nuxeo Package that you were using are available anymore. You may have to uninstall them before upgrade.

02/14/2018



Here it is (replaced sensible data with XXXX):

nuxeoctl showconf
Detected Tomcat server.
Nuxeo home:          /var/lib/nuxeo/server
Nuxeo configuration: /etc/nuxeo/nuxeo.conf
Include template: /var/lib/nuxeo/server/templates/common-base
Include template: /var/lib/nuxeo/server/templates/common
Include template: /var/lib/nuxeo/server/templates/postgresql
Include template: /var/lib/nuxeo/server/templates/default
Include template: /var/lib/nuxeo/server/templates/mongodb
***** Nuxeo instance configuration *****
NUXEO_CONF: /etc/nuxeo/nuxeo.conf
NUXEO_HOME: /var/lib/nuxeo/server
Instance CLID: 5f5fb69d-2c96-435f-b5a2-7cc9612f3559--db3472bd-f108-4890-8088-b30e2e47d29d
** Distribution
- name: server
- server: tomcat
- version: 9.10
- date: 201712201724
- packaging: deb
** Packages:
- nuxeo-template-rendering-samples (version: 6.7.3 - id: nuxeo-template-rendering-samples-6.7.3 - state: downloaded)
- nuxeo-dam (version: 6.3.3 - id: nuxeo-dam-6.3.3 - state: downloaded)
- nuxeo-liveconnect (version: 1.2.3 - id: nuxeo-liveconnect-1.2.3 - state: downloaded)
- nuxeo-template-rendering (version: 6.7.3 - id: nuxeo-template-rendering-6.7.3 - state: downloaded)
- nuxeo-web-ui (version: 2.2.0 - id: nuxeo-web-ui-2.2.0 - state: started)
- nuxeo-drive (version: 1.7.3 - id: nuxeo-drive-1.7.3 - state: downloaded)
- nuxeo-spreadsheet (version: 1.3.3 - id: nuxeo-spreadsheet-1.3.3 - state: downloaded)
- nuxeo-vision (version: 1.2.3 - id: nuxeo-vision-1.2.3 - state: downloaded)
- nuxeo-showcase-content (version: 1.2.3 - id: nuxeo-showcase-content-1.2.3 - state: downloaded)
** Templates:
Database template: mongodb
Base template: postgresql
** Settings from nuxeo.conf:
JAVA_OPTS=-server -Xms512m -Xmx1024m -Dfile.encoding=UTF-8 -Dmail.mime.decodeparameters=true -Djava.util.Arrays.useLegacyMergeSort=true -Xloggc:"/var/log/nuxeo/gc.log" -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Djava.util.logging.config.file=/var/lib/nuxeo/server/conf/logging.properties
audit.elasticsearch.enabled=true
elasticsearch.httpEnabled=true
jod.office.home=/usr/lib/libreoffice
mail.from=XXXXXXXXXXXXXXX
mail.transport.host=XXXXXXXXXXXx
nuxeo.bind.address=XXXXXXXXXXXX
nuxeo.data.dir=/var/lib/nuxeo/data
nuxeo.db.host=localhost
nuxeo.db.name=nuxeo
nuxeo.db.password=********
nuxeo.db.port=5433
nuxeo.db.user=nuxeo
nuxeo.directory.type=ldap
nuxeo.force.generation=true
nuxeo.http.proxy.host=XXXXXXXXXXXXXXX
nuxeo.http.proxy.port=8080
nuxeo.http.proxy.type=anonymous
nuxeo.installer.installedpg=true
nuxeo.installer.installeduser=true
nuxeo.installer.lastinstalledversion=9.10-01
nuxeo.installer.useautopg=true
nuxeo.ldap.binddn=XXXXXXXXXXXXXXXXXXXXX
nuxeo.ldap.bindpassword=********
nuxeo.ldap.defaultAdministratorId=XXXXXXXXXXXXXXXX
nuxeo.ldap.defaultMembersGroup=worker
nuxeo.ldap.group.mapping.label=description
nuxeo.ldap.group.mapping.name=cn
nuxeo.ldap.group.mapping.rdn=cn
nuxeo.ldap.group.searchBaseDn=XXXXXXXXXXXXXXXXXXXX
nuxeo.ldap.url=ldap://XXXXXXXXXXXXXXXXXXxx
nuxeo.ldap.user.mapping.email=mail
nuxeo.ldap.user.mapping.firstname=givenName
nuxeo.ldap.user.mapping.lastname=sn
nuxeo.ldap.user.mapping.password=********
nuxeo.ldap.user.mapping.rdn=cn
nuxeo.ldap.user.mapping.username=pager
nuxeo.ldap.user.searchBaseDn=XXXXXXXXXXXXXXXx
nuxeo.log.dir=/var/log/nuxeo
nuxeo.pid.dir=/var/run/nuxeo
nuxeo.server.ajp.port=8009
nuxeo.server.http.port=8080
nuxeo.server.tomcat_admin.port=54476
nuxeo.templates=postgresql,mongodb
nuxeo.url=XXXXXXXXXXXXXXXXXx
nuxeo.user.anonymous.enable=false
nuxeo.user.emergency.firstname=Emergency
nuxeo.user.emergency.lastname=User
nuxeo.user.emergency.password=********
nuxeo.user.emergency.username=emergency.user
nuxeo.wizard.done=true
nuxeo.wizard.skippedpages=General,DB
org.nuxeo.dev=false
server.status.key=********
****************************************
0 votes