this log doesn't say anything regarding weewx except that weewx wrote two records to its database which is already (at least a partial) success.
Such clipped logfiles are not very helpful.
Otherwise I cannot see any weewx related error.
You have to add debug = 1 to your weewx.conf (at the top of weewx.conf - change debug = 0 to debug =1),
save and restart weewx.
And then provide the COMPLETE syslog entries from weewx start until at least one, better two, archiving cycles. One cycle starts usually every 5 minutes (depending on your settings in weewx.conf).
Without that we can only poke in the dark.


On 06.11.2022 23:43, Alex Vanuxem wrote:
thx man;

so where I am at:
installed hyper-v on windows 11
installed an ubuntu virtual machine
tried to instal weewx
got a syslog see attachment
got data in, but with errors, see log
still need to connect the virtual machine with windows, struggling with that
still need to install system.d struggling with that too





Op za 5 nov. 2022 om 09:23 schreef Rainer Lang <lang.rai...@gmail.com>:

    one more thing:
    first of all you have to check if systemd is installed in your
    ubuntu installation - if not you need to install it (or something
    equivalent)
    how to find out ?
    run
    sudo /service --status-all
    (or when you are the root user without the "sudo")
    /
    If systemd is not installed, have a look at/
    /
    e.g. https://github.com/DamionGans/ubuntu-wsl2-systemd-script

    with the below commands you can install systemd under ubuntu on WSL2

    |sudo apt install git
    git clone
    https://github.com/DamionGans/ubuntu-wsl2-systemd-script.git
    cd ubuntu-wsl2-systemd-script/
    bash ubuntu-wsl2-systemd-script.sh
    # Enter your password and wait until the script has finished
    systemctl|

    ||


    |You also have to look if the rsyslog service is installed/running
    (see above command service --status-all)
    if not, you can try|
    |sudo apt-get install rsyslog||
    |

    ||

    On 05.11.2022 07:33, Rainer Lang wrote:
    maybe we are talking cross-purpose:
    what you describe below is exactly the installation of WSL
    (exactly speaking WSL2) under Windows 11.
    Also with Win 11 you have to create the connection between the
    Windows 11 installation and the VM if some application or device
    in the local network
    wants to connect with an application inside the VM (here weewx).
    Ubuntu on WSL2 doesn't contain by default certain services like
    systemd or rsyslogd. They need to be installed by you manually.
    Again, there is plenty of documentation for this. Especially for
    installing systemd under WSL2.
    e.g. for the network integration and firewall
    
https://stackoverflow.com/questions/61002681/connecting-to-wsl2-server-via-local-network
    If you use such environments, you need to know their
    "shortcoming" and needs. 😎

    On 05.11.2022 03:31, Alex Vanuxem wrote:
    hey,

    It was under wsl.
    *but now i installed under windows 11, hyper-v and installed an
    ubuntu latest version under a virtual machine, i have the full
    program;*
    now i'm struggling again;
    again no syslog, it says its installed, but cant start it
    i can invoke ./bin/weewxd , i see a lot of data coming in in my
    terminal, but no reports to var/www/html/ weewx,
    i guess it something to do with permissions? or am i just dumb
    thank you for your time,






    Op vr 4 nov. 2022 om 22:24 schreef Rainer Lang
    <lang.rai...@gmail.com>:

        When you want to use weewx under WSL (which works perfectly
        by the way - at least with the Interceptor and the Ecowitt
        Gateway driver),
        you need to make sure that the connectivity between the
        virtual machine in which WSL is running and the local
        network the WSL host computer is running in
        has been established.
        There are recipes for that - Google is your friend - they
        describe Windows Powershell commands to be applied for this
        to work.

        That's not a weewx specific issue - it applies to any
        application running in WSL (Windows Subsystem for Linux) and
        needing to contact/communicate
        with the local network of the host computer.

        On 04.11.2022 19:47, vince wrote:
        We really need more information on your setup.

        It 'seems' like you are trying to run a rather unusual
        configuration.

        I noticed this in your errors.txt file:

          * "Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.29"

                   ==> are you trying to run weewx under Windows
        WSL perhaps ?

        I also see the following:

          * Message: 'Socket error while opening port %d to
            ethernet host %s.' Arguments: (22222, '192.168.0.248')
            --- Logging error --- Traceback (most recent call
            last): File
            "/usr/share/weewx/weewx/drivers/vantage.py", line 338,
            in openPort self.socket.connect((self.host, self.port))
            OSError: [Errno 113] No route to host

                     ==> this is a networking issue in your setup

        We can't try to duplicate the problem(s) without knowing
        more about your setup.

-- 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
        weewx-user+unsubscr...@googlegroups.com.
        To view this discussion on the web visit
        
https://groups.google.com/d/msgid/weewx-user/19a056c8-8f87-4460-b31c-feb78448ccbbn%40googlegroups.com
        
<https://groups.google.com/d/msgid/weewx-user/19a056c8-8f87-4460-b31c-feb78448ccbbn%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
        weewx-user+unsubscr...@googlegroups.com.
        To view this discussion on the web visit
        
https://groups.google.com/d/msgid/weewx-user/fef7077b-712b-cc8e-9aa2-02c9e91e260f%40gmail.com
        
<https://groups.google.com/d/msgid/weewx-user/fef7077b-712b-cc8e-9aa2-02c9e91e260f%40gmail.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 weewx-user+unsubscr...@googlegroups.com.
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/weewx-user/CAHaYyo%2BUxKKd55E8VixmNnARUgsF-bEzqZvNQbjjD8UGxDNjLA%40mail.gmail.com
    
<https://groups.google.com/d/msgid/weewx-user/CAHaYyo%2BUxKKd55E8VixmNnARUgsF-bEzqZvNQbjjD8UGxDNjLA%40mail.gmail.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 weewx-user+unsubscr...@googlegroups.com.
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/weewx-user/fbd1bfa3-b750-b82d-b034-f9c733d6f5e4%40gmail.com
    
<https://groups.google.com/d/msgid/weewx-user/fbd1bfa3-b750-b82d-b034-f9c733d6f5e4%40gmail.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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAHaYyo%2BRqGAXg_xSZn3TyH7WZTrKOq8mrjKJfGv2-U0FPOHjAA%40mail.gmail.com <https://groups.google.com/d/msgid/weewx-user/CAHaYyo%2BRqGAXg_xSZn3TyH7WZTrKOq8mrjKJfGv2-U0FPOHjAA%40mail.gmail.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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/f5a3886c-76e3-c538-a621-6d6d6c103014%40gmail.com.

Reply via email to