I have disabled brotli (command a2dismod brotli) 
No more errors about brotli during upgrade

Thank's

Le vendredi 25 février 2022 à 10:57:44 UTC+1, [email protected] a écrit :

> I agree with you, I will try to disable brotli, it's a good idea
> I have also opened a discussion on brotli google group, but no news...
>
> Le ven. 25 févr. 2022 à 10:53, [email protected] <[email protected]> a 
> écrit :
>
>> That error does not have anythink to do with Weewx, you should google 
>> with error or try to disable that brotli compression and then upgrade.
>>
>> torstai 24. helmikuuta 2022 klo 12.21.07 UTC+2 [email protected] 
>> kirjoitti:
>>
>>> Hi
>>>
>>> During the first upgrade (10.4 to 10.10), I have an error:
>>>
>>> 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.
>>>
>>> May be due to brotli, I check brotli.conf (but I think it's correct...)
>>>
>>> <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>
>>>
>>> Le jeu. 24 févr. 2022 à 10:29, [email protected] <[email protected]> a 
>>> écrit :
>>>
>>>> Hi,
>>>>
>>>> You can upgrade to Debian 11. Here's one howto: 
>>>> https://www.linuxtechi.com/how-to-upgrade-debian-10-to-debian-11/
>>>> Since you are using VMware, take a snapshot before upgrade, and maybe 
>>>> also copy important weewx files to somewhere safe too.
>>>> It should be flawless, but you newer know... :) 
>>>>
>>>>
>>>>
>>>> keskiviikko 23. helmikuuta 2022 klo 18.21.14 UTC+2 [email protected] 
>>>> kirjoitti:
>>>>
>>>>> Thanks for your answer
>>>>> I have not a raspberry, this is a virtual machine 64bits on a 
>>>>> vmware server, but I think that the upgrade is similar.
>>>>>
>>>>> Le mer. 23 févr. 2022 à 16:21, Aslak Vaa <[email protected]> a écrit :
>>>>>
>>>>>> It is possible to make an upgrade from Raspbian OS Buster to Bullseye 
>>>>>> as long as you do not change from 32 bits to 64 bits version or vice 
>>>>>> versa.
>>>>>> You will find instructions on how to make an upgrade by searching the 
>>>>>> net with keywords "Raspbian OS Buster to Bullseye Raspberry Pi". 
>>>>>> The only issue is that you will have to keep buster in the 
>>>>>> file /etc/apt/sources.list.d/weewx.list. It will not work when you 
>>>>>> replace 
>>>>>> buster with bullseye in that file.
>>>>>>
>>>>>> I have a Raspberry Pi 4 Model B with 4 GB of RAM. I previously ran 
>>>>>> Buster in 32 bits version, and I wanted Bullseye in 64 bits version,.
>>>>>> I started with a fresh installation of Bullseye 64 bits, and I made a 
>>>>>> full installation of weewx with extensions and all prerequisits. After 
>>>>>> transferring configuration,  database and other changed files from old 
>>>>>> Buster setup and starting up weewx, everything worked just fine.
>>>>>> If you have 4 GB RAM or more in your Raspberry Pi, I will recommend 
>>>>>> that you go for the 64 bits version. 
>>>>>> With older RPis 32 bits Bullseye will be the only option even if RPi 
>>>>>> 3 is able to run the 64 bits version of OS. 
>>>>>>
>>>>>> On Wednesday, February 23, 2022 at 2:08:21 PM UTC+1 
>>>>>> [email protected] wrote:
>>>>>>
>>>>>>> Hi
>>>>>>>
>>>>>>> Today I have a debian 10, weewx 4.6.2 and Belchertown skin 1.3b1 
>>>>>>> (working perfectly)
>>>>>>> Is it possible to upgarde debian to next release 11 bullseye ?
>>>>>>>
>>>>>>> If yes, what is the procedure?
>>>>>>>
>>>>>>> Many thanks
>>>>>>>
>>>>>>> -- 
>>>>>> You received this message because you are subscribed to the Google 
>>>>>> Groups "weewx-user" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>> send an email to [email protected].
>>>>>> To view this discussion on the web visit 
>>>>>> https://groups.google.com/d/msgid/weewx-user/78ac619e-bdb8-411f-9764-cbf260f4d346n%40googlegroups.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/weewx-user/78ac619e-bdb8-411f-9764-cbf260f4d346n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>>
>>>>>
>>>>>
>>>>> -- 
>>>>> Quel temps fait-il à Auffargis <https://meteo-auffargis.decoodt.eu> ?
>>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "weewx-user" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>>
>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/weewx-user/17e83413-b901-42b2-a804-d7483403af3bn%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/weewx-user/17e83413-b901-42b2-a804-d7483403af3bn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>
>>>
>>> -- 
>>> Quel temps fait-il à Auffargis <https://meteo-auffargis.decoodt.eu> ?
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "weewx-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/c713eae4-3f0d-4fa3-9cc2-f9c37f43d1e7n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/c713eae4-3f0d-4fa3-9cc2-f9c37f43d1e7n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> Quel temps fait-il à Auffargis <https://meteo-auffargis.decoodt.eu> ?
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/5220872c-d07a-4cb5-a8f9-9fcc4cb5dc1cn%40googlegroups.com.

Reply via email to