After installation - no generated html-file

2,148 views
Skip to first unread message

Andre Heidemann

unread,
Feb 27, 2016, 3:10:38 AM2/27/16
to weewx-user
Hi guys,

i using the weewx software since 2014 with my TFA Nexus Weather Station here in Germany.

Now, I’ve updated from a old RasPi to the modell 2. I will use the original 7 inch touch display for the new

Raspi. So I installed the newest Weewx version on the graphical way, without the console, double klicking

the weewx 3.4.0-1_all.deb file. The installation process was fine and so I could start weewx over the init.d command.

 

But I was surprised, that during the installation progress was no question about the Name of the station…and so on.

 

I looked to the /var/www folder, but there was no folder with the name ‘weewx’.

 

So I’ve uninstalled this version and installed it after a reboot with the dpkg-option. During the installation, he asks me for

the name of the station and so on. He wrote this data in the weewx.conf file with success.

The sudo tail -f /var/log/syslog shows me, that weewx works with the weather station.

 

But if I start weewx, he doesn’t give me no generated .html file in any folder. Not in the /var/www and also in the home/weewx.

After one day, i look again for the index.html, but there was no file on the pi. 

The last years, i wrote the IP in the browser of my PC and there was the site of weewx. That was beautiful.  


The /home/weewx folder isn’t on the pi. I work already four days on this problem, with so many sites on the internet, but there are no

way to solve my problem.

 

Do you have any idea ?

 

Thank you very much…

 

André 

gjr80

unread,
Feb 27, 2016, 3:32:25 AM2/27/16
to weewx-user
Hi,

Could be any one of a number of things, the log is your friend. Could you set debug=1 in weex.conf, then stop/start weewx and then post the log from the time weewx started until a few reporting cycles have completed (say 15 minutes if you have a 5 minute archive period).

Gary

Andre Heidemann

unread,
Feb 27, 2016, 5:15:27 AM2/27/16
to weewx-user
Hi Gary !

Thank you for your posting. I've set it on 1 today, and have restarted weewx, but the last entry was from yesterday evening. After this time, i installed weewx again. But in the moment, the system doesn't log anything in the syslog-file.

Should i install weewx again over the method without the console ? 

That's the circle, i ran since five days. 

Thank you for your great and fast support, guys !

Best regards

André

gjr80

unread,
Feb 27, 2016, 5:34:37 AM2/27/16
to weewx-user
Hi Andre,

Don't go reinstalling for the time being or you will just continue to chase your tail. Unusual for their to be nothing in the log, even if weewx fails on startup there will normally be something saying that weex was starting. Have you tried to run weewx directly from the command line as per the instructions here http://weewx.com/docs/usersguide.htm#Running_directly ? If you do run from the command line is anything displayed?

Gary

Andre Heidemann

unread,
Feb 27, 2016, 6:19:46 AM2/27/16
to weewx-user
Hi Gary,

i've stopped the weewx service over the init.d and started it again with your command line instruction from 'running directly'.

Here is the result:


I made a screenshot of it. I think, the packages aren't correctly installed ?

Best regards and thank you

André

gjr80

unread,
Feb 27, 2016, 6:36:51 AM2/27/16
to weewx-user
It looks like you are in the /home/pi directory so you will need to specify the path to weewx.conf, something like

sudo weewxd /home/weewx/weewx.conf

though the exact path wil depend on your install.

Gary

Andre Heidemann

unread,
Feb 27, 2016, 7:11:29 AM2/27/16
to weewx-user
That's also a problem. Under /home is only the 'pi' directory. No 'weewx' directory. That's a really interesting phenomen.

But what schould i do. I'am a Raspberry pi beginner, in this case.

Thank you for all

André    

gjr80

unread,
Feb 27, 2016, 7:17:58 AM2/27/16
to weewx-user
How about /etc/weewx ?

Andre Heidemann

unread,
Feb 27, 2016, 7:54:55 AM2/27/16
to weewx-user
Yes, that's on the Rpi...with 5 folders and 2 Files, the weewx.conf and the weewx.conf.dist .



Am Samstag, 27. Februar 2016 13:17:58 UTC+1 schrieb gjr80:
How about /etc/weewx ?

gjr80

unread,
Feb 27, 2016, 7:57:43 AM2/27/16
to weewx-user
So try
sudo weewxd /etc/weewx/weewx.conf

Andre Heidemann

unread,
Feb 27, 2016, 11:31:06 AM2/27/16
to weewx-user
Alright ! I've done it. Now i have the normal prompt. should i restart weewx or reboot...or someone else...?

Thank you

André 

Am Samstag, 27. Februar 2016 13:57:43 UTC+1 schrieb gjr80:
So try
sudo weewxd /etc/weewx/weewx.conf

Andre Heidemann

unread,
Feb 27, 2016, 12:27:33 PM2/27/16
to weewx-user
Hi Gary,

now it runs....THANK YOU SOOO MUCH !

You make my day and week ;-)

Thank you for spending your time. I will print this dialog for the furture.
But now, i must look and do some modification with the apache. Because, i can't see the html plot on another client, if i wrote the IP from the RasPi in the browser.
Or is there a special port number for weewx ? But i think no...
And i must change the "Point" Design in the graph. 

Thank you very much..

André

gjr80

unread,
Feb 27, 2016, 9:33:40 PM2/27/16
to weewx-user
Hi André,

Good to hear it is running. Running weewx directly using sudo weewxd /etc/weewx/weewx.conf would have printed loop and archive reords to your screen as well as doing all the other weewx things such as archiving and report generation. If you intend to run weewx unattended it is best to run weewx as a daemon, instructions for doing this are in the User's Guide under Running as a daemon. Of course if you have already set this up then you can disregard.

Weewx neither uses or requires any special ports when used with Apache. A default weewx installation merely generates html files which Apache then serves. The key issue in setting up a web with weewx is to make sure the web server knows where the weewx html files are. The User's Guide has a section Integrating with a web server that may help. I don't use apache myself so can't offer much more re Apache.

Not sure what you mean by


And i must change the "Point" Design in the graph. 

Are you referring to you plot lines consisting of dots (in which case this may help) or are you referring to something else?

Gary

Cancunia

unread,
Feb 16, 2020, 10:08:17 AM2/16/20
to weewx-user
I've just installed Weewx on my Pi, following the download & install instructions in the user guide. The Pi is running Buster lite, downloaded a couple of days ago, so everything is at current levels. My weather station is a Fine Offset. Problem is that Weewx does not generate any records, & running from the command line with debug set to 1 shows no output at all, ctrl c will stop execution. Weewx has been running fine for a couple of years on this Pi, but suddenly WiFi stopped working, then a couple of other problems forced a re-build. 
I'm using a clean install of the OS & Weewx to avoid any conflicts with old configs. 
Any thoughts?

Thanks  

Patrick Tranchant

unread,
Feb 16, 2020, 10:22:03 AM2/16/20
to weewx-user
hello  Cancunia,
 can you open a new post ?
how did you do the install , by setup.py or apt-get install ?
Apache is OK ?

patrick

vince

unread,
Feb 16, 2020, 12:15:23 PM2/16/20
to weewx-user
On Sunday, February 16, 2020 at 7:08:17 AM UTC-8, Cancunia wrote:
Weewx has been running fine for a couple of years on this Pi, but suddenly WiFi stopped working, then a couple of other problems forced a re-build. 
I'm using a clean install of the OS & Weewx to avoid any conflicts with old configs. 
Any thoughts?



You didn't say which model pi, but the model-B tends to eventually corrupt SD cards and the wifi dongles tend to have weak wifi.

Your problem description really doesn't provide any info we can use to help, but it's possible either that you have a corrupted SD card 'or' weak power supply (which will eventually corrupt your SD card).
 

gjr80

unread,
Feb 16, 2020, 4:15:28 PM2/16/20
to weewx-user
Hi,

Could be any of numerous issues, hard to say anything without seeing some logs. Set (leave) debug = 1 in weewx.conf then restart WeeWX. Let WeeWX run for at least 2 or 3 archive intervals and then take an extract from the log from when WeeWX was restarted until the 2 or 3 archive intervals elapsed, make sure your extract includes the entire WeeWX startup sequence. Post the log extract here.

Gary

Reply all
Reply to author
Forward
0 new messages