@OP: don't give up too early, too fast 😉

As per his OP, it looks as if he is using Apache2, however, if the web server is configured properly and configured to display the html files created under /home/weewx/public_html (and if it's running at all) is a different question.

Weewx seems to run properly, saves every 5 minutes data to the database and the pictures and the html page of the Seasons skin are created - the issue is that they are not displayed in the browser.

So it appears to be web server configuration question

Afaik, by default, apache2 expects files to be read from outside via http/https to be located in /var/www/html and subdirectories. If another directory / path is being used (e.g. /home/weewx/public_html), Apache needs to be told (and needs to have read rights for this directory).

maybe for an inexperienced user (we don't know the experience level of the OP) our explanations need to be more explicit

first of all, as stupid as it may sound, apache needs to run:
check via: *service apache2 status*
then
see what several posts/replies suggest:
---------------
... have the file "weewx.conf" in "/etc/apache2/conf-enabled/" folder?

this file (weewx.conf) is NOT the weewx.conf from /etc/weewx used to start weewx but a file with the same name (i.e. weewx.conf) and it should have the content which is shown below, starting with "Alias /weewx ...." (without "")

*Alias /weewx /home/weewx/public_html*
*<Directory /home/weewx/public_html>*
*    Options FollowSymlinks*
*    AllowOverride None*
*    Require all granted*
*</Directory>*
---------------
if it exists, check if the content matches the bold text above
if it doesn't exist, create a text file weewx.conf with the above content in bold - save !

apache2 needs to be restarted after changes made (or creation) of/to (the Apache specific file) weewx.conf
with
|sudo /etc/init.d/apache2 restart|

then in principle the Seasons skin should be visible in the web browser

Another test could be to copy the content of /home/weewx/public_html
to /var/www/html/weewx
(create the folder weewx if not existing with sudo mkdir /var/www/html/weewx)
allow apache to read it
sudo chmod -R 755 /var/www/html/weewx
and then check in the browser:
http://ip-address/weewx

if this works, apache2 is running properly and also hasn't been told where to pick up the weewx index.html


On 29.05.2021 15:40, Tom Keffer wrote:
He may not be using Apache. Indeed, he may not have a webserver at all --- we don't know.

On Sat, May 29, 2021 at 5:52 AM [email protected] <mailto:[email protected]> <[email protected] <mailto:[email protected]>> wrote:

    Check to see if the weewx.conf  is also in 
    /etc/apache2/conf-available folder.

    On Saturday, May 29, 2021 at 4:25:05 AM UTC-4
    [email protected] <mailto:[email protected]> wrote:

        i reinstalled all of them ... then i checked the folders on
        the spot and checked their contents. without success! I give up.

        vince schrieb am Samstag, 29. Mai 2021 um 03:45:52 UTC+2:


            See if the FAQ
            <https://github.com/weewx/weewx/wiki/faq-web-pages-not-appearing> 
helps
            any.

            You've established weewx is generating files. You haven't
            pinned down whether weewx+apache are in agreement on where
            the web pages are, nor if apache is running at all.


            On Friday, May 28, 2021 at 6:22:18 PM UTC-7
            [email protected] wrote:

                Do you have the file "weewx.conf" in
                "/etc/apache2/conf-enabled/" folder?


                Alias /weewx /home/weewx/public_html
                <Directory /home/weewx/public_html>
                    Options FollowSymlinks
                    AllowOverride None
                    Require all granted
                </Directory>

                If not, add the file and restart apache2

                On Friday, May 28, 2021 at 9:08:58 PM UTC-4
                [email protected] wrote:

                    Everything looks totally normal to me. Did you
                    browse to file:///home/weewx/public_html/?

                    Or, did you tell your webserver to look there?

                    On Fri, May 28, 2021 at 5:40 PM
                    '[email protected]' via weewx-user
                    <[email protected]> wrote:


                        index.PNG


                        the funny thing is there is also data in the
                        file but i can't call it up


                        [email protected] schrieb am Samstag,
                        29. Mai 2021 um 02:34:30 UTC+2:

                            Unbenannt.PNG

                            [email protected] schrieb am
                            Samstag, 29. Mai 2021 um 02:33:35 UTC+2:



                                weewx.PNG
                                [email protected] schrieb am Samstag,
                                29. Mai 2021 um 02:15:55 UTC+2:

                                    Weewx seems to be running normally.

                                    Is there a question in there? Did
                                    you look in /home/weewx/public_html?

                                    On Fri, May 28, 2021 at 5:00 PM
                                    '[email protected]' via
                                    weewx-user
                                    <[email protected]> wrote:

                                        addendum

                                        May 29 00:56:02 raspberrypi
                                        weewx[471] INFO weewx.manager:
                                        Added record 2021-05-29
                                        00:55:00 BST (1622246100) to
                                        database 'weewx.sdb'
                                        May 29 00:56:02 raspberrypi
                                        weewx[471] INFO weewx.manager:
                                        Added record 2021-05-29
                                        00:55:00 BST (1622246100) to
                                        daily summary in 'weewx.sdb'
                                        May 29 00:56:02 raspberrypi
                                        weewx[471] DEBUG
                                        weewx.reportengine: Running
                                        reports for latest time in the
                                        database.
                                        May 29 00:56:02 raspberrypi
                                        weewx[471] DEBUG
                                        weewx.reportengine: Running
                                        report 'SeasonsReport'
                                        May 29 00:56:02 raspberrypi
                                        weewx[471] DEBUG
                                        weewx.reportengine: Found
                                        configuration file
                                        /home/weewx/skins/Seasons/skin.conf
                                        for report 'SeasonsReport'
                                        May 29 00:56:02 raspberrypi
                                        weewx[471] DEBUG
                                        weewx.cheetahgenerator: Using
                                        search list
                                        ['weewx.cheetahgenerator.Almanac',
                                        'weewx.cheetahgenerator.Station',
                                        'weewx.cheetahgenerator.Current',
                                        'weewx.cheetahgenerator.Stats',
                                        'weewx.cheetahgenerator.UnitInfo',
                                        'weewx.cheetahgenerator.Extras',
                                        'weewx.cheetahgenerator.JSONHelpers']
                                        May 29 00:56:02 raspberrypi
                                        weewx[471] DEBUG
                                        weewx.manager: Daily summary
                                        version is 4.0
                                        May 29 00:56:04 raspberrypi
                                        weewx[471] INFO
                                        weewx.cheetahgenerator:
                                        Generated 8 files for report
                                        SeasonsReport in 2.03 seconds
                                        May 29 00:56:04 raspberrypi
                                        weewx[471] DEBUG
                                        weewx.manager: Daily summary
                                        version is 4.0
                                        May 29 00:56:05 raspberrypi
                                        weewx[471] INFO
                                        weewx.imagegenerator:
                                        Generated 15 images for report
                                        SeasonsReport in 0.58 seconds
                                        May 29 00:56:05 raspberrypi
                                        weewx[471] INFO
                                        weewx.reportengine: Copied 5
                                        files to /home/weewx/public_html
                                        May 29 00:56:05 raspberrypi
                                        weewx[471] DEBUG
                                        weewx.reportengine: Report
                                        'SmartphoneReport' not
                                        enabled. Skipping.
                                        May 29 00:56:05 raspberrypi
                                        weewx[471] DEBUG
                                        weewx.reportengine: Report
                                        'MobileReport' not enabled.
                                        Skipping.
                                        May 29 00:56:05 raspberrypi
                                        weewx[471] DEBUG
                                        weewx.reportengine: Report
                                        'StandardReport' not enabled.
                                        Skipping.
                                        May 29 00:56:05 raspberrypi
                                        weewx[471] DEBUG
                                        weewx.reportengine: Report
                                        'FTP' not enabled. Skipping.
                                        May 29 00:56:05 raspberrypi
                                        weewx[471] DEBUG
                                        weewx.reportengine: Report
                                        'RSYNC' not enabled. Skipping.
                                        May 29 00:56:50 raspberrypi
                                        dhcpcd[601]: eth0: Router
                                        Advertisement from
                                        fe80::cece:1eff:fe3a:d164

                                        [email protected]
                                        schrieb am Samstag, 29. Mai
                                        2021 um 01:59:44 UTC+2:


                                            Hey

                                            Hardware:
                                            Froggit WS1050
                                            Pi 4
                                            Rasbian os
                                            Weewx 4.5.1
                                            LOG:
                                            pi@raspberrypi:~ $ tail -f
                                            /var/log/syslog
                                            May 29 00:50:23
                                            raspberrypi systemd[727]:
                                            Listening on GnuPG network
                                            certificate management daemon.
                                            May 29 00:50:23
                                            raspberrypi systemd[727]:
                                            Listening on GnuPG
                                            cryptographic agent and
                                            passphrase cache (access
                                            for web browsers).
                                            May 29 00:50:23
                                            raspberrypi systemd[727]:
                                            Reached target Sockets.
                                            May 29 00:50:23
                                            raspberrypi systemd[727]:
                                            Reached target Basic System.
                                            May 29 00:50:23
                                            raspberrypi systemd[727]:
                                            Reached target Default.
                                            May 29 00:50:23
                                            raspberrypi systemd[727]:
                                            Startup finished in 163ms.
                                            May 29 00:50:23
                                            raspberrypi systemd[1]:
                                            Started User Manager for
                                            UID 1000.
                                            May 29 00:50:23
                                            raspberrypi systemd[1]:
                                            Started Session 1 of user pi.
                                            May 29 00:50:23
                                            raspberrypi dhcpcd[601]:
                                            eth0:
                                            fe80::cece:1eff:fe3a:d164
                                            is reac hable again
                                            May 29 00:50:23
                                            raspberrypi dhcpcd[601]:
                                            eth0:
                                            fe80::cece:1eff:fe3a:d164
                                            is reac hable again
                                            May 29 00:50:25
                                            raspberrypi systemd[1]:
                                            systemd-hostnamed.service:
                                            Succeeded.
                                            May 29 00:50:34
                                            raspberrypi weewx[471]
                                            DEBUG weewx.drivers.fousb:
                                            new data
                                            May 29 00:50:34
                                            raspberrypi weewx[471]
                                            DEBUG weewx.drivers.fousb:
                                            setting sensor clock 10.0725
                                            May 29 00:50:34
                                            raspberrypi weewx[471]
                                            DEBUG weewx.drivers.fousb:
                                            live synchronised
                                            May 29 00:50:34
                                            raspberrypi weewx[471]
                                            DEBUG weewx.drivers.fousb:
                                            packet timestamp is 23:50:34
                                            May 29 00:50:34
                                            raspberrypi weewx[471]
                                            DEBUG weewx.drivers.fousb:
                                            estimated log time
                                            23:36:04 +/- 30s
                                            (23:35:34..23:36:34)
                                            May 29 00:51:19
                                            raspberrypi weewx[471]
                                            DEBUG weewx.drivers.fousb:
                                            avoid 5.861218690872192
                                            May 29 00:51:25
                                            raspberrypi weewx[471]
                                            DEBUG weewx.drivers.fousb:
                                            new data
                                            May 29 00:51:25
                                            raspberrypi weewx[471]
                                            DEBUG weewx.drivers.fousb:
                                            packet timestamp is 23:51:22
                                            May 29 00:51:25
                                            raspberrypi weewx[471]
                                            DEBUG weewx.drivers.fousb:
                                            estimated log time
                                            23:35:58 +/- 24s
                                            (23:35:34..23:36:22)
                                            May 29 00:52:07
                                            raspberrypi weewx[471]
                                            DEBUG weewx.drivers.fousb:
                                            avoid 5.878083229064941
                                            May 29 00:52:13
                                            raspberrypi weewx[471]
                                            DEBUG weewx.drivers.fousb:
                                            new data
                                            May 29 00:52:13
                                            raspberrypi weewx[471]
                                            DEBUG weewx.drivers.fousb:
                                            packet timestamp is 23:52:10
                                            May 29 00:52:13
                                            raspberrypi weewx[471]
                                            DEBUG weewx.drivers.fousb:
                                            estimated log time
                                            23:35:52 +/- 18s
                                            (23:35:22..23:36:10)
                                            May 29 00:52:55
                                            raspberrypi weewx[471]
                                            DEBUG weewx.drivers.fousb:
                                            avoid 5.862777233123779
                                            May 29 00:53:01
                                            raspberrypi weewx[471]
                                            DEBUG weewx.drivers.fousb:
                                            new data
                                            May 29 00:53:01
                                            raspberrypi weewx[471]
                                            DEBUG weewx.drivers.fousb:
                                            packet timestamp is 23:52:58
                                            May 29 00:53:01
                                            raspberrypi weewx[471]
                                            DEBUG weewx.drivers.fousb:
                                            estimated log time
                                            23:36:04 +/- 6s
                                            (23:35:58..23:36:10)
                                            May 29 00:53:01
                                            raspberrypi weewx[471]
                                            DEBUG weewx.drivers.fousb:
                                            synchronised to 2021-05-28
                                            23:36:04 for ptr 0x2110
                                            May 29 00:53:01
                                            raspberrypi weewx[471]
                                            DEBUG weewx.drivers.fousb:
                                            found 0 archive records
                                            May 29 00:53:01
                                            raspberrypi weewx[471]
                                            INFO weewx.engine:
                                            Starting main packet loop.


                                            Install by setup.py

                                            the installation was
                                            without any problems. but
                                            now I can't get the
                                            apache2 forwarding ... I
                                            can't find the fault ...


                                            There are all the
                                            necessary html files on
                                            the server, but I can't
                                            call any ...


                                            need help -

-- 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/1dc96e0f-e0cf-4a9c-be28-5cebf436a983n%40googlegroups.com
                                        
<https://groups.google.com/d/msgid/weewx-user/1dc96e0f-e0cf-4a9c-be28-5cebf436a983n%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 on the web visit
                        
https://groups.google.com/d/msgid/weewx-user/cec65ecb-cb0f-46d5-88d6-7bad45349e1an%40googlegroups.com
                        
<https://groups.google.com/d/msgid/weewx-user/cec65ecb-cb0f-46d5-88d6-7bad45349e1an%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]
    <mailto:[email protected]>.
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/weewx-user/84a1239c-95e9-4dde-a2fa-beb6f7a1fccan%40googlegroups.com
    
<https://groups.google.com/d/msgid/weewx-user/84a1239c-95e9-4dde-a2fa-beb6f7a1fccan%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] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEAnY4B3T-wHhVdjHLsAn5w%2BPPVqUJg7vywxJX1O1fV2og%40mail.gmail.com <https://groups.google.com/d/msgid/weewx-user/CAPq0zEAnY4B3T-wHhVdjHLsAn5w%2BPPVqUJg7vywxJX1O1fV2og%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/24bba7ec-87a0-17bd-4358-774f400d2fe0%40gmail.com.

Reply via email to