hello Mickael,

all is good, I finished to install the "belchertown skin" also, there was an error inside belchertown.py.

It needs to be replaced. "locale.format() with locale.format_string()".

have a good day

Patrick

Le 06/12/2025 à 15:55, '[email protected]' via weewx-user a écrit :
The webserver you may be using is completely independent from your WeeWX installation and how WeeWX was installed. In WeeWX you only configure where the generated pages will be written to. Again, make sure that both WeeWX and the webserver have sufficient rights to access the files.

salinois schrieb am Samstag, 6. Dezember 2025 um 15:17:24 UTC+1:

    hello Vince,

    Answers in red in your advice.

    now, I try to install the "Belchertown Skin", are there any
    specific considerations for installation in a Venv environment ?

    Particularly regarding the Apache2 configuration.

    Thanks

    Patrick


    Le 05/12/2025 à 23:14, vince a écrit :
    Patrick:

      * Whether you are using 'pip' or 'dpkg' does not matter at all.
         Weewx v5 runs as the user who the venv runs under (pip) or
        it runs as a generic user weewx (dpkg), neither of which is
        root.  You have to ensure that whatever directory you want to
        log to is writable by that user. OK for me

      * If you want to use rsyslogd (which I use, FWIW), then if you
        install the unaltered util/rsyslog.d/weewx file in to
        /etc/rsyslog.d (and restart rsyslogd), the default will log
        all your weewx log entries to /var/log/weewx/weewxd.log and
        it will all be in one place.  You'll need to add yourself to
        group 'adm' to be able to read those files without using
        sudo.  Also remember to also install the provided
        util/logrotate.d/weewx file to /etc/logrotate.d so that the
        logs rotate automatically. it works with this solution suits me.

      * If you want to log via rsyslog to someplace else, you'll need
        to edit those config files to point to wherever you want, and
        set permissions correctly so rsyslogd (which runs as
        user=root group=adm) has permissions to write, and so that
        logrotate also has permissions to rotate the logs
        automatically.   If you move things around, the onus is on
        you to make it all work as the system integrator.  If you
        take the defaults you don't need to worry that stuff.

    There is 'nothing' special or even remotely weewx related in the
    permission issues you are seeing.  This is all very basic how
    *nix permissions work.

    On Friday, December 5, 2025 at 1:57:39 PM UTC-8 salinois wrote:

        Yes, I understand,

        but I'd really like to try the other solution!

        patrick

        Le 05/12/2025 à 21:08, '[email protected]' via weewx-user a
        écrit :
        It works and everything is contained in the config. No
        external configs, no symlinking, nothing else to do. That's
        why I'm using this ever since I stumbled across it.

-- 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 visit
    
https://groups.google.com/d/msgid/weewx-user/e64b14f6-280c-40e1-89a2-b8bbf47c8eaen%40googlegroups.com
    
<https://groups.google.com/d/msgid/weewx-user/e64b14f6-280c-40e1-89a2-b8bbf47c8eaen%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
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 visit https://groups.google.com/d/msgid/weewx-user/9c9a4c2c-dd4c-4c5b-9d8b-190c8fc57d15n%40googlegroups.com <https://groups.google.com/d/msgid/weewx-user/9c9a4c2c-dd4c-4c5b-9d8b-190c8fc57d15n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
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 visit 
https://groups.google.com/d/msgid/weewx-user/20e1846d-192b-4759-9b95-f710269a4d33%40gmail.com.

Reply via email to