Upgrade debian 10.4 to 10.10

58 views
Skip to first unread message

Didier Decoodt

unread,
Feb 23, 2022, 12:38:55 PM2/23/22
to Brotli
Hi all

I have a site on debian 10.4 with apache, and I have implemented brotli
Today I would like to upgrade my debian to 10.10 (or 11), but during the upgrade, Apache don't want anymore restart

Have you an idea of the problem? May be I have missed someting...

Thank you very much for your help

Didier Decoodt

unread,
Feb 23, 2022, 1:07:50 PM2/23/22
to Brotli
In order to help you, hereafter messages during upgrade to debian 10.10 (just a part):
________________________________________________________________
.....
.....
Paramétrage de libavformat58:amd64 (7:4.1.8-0+deb10u1) ...
Paramétrage de apache2 (2.4.38-3+deb10u7) ...
info: Executing deferred 'a2enconf apache2-doc' for package apache2-doc
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
invoke-rc.d: initscript apache2, action "restart" failed.
● apache2.service - The Apache HTTP Server
   Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2022-02-23 18:55:55 CET; 12ms ago
     Docs: https://httpd.apache.org/docs/2.4/
  Process: 17929 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)

févr. 23 18:55:55 meteo systemd[1]: Starting The Apache HTTP Server...
févr. 23 18:55:55 meteo apachectl[17929]: AH00526: Syntax error on line 4 of /etc/apache2/mods-enabled/brotli.conf:
févr. 23 18:55:55 meteo apachectl[17929]: Invalid command 'BrotliCompressionLevel', perhaps misspelled or defined by a module not included in the server configuration
févr. 23 18:55:55 meteo apachectl[17929]: Action 'start' failed.
févr. 23 18:55:55 meteo apachectl[17929]: The Apache error log may have more information.
févr. 23 18:55:55 meteo systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
févr. 23 18:55:55 meteo systemd[1]: apache2.service: Failed with result 'exit-code'.
févr. 23 18:55:55 meteo systemd[1]: Failed to start The Apache HTTP Server.
Paramétrage de libbind9-161:amd64 (1:9.11.5.P4+dfsg-5.1+deb10u6) ...
Paramétrage de libcupsimage2:amd64 (2.2.10-6+deb10u4) ...
....
....
______________________________________________________

I can see an error on Line 4 of brotli.conf

Hereafter my config file:
____________________________________________________
<IfModule brotli_module>
  # Compression
  ## BrotliCompressionLevel: 0-11 (default: 11)
  BrotliCompressionLevel 10
  ## BrotliWindowSize: 10-24 (default: 22)
  BrotliWindowSize 22
  # Logging
  # Filter note
  BrotliFilterNote Input  brotli_in
  BrotliFilterNote Output brotli_out
  BrotliFilterNote Ratio  brotli_ratio
  #LogFormat '"%r" %{brotli_out}n/%{brotli_in}n (%{brotli_ratio}n)' brotli
  #CustomLog ${APACHE_LOG_DIR}/brotli_access.log brotli
  # Output filter
  AddOutputFilterByType BROTLI text/html text/plain text/css text/xml
  AddOutputFilterByType BROTLI text/css
  AddOutputFilterByType BROTLI application/x-javascript application/javascript
  AddOutputFilterByType BROTLI application/rss+xml
  AddOutputFilterByType BROTLI application/xml
  AddOutputFilterByType BROTLI application/json
  # Global output filer if necessary.
  # SetOutputFilter BROTLI
  # SetEnvIfNoCase Request_URI \.txt$ no-br
</IfModule>
__________________________________________________________

If you need more information, let me know

Thanks
Reply all
Reply to author
Forward
0 new messages