Project

General

Profile

Actions

Bug #17397

closed

Error while upgrading rudder from 6.0.5 to 6.1 nightly on debian

Added by Nicolas CHARLES over 4 years ago. Updated over 4 years ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

INFO: Creating groups ... Done
INFO: Creating users ... Done
INFO: Removing ncf-api-venv user and group ...userdel: ncf-api-venv mail spool (/var/mail/ncf-api-venv) not found
userdel: ncf-api-venv home directory (/var/lib/ncf-api-venv) not found
 Done
INFO: Setting up systemd ...INFO: Restarting rudder-slapd... Done
INFO: Launching script to check if a migration is needed ...
5ebc4ecf UNKNOWN attributeDescription "OVERRIDABLE" inserted.
Done
********************************************************************************
Due to incompatibility reasons for this specific version all plugins have been
disabled. Make sure to update your repo index and install the latest version of
your plugins before re-enabling them.

You can use the following commands to upgrade your plugins:
rudder package update
rudder package upgrade-all
********************************************************************************
INFO: Re-generate rudder-lang libraries ...
Done
INFO: Make sure Rudder webapp is started... Done
INFO: Make sure Apache HTTPd is started...Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
dpkg: error processing package rudder-webapp (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for rsyslog (8.24.0-1) ...

cause for apache error is
May 13 21:47:46 server apachectl[23020]: AH00543: apache2: bad user name ncf-api-venv
May 13 21:47:46 server apachectl[23020]: Action 'start' failed.
May 13 21:47:46 server apachectl[23020]: The Apache error log may have more information.
May 13 21:47:46 server systemd[1]: apache2.service: Control process exited, code=exited status=1
May 13 21:47:46 server systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: Unit apache2.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit apache2.service has failed.
-- 
-- The result is failed.
May 13 21:47:46 server systemd[1]: apache2.service: Unit entered failed state.
Actions #1

Updated by Nicolas CHARLES over 4 years ago

file conf-available/ncf-api-virtualenv.conf states

 WSGIDaemonProcess ncf_api_flask_app threads=5 user=ncf-api-venv umask=0007

Actions #2

Updated by Nicolas CHARLES over 4 years ago

nothing removes this file

Actions #3

Updated by Nicolas CHARLES over 4 years ago

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES
Actions #4

Updated by Nicolas CHARLES over 4 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/2288
Actions #5

Updated by Nicolas CHARLES over 4 years ago

  • Status changed from Pending technical review to Pending release
Actions #6

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.1.0~rc1 which was released today.

Actions

Also available in: Atom PDF