Actions
Bug #29449
closedUpgrade from Rudder 8.3.10 to 9.0.8 and 9.1.3 fails on Apache2 configuration on SLES 15 sp7
Bug #29449:
Upgrade from Rudder 8.3.10 to 9.0.8 and 9.1.3 fails on Apache2 configuration on SLES 15 sp7
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
The upgrade fails with the error
Aug 04 11:24:52 server start_apache2[22462]: httpd-prefork: Syntax error on line 227 of /etc/apache2/httpd.conf: Syntax error on line 26 of /etc/apache2/vhosts.d/rudder.conf: Could not open configuration file /opt/rudder/etc/rudder-apache-relay-ssl.conf: No such file or directory
it solves itself
Console log is
Retrieving: rudder-agent-9.1.3-1.SLES.15.x86_64.rpm .............................................[done (11.8 MiB/s)]
Retrieving: rudder-relay-9.1.3-1.SLES.15.x86_64 (Rudder 9.1) (2/3), 3.9 MiB
Retrieving: rudder-relay-9.1.3-1.SLES.15.x86_64.rpm ..............................................[done (1.6 MiB/s)]
Retrieving: rudder-server-9.1.3-1.SLES.15.x86_64 (Rudder 9.1) (3/3), 249.4 MiB
Retrieving: rudder-server-9.1.3-1.SLES.15.x86_64.rpm ............................................[done (35.1 MiB/s)]
Checking for file conflicts: .................................................................................[done]
warning: file /var/rudder/cfengine-community/bin: remove failed: No such file or directory
(1/3) Installing: rudder-agent-1398866025:9.1.3-1.SLES.15.x86_64 .............................................[done]
warning: /opt/rudder/etc/relayd/main.conf created as /opt/rudder/etc/relayd/main.conf.rpmnew
"rewrite" already present
(2/3) Installing: rudder-relay-9.1.3-1.SLES.15.x86_64 ........................................................[done]
INFO Plugins statuses saved in /tmp/rudder-plugins-upgrade
INFO Plugins status successfully saved
warning: /opt/rudder/etc/rudder-users.xml created as /opt/rudder/etc/rudder-users.xml.rpmnew
warning: /opt/rudder/etc/rudder-web.properties created as /opt/rudder/etc/rudder-web.properties.rpmnew
"rewrite" already present
INFO Repository index updated
INFO Not updating licenses as no configured credentials were found
INFO All plugins were upgraded successfully
INFO Plugins status successfully restored
INFO Plugins successfully disabled
Job for rudder-jetty.service failed because a timeout was exceeded.
See "systemctl status rudder-jetty.service" and "journalctl -xeu rudder-jetty.service" for details.
INFO All postinstall scripts ran successfully
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xeu apache2.service" for details.
**************************************************************************************
ERROR: rudder-server postinstall script failed !
Trying to recover the problem, you should check that your instance is properly working
You should also try to manually execute: /opt/rudder/bin/rudder-upgrade
Such errors should not happen, please open an issue for this problem on
https://issues.rudder.io/projects/rudder/issues/new
**************************************************************************************
(3/3) Installing: rudder-server-9.1.3-1.SLES.15.x86_64 .......................................................[done]
Running post-transaction scripts .............................................................................[done]
Rudder-server upgrade logs
Tue Aug 4 11:18:00 CEST 2026 - Starting rudder-reports post installation step Tue Aug 4 11:18:00 CEST 2026 - Starting local database management Found postgres service name: postgresql Editing PG_HBA file /var/lib/pgsql/data/pg_hba.conf Tue Aug 4 11:18:01 CEST 2026 - Ending rudder-reports post installation step Tue Aug 4 11:18:01 CEST 2026 - Starting rudder-webapp post installation step Creating rudder users Stopping apache before running upgrade scripts Managing services Initializing filesystem Configuring LDAP Running upgrade script INFO: Checking if rudder-web.properties database access credentials are all right... LDAP OK, SQL OK Already on 'master' INFO: A Technique library reload is needed and has been scheduled. INFO: A Technique library reload is needed and has been scheduled. INFO: A Technique library reload is needed and has been scheduled. INFO: A Technique library reload is needed and has been scheduled. INFO: A Technique library reload is needed and has been scheduled. INFO: A Technique library reload is needed and has been scheduled. INFO: A Technique library reload is needed and has been scheduled. Overriding existing techniques INFO: Correcting permissions on /var/rudder/configuration-repository... Done Techniques have been updated, and update branch set to current state of the Techniques INFO: Upgrading PostgreSQL DB... OK INFO: Upgrading LDAP DB... INFO: The migration has completed successfully. INFO: Correcting permissions on /var/rudder/configuration-repository... Done Restoring file ACLs Running plugins upgrade scripts Tue Aug 4 11:24:09 CEST 2026 - Ending rudder-webapp post installation step INFO: Correcting permissions on /var/rudder/configuration-repository... Done
rudder-relay upgrade logs
Tue Aug 4 11:17:41 CEST 2026 - Starting rudder-relay post installation script Adding password for user rudder Adding password for user rudder Tue Aug 4 11:17:42 CEST 2026 - Ending rudder-relay post installation script <pre>
Files
Updated by Nicolas CHARLES 10 days ago
waiting solves the issue, but running /opt/rudder/bin/rudder-upgrade is recommended
Updated by Nicolas CHARLES 10 days ago
Updated by Nicolas CHARLES 8 days ago
on a similar test (almalinux) I got a similar error
Log in /var/log/rudder/webapp/jetty says
2026-08-05 10:09:01.202:WARN :oejx.XmlConfiguration:main: Config error java.lang.ClassNotFoundException: org.eclipse.jetty.webapp.WebAppContext at <Call class="org.eclipse.jetty.webapp.WebAppContext" name="addSystemClasses"><Arg><Ref refid="Server"/></Arg><Arg>| <Call class="org.eclipse.jetty.util.StringUtil" name="csvSplit"><Arg><Property name="jetty.webapp.addSystemClasses"/></Arg></Call>| </Arg></Call> in file:///opt/rudder/jetty/etc/jetty-webapp.xml
Exception in thread "main" java.lang.RuntimeException: java.lang.ClassNotFoundException: org.eclipse.jetty.webapp.WebAppContext
at org.eclipse.jetty.xml.XmlConfiguration.lambda$main$0(XmlConfiguration.java:2094)
at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:2099)
Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.webapp.WebAppContext
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at org.eclipse.jetty.util.Loader.loadClass(Loader.java:58)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.call(XmlConfiguration.java:1059)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:591)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:544)
at org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:414)
at org.eclipse.jetty.xml.XmlConfiguration.lambda$main$0(XmlConfiguration.java:2087)
... 1 more
file /opt/rudder/jetty/etc/jetty-webapp.xml exists in 9.0 but not on 9.1
Updated by Nicolas CHARLES 8 days ago
There is a global problem on rpm to 9.1, and for Apache on SLES
Updated by Nicolas CHARLES 8 days ago
- Assignee set to Félix DALLIDET
- Priority changed from To review to 1 (highest)
setting to P1 as it impacts the upgrade
Updated by Nicolas CHARLES 8 days ago
- Related to Bug #28411: Could not find rudder-apache-relay-ssl.conf after upgrade on SLES15 SP4 added
Updated by Nicolas CHARLES 8 days ago
8.3 is not maintained anymore
We need to ensure the initial install does work, and if so, we can close this ticket
Updated by Nicolas CHARLES 8 days ago
- Related to deleted (Bug #28411: Could not find rudder-apache-relay-ssl.conf after upgrade on SLES15 SP4)
Updated by Nicolas CHARLES 8 days ago
- Has duplicate Bug #28411: Could not find rudder-apache-relay-ssl.conf after upgrade on SLES15 SP4 added
Updated by Félix DALLIDET 7 days ago
- Status changed from New to Resolved
Fresh install seems ok on 9.0 and 9.1. Closing the ticket.
Actions