[weewx-user] Re: Dual Skin + Dual FTP

2022-08-23 Thread vince
Put both skins under public_html and then you'll be able to transfer them 
all up to your remote server in one transaction.

/home/weewx/public_html for the Standard skin
/home/weewx/public_html/Seasons for the Seasons skin

On Tuesday, August 23, 2022 at 8:56:32 AM UTC-7 ton...@gmail.com wrote:

> Presently using Standard skin as basis for presentation through remote 
> server,
> uploading the files from folder /home/weewx/public_html to a folder at 
> remote webserver by means of the built-in FTP of Weewx.
> Have activated Seasons skin, saving Seasons-files in other folder 
> /home/weewx/Seasons_html.
> Would be convenient just to duplicate the setup and apply FTP to forward 
> the Seasons-files to another folder at the remote server.
> Using present weewx.conf might use RSync for the 2nd uploadchannel, but 
> simplicity is preffered and hence aiming for dual FTP. 
>
> Have looked around in the documentation and this group, but did not find 
> info on simple dual parallel FTP. 
> What is appropriate setup in weewx.conf to get such functionality?
>

-- 
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/b3e67f8e-b4a8-420d-a2a5-7ecc4d250126n%40googlegroups.com.


Re: [weewx-user] Re: Power outage without RTC module

2022-08-23 Thread cric...@pobox.com
My solution was to install ntp, plus add a wait routine in 
bin/user/extensions that waits for ntpq -pn to
report sync'd time.  I use that code on the rest of my Rpi's as well.  Can 
send if interested.  FWIW, the RPi that
runs my weather station does have a RTC stacked on the serial port 
(pre-dates said code block).

On Monday, August 22, 2022 at 5:34:27 PM UTC-6 pa...@pauland.net wrote:

> fake-hwclock is just plain silly, by design it sets the OS time to a known 
> wrong state with the premise that it's a better than nothing choice.
> Funny the further down the rabbit hole I go the more I see that I don't 
> like.  Such as debian setting NTPD or timesyncd to use debian.pool.ntp.org 
> ntp servers.
> I certainly don't trust their list of rotating servers to all be accurate. 
> Always set systems to use known highly available servers I trust.
> It's a jungle out there a minimum you need, Belt, Suspenders, and of 
> course a good quality Tin Foil Hat.
>
> Paul
>
>
>
>
>
>
>
>
>
> so strange that a simple thing lige starting
>
> On Mon, Aug 22, 2022 at 5:28 PM vince  wrote:
>
>> On Monday, August 22, 2022 at 10:12:59 AM UTC-7 pa...@pauland.net wrote:
>>
>>> Problem I've seen in the past was that on a Rasberry Pi installrd NTP , 
>>> like I have on every system I've installed since 2004, yet after a power 
>>> outage weeWx started with a bad Os Time. Investigated and found that if I 
>>> removed purged fake-hwclock the expected wait for ntp worked. Now on some 
>>> systems I install ntp others I don't, if it's a PI remove fake-hwclock and 
>>> even if the machine has a RTC I enable systemd-time-wait-sync.
>>>
>>
>> Yes - but be careful there.  Lots of os now have that blasted 
>> fake-hwclock kludge.
>>
>> I remove fake-hwclock and install/enable ntpd everywhere and it's nice 
>> and simple and reliable.  No need to edit anything in weewx at all, which 
>> is an added plus.
>>
>> The pi time-related details are in the FAQ 
>>  and wiki 
>> .
>>
>>
>>
>> -- 
>> 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+...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/221eacc6-2833-420d-ad00-0d6cb4d56c00n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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/50432a30-e42b-423a-bb13-98bb4886aadcn%40googlegroups.com.


[weewx-user] Dual Skin + Dual FTP

2022-08-23 Thread Ton vanN
Presently using Standard skin as basis for presentation through remote 
server,
uploading the files from folder /home/weewx/public_html to a folder at 
remote webserver by means of the built-in FTP of Weewx.
Have activated Seasons skin, saving Seasons-files in other folder 
/home/weewx/Seasons_html.
Would be convenient just to duplicate the setup and apply FTP to forward 
the Seasons-files to another folder at the remote server.
Using present weewx.conf might use RSync for the 2nd uploadchannel, but 
simplicity is preffered and hence aiming for dual FTP. 

Have looked around in the documentation and this group, but did not find 
info on simple dual parallel FTP. 
What is appropriate setup in weewx.conf to get such functionality?

-- 
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/d2bb8032-739f-4081-9557-c47215aa053fn%40googlegroups.com.


Re: [weewx-user] Off topic

2022-08-23 Thread 'Peter Fletcher' via weewx-user
It sounds as if your weewx/solar Pi installation was one or (probably) two 
versions behind the current ('Bullseye') version of the Pi's Debian-based 
OS. While it may be possible to upgrade the OS 'around' the existing 
installed programs, it would take a lot more Linux knowledge than I am 
guessing you have, and would not be guaranteed to work - either in the 
short or in the long term. The right solution (in addition to implementing 
a better backup strategy, going forward!) is almost certainly to be to 
install the latest version of the OS on a new SD Card, reinstall weewx and 
your solar monitoring program, and migrate your data.
weewx is easy! All the data is stored in its database - presumably 
weewx.sdb, in your case.
The solar monitoring program is obviously the issue. I assume that you 
didn't write it yourself, or you would know where it stores its data. Where 
did you get it? How did you originally install it? Was/is there no 
documentation? I assume that you know what it is called - I would try doing 
a Google search for '[program name] data location', and/or '[program name] 
migrate data'. In any event, unless this produces an easy answer, your best 
bet for knowledgeable further help is likely to be The Raspberry PI User 
forums .

On Tuesday, August 23, 2022 at 6:16:36 AM UTC-4 Greg Troxel wrote:

>
> Alastair L  writes:
>
> > Apologies in advance for this off topic question, but I'm sure someone 
> out 
> > there has had a similar issue and solved it. 
>
> It is but many struggle with RPIs.
>
> My advice is
>
> 0) Ask this in RPI-land instead.
> 1) first image the card you have, saving it
> 2) figure out and implement a backup strategy for your data
> 3) get another card, and do an install
> 4) mount it someplace and look at the files in the boot partition and
> see which is different from the card that was in the machine that
> broke. It is possible that your old system hasn't gotten the new
> packages.
> 5) think about using other small computers that are less pesky than the
> RPI. I like the PC engines apu2 series, but last I checked they too
> were having supply chain issues.
>

-- 
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/d786142a-02bb-4049-bc28-be113cf9291en%40googlegroups.com.


Re: [weewx-user] Re: problem with INDEX.HTML file version

2022-08-23 Thread Eric Gammeter
here is the ftp section from syslog
Aug 22 23:30:23 raspberrypi3WEEWX weewx[602] DEBUG weewx.reportengine: 
Report 'StandardReport' not enabled. Skipping.
Aug 22 23:30:23 raspberrypi3WEEWX weewx[602] DEBUG weewx.reportengine: 
Running report 'FTP'
Aug 22 23:30:23 raspberrypi3WEEWX weewx[602] DEBUG weewx.reportengine: 
Found configuration file /etc/weewx/skins/Ftp/skin.conf for report 'FTP'
Aug 22 23:30:23 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: 
Attempting connection to ftp.n8aay.net
Aug 22 23:30:23 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: FTP 
encoding not supported, ignoring.
Aug 22 23:30:25 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: 
Connected to ftp.n8aay.net
Aug 22 23:30:25 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: 0 
./telemetry.html 
74decdc70c9f01a8ec003b56a4e413642983d67acf1155a50d22f04828a6b74c
Aug 22 23:30:25 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: 
Uploaded file /var/www/html/weewx/telemetry.html to 
/weather/4.8/telemetry.html
Aug 22 23:30:25 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: 1 
./celestial.html 
c3007ec0281c5103ecdfa9bee6cbfa601757ed8cf3b0e6c7932dc379402e9803
Aug 22 23:30:25 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: 
Uploaded file /var/www/html/weewx/celestial.html to 
/weather/4.8/celestial.html
Aug 22 23:30:25 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: 2 
./daytempleaf.png 
eb58dd536008095440fdf2b1c848eaea572ec2896f5de82e93e2823dba8e3592
Aug 22 23:30:26 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: 
Uploaded file /var/www/html/weewx/daytempleaf.png to 
/weather/4.8/daytempleaf.png
Aug 22 23:30:26 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: 3 
./daywinddir.png 
052912eb94c903028546f62009d4230e5b3ec98e5b329b2b928d5c2a419aad2c
Aug 22 23:30:26 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: 
Uploaded file /var/www/html/weewx/daywinddir.png to 
/weather/4.8/daywinddir.png
Aug 22 23:30:26 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: 4 
./daytempin.png 
c54b1a3cde478b7da4d3ae3db3fe79dd34090d551d718b59efde8aa4bb0d259d
Aug 22 23:30:26 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: 
Uploaded file /var/www/html/weewx/daytempin.png to 
/weather/4.8/daytempin.png
Aug 22 23:30:26 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: 5 
./daybarometer.png 
adb11e6ba744394f18e2b5347cbee1e04cd72c80a92d458a94f6eff90b148c70
Aug 22 23:30:27 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: 
Uploaded file /var/www/html/weewx/daybarometer.png to 
/weather/4.8/daybarometer.png
Aug 22 23:30:27 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: 6 
./statistics.html 
26bf33fdec867b98e565141abb273ae899a03d2155ea7224583895a5cefc23f2
Aug 22 23:30:27 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: 
Uploaded file /var/www/html/weewx/statistics.html to 
/weather/4.8/statistics.html
Aug 22 23:30:27 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: 7 
./daymoistsoil.png 
6efde047123d0a5c4c8829dc5e603f88fd6a9f80d3c40c6c44272aeba90c2e31
Aug 22 23:30:28 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: 
Uploaded file /var/www/html/weewx/daymoistsoil.png to 
/weather/4.8/daymoistsoil.png
Aug 22 23:30:28 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: 8 
./dayrain.png 
73c3004d753e102b2119814852a0ef1045489239946b36c219f8742df23461c1
Aug 22 23:30:28 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: 
Uploaded file /var/www/html/weewx/dayrain.png to /weather/4.8/dayrain.png
Aug 22 23:30:28 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: 9 
./daywindvec.png 
da557a14590f592873244f956c5d082191eed5d68182e0dc77d4dcaf379e6dd9
Aug 22 23:30:29 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: 
Uploaded file /var/www/html/weewx/daywindvec.png to 
/weather/4.8/daywindvec.png
Aug 22 23:30:29 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: 10 
./daytempdew.png 
79445850ebf6180dd454b824aeeeb69858ebcad87c413d36a5bc0772067eb6a4
Aug 22 23:30:29 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: 
Uploaded file /var/www/html/weewx/daytempdew.png to 
/weather/4.8/daytempdew.png
Aug 22 23:30:29 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: 11 
./daywetleaf.png 
5d55af7dea9a79ab040732f5459fe74b648ded87492bd13323695c7649dd7e20
Aug 22 23:30:29 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: 
Uploaded file /var/www/html/weewx/daywetleaf.png to 
/weather/4.8/daywetleaf.png
Aug 22 23:30:29 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: 12 
./daywind.png 
114699f82e7cfc70b1f402baa29dab66fdbd8d2229335b094a9250160855d788
Aug 22 23:30:30 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: 
Uploaded file /var/www/html/weewx/daywind.png to /weather/4.8/daywind.png
Aug 22 23:30:30 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: 13 
./dayhum.png 
7303250843b3dc248f820ab453aac85679595bfcb0411d92e79632ffd5eae94d
Aug 22 23:30:30 raspberrypi3WEEWX weewx[602] DEBUG weeutil.ftpupload: 
Uploaded file /var/www/html/weewx/dayhum.png to 

Re: [weewx-user] Re: problem with INDEX.HTML file version

2022-08-23 Thread Eric Gammeter
 

[[FTP]]   (obfuscated)

# FTP'ing the results to a webserver is treated as just another 
report,

# albeit one with an unusual report generator!

skin = Ftp

 

# If you wish to use FTP, set "enable" to "true", then

# fill out the next four lines.

# Use quotes around passwords to guard against parsing errors.

enable = true

user = 

password = ***

server = ftp.n8aay.net

path = /weather/4.8

 

# Set to True for an FTP over TLS (FTPS) connection. Not all servers

# support this.

secure_ftp = False

 

# To upload files from something other than what HTML_ROOT is set

# to above, specify a different HTML_ROOT here.

#HTML_ROOT = /var/www/html/weewx

 

# Most FTP servers use port 21

port = 21

 

# Set to 1 to use passive mode, zero for active mode

passive = 1

 

[[RSYNC]]

# rsync'ing to a webserver is treated as just another report

skin = Rsync

 

# If you wish to use rsync, you must configure passwordless ssh 
using

# public/private key authentication from the user account that weewx

# runs to the user account on the remote machine where the files

# will be copied.

#

# If you wish to use rsync, set "enable" to "true", then

# fill out server, user, and path.

# The server should appear in your .ssh/config file.

# The user is the username used in the identity file.

# The path is the destination directory, such as 
/var/www/html/weather.

# Be sure that the user has write permissions on the destination!

enable = false

server = replace_me

user = replace_me

path = replace_me

 

# To upload files from something other than what HTML_ROOT is set

# to above, specify a different HTML_ROOT here.

#HTML_ROOT = /var/www/html/weewx

 

# Rsync can be configured to remove files from the remote server if

# they don't exist under HTML_ROOT locally. USE WITH CAUTION: if you

# make a mistake in the remote path, you could could unintentionally

# cause unrelated files to be deleted. Set to 1 to enable remote 
file

# deletion, zero to allow files to accumulate remotely.

delete = 0


On Tuesday, August 23, 2022 at 8:17:55 AM UTC-4 do...@dougjenkins.com wrote:

> We need to see the ftp section of the weewx.conf file in order to help
>
> On Tue, Aug 23, 2022, 8:11 AM Eric Gammeter  wrote:
>
>> Okay-  Looking on my web site target directory (/weather/4.8) there are 
>> not any .css or .js files present, only .png and .html files.  What steps 
>> will I need to re-populate them?  I guess I am reliant upon WEEWX to ftp 
>> whatever files it needs to operate.  
>>
>> On Monday, August 22, 2022 at 5:00:21 PM UTC-4 do...@dougjenkins.com 
>> wrote:
>>
>>> Can you confirm on the target of the website that seasons.css file is 
>>> there? Matt responded earlier that if you use the developer tools in your 
>>> browser, you will see that the seasons.css file is missing on your apache 
>>> web server directory.
>>>
>>> Since you are FTP'ing the files, verify that you are grabbing all the 
>>> files from the source directory. It should include .js, .css, and .png, and 
>>> .html files.
>>>
>>> DDJ
>>>
>>> On Mon, Aug 22, 2022 at 3:34 PM Eric Gammeter  wrote:
>>>
 I have WEEWX running on the Rpi3; also on that Rpi is Apache web 
 server.  From there, all I know of is the WEEWX ftp process to upload 
 files 
 to my web site.  I access my web site file manager and see all (37?) files 
 there.  So- the only mirroring I know of is WEEWX ftp'ing up to the web 
 site.   I installed WEEWX using the DEB package. 

 On Monday, August 22, 2022 at 11:16:27 AM UTC-4 matthew wall wrote:

> the seasons.js and seasons.css files are not on your public-facing web 
> server.  so whatever mechanism you use to mirror your pi to n8aay.net 
> is not copying all of the files.
>
> use the 'developer tools' option in your web browser to diagnose this 
> kind of problem.  that will provide lots of information about which files 
> are loaded, which css attributes are applied (or not), javascript errors, 
> etc.
>
> On Monday, August 22, 2022 at 9:58:25 AM UTC-4 n8a...@gmail.com wrote:
>
>> Just to reiterate my situation:  When I view my local Rpi ip address: 
>> 192.168.1.38/weewx) I see the full graphic-laden screen.  That is 
>> good!  When I view my internet source (https://www.n8aay.net) I see 
>> only the text-only version. 
>>
>
> [image: no-js-css.png] 
>
 -- 

>>> You received this message because you are subscribed to the Google 
 Groups "weewx-user" group.
 To unsubscribe from this group and stop receiving 

Re: [weewx-user] Re: Solid non-Raspbian platform for WeeWx + MariaDB?

2022-08-23 Thread Owen
I used to run Raspian on a Pi4, but my InfluxDB regularly crashed and 
sometimes even failed to restart cleanly at all due to corruption.
All sorts of random issues, including out of memory (when it wasn't).  No 
tuning of config file settings would fix it.  Drove me mental for months.  
I believe it to now be a limitation of the 32-bit OS.

Anyhooswitched to Ubuntu 20.04.4 LTS (64bit) and it's been flawless 
since.

I've basically ditched Raspian completely on all my Pi's - the Ubuntu 
release is extremely stable and robust.

On Saturday, 13 August 2022 at 2:32:24 pm UTC+10 vince wrote:

> I would be interested in hearing which version of ubuntu you went with, 
> considering the new 22.04.1 LTS just came out today, and whether you have 
> passwordless ssh working from all the client boxes you want to ssh from.
>
> Reason I'm asking is that when I upgraded my AWS Lightsail to 22.04.1 LTS 
> from 20.04 LTS today it broke passwordless ssh from the ancient long out of 
> patchability debian-7 ARM box that I run weewx on.   Symptoms are that ssh 
> with keys that 'used' to work does not work any more from the old debian 
> box, but it works fine from my mac mini.  I don't want to confuse this 
> thread with the gory details and the workaround I found unless others run 
> into similar misadventures.
>
> (my guess is that anything running current os will be fine, but I did want 
> to mention there 'are' changes in newest ubuntu that deprecate old setups 
> from working without workarounds).
>
> On Friday, August 12, 2022 at 4:31:59 PM UTC-7 saro...@optema.com wrote:
>
>> Thanks to all of you for the help.  Thanks to Vince idea, I now happily 
>> am running Ubuntu Desktop on my Pi 4, which so far is a lot more polished 
>> than Raspbian OS (which is toylike by comparison).  I have MariaDB 
>> successfully installed as well, which was a seamless process on Ubuntu -- 
>> this what I'm used to.
>>
>> Next step is to get passwordless SSH running at least in test mode from 
>> the Pi, as my understanding is that it is required for rsync.  When I can 
>> prove that out the path should be clear for rsync approach to pushing 
>> weather data to my cloud host.  I doubt that there will be any issues with 
>> WeeWx install on Ubuntu + Pi but we'll see!!!  This has been a rocky road.
>>
>> Doug I haven't had trouble with Win10 passwordless access to my Digital 
>> Ocean Ubuntu 20.04 webserver, just got stuck with Raspbian OS as the SSH 
>> client.  But your checklist looks useful and I am a novice at RSA key pair 
>> authentication so it will likely come in handy.  And I will take a look at 
>> Vince's recommendation for cygwin although the only problem I've had with 
>> Putty was puttygen key compatibility on Raspbian. 
>>
>> I will report back when I get through it all...
>>
>> On Friday, August 12, 2022 at 2:08:15 PM UTC-7 tke...@gmail.com wrote:
>>
>>> I have had this issue with newer versions of MariaDB as well. The 
>>> solution was to run as root. See this thread 
>>> 
>>>  
>>> on SO.
>>>
>>> Or, maybe you already knew that.
>>>
>>> On Fri, Aug 12, 2022 at 9:13 AM Stephen Rogers  
>>> wrote:
>>>
 Thanks Vince.  I didn't include error messages because my question was 
 (and is) whether there are other options for a small CPU I can use to 
 replace the Pi/Raspbian.  I appreciate your letting me know that you have 
 confirmed Ubuntu can work on the Pi 4, I may try that.

 I see the differences between Ubuntu (which I am getting pretty 
 familiar with) and Raspbian (which has some annoying differences in how 
 users are implemented for example, plus the various issues below) as 
 distracting from my main goals with WeeWx.  

 With regard to the SSH passwordless login issue, I have been running 
 into "Putty key format is too new" when using the keys created by Puttygen 
 in Putty to log into a remote server.  So this indicates to me that 
 Puttygen is downrev on the Pi/RaspbiOS.  I'm sure there is a way to make 
 this work but I haven't found it.  There are multiple options for 
 generating keys.  The ones I've tried don't work on Raspbian thus far.  I 
 have updated all the packages and gone through multiple reinstalls to make 
 sure I wasn't tripping on some small detail.

 I don't see how firewalls or sudo play into these problems.

 I'm hearing you that you haven't had these problems with Pi.  You are 
 clearly much more of an expert and are working from solid install/config 
 procedures that I don't have, since the (multiple) ones I've tried are not 
 getting me through to the result.

 As for MariaDB, I have used it for years and the problems I'm running 
 into with RaspiOS are ones I haven't seen on Ubuntu.  Where I am stuck on 
 that now is when running 

Re: [weewx-user] Re: problem with INDEX.HTML file version

2022-08-23 Thread Doug Jenkins
We need to see the ftp section of the weewx.conf file in order to help

On Tue, Aug 23, 2022, 8:11 AM Eric Gammeter  wrote:

> Okay-  Looking on my web site target directory (/weather/4.8) there are
> not any .css or .js files present, only .png and .html files.  What steps
> will I need to re-populate them?  I guess I am reliant upon WEEWX to ftp
> whatever files it needs to operate.
>
> On Monday, August 22, 2022 at 5:00:21 PM UTC-4 do...@dougjenkins.com
> wrote:
>
>> Can you confirm on the target of the website that seasons.css file is
>> there? Matt responded earlier that if you use the developer tools in your
>> browser, you will see that the seasons.css file is missing on your apache
>> web server directory.
>>
>> Since you are FTP'ing the files, verify that you are grabbing all the
>> files from the source directory. It should include .js, .css, and .png, and
>> .html files.
>>
>> DDJ
>>
>> On Mon, Aug 22, 2022 at 3:34 PM Eric Gammeter  wrote:
>>
>>> I have WEEWX running on the Rpi3; also on that Rpi is Apache web
>>> server.  From there, all I know of is the WEEWX ftp process to upload files
>>> to my web site.  I access my web site file manager and see all (37?) files
>>> there.  So- the only mirroring I know of is WEEWX ftp'ing up to the web
>>> site.   I installed WEEWX using the DEB package.
>>>
>>> On Monday, August 22, 2022 at 11:16:27 AM UTC-4 matthew wall wrote:
>>>
 the seasons.js and seasons.css files are not on your public-facing web
 server.  so whatever mechanism you use to mirror your pi to n8aay.net
 is not copying all of the files.

 use the 'developer tools' option in your web browser to diagnose this
 kind of problem.  that will provide lots of information about which files
 are loaded, which css attributes are applied (or not), javascript errors,
 etc.

 On Monday, August 22, 2022 at 9:58:25 AM UTC-4 n8a...@gmail.com wrote:

> Just to reiterate my situation:  When I view my local Rpi ip address:
> 192.168.1.38/weewx) I see the full graphic-laden screen.  That is
> good!  When I view my internet source (https://www.n8aay.net) I see
> only the text-only version.
>

 [image: no-js-css.png]

>>> --
>>>
>> 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+...@googlegroups.com.
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/c8a13bf2-af31-486e-8382-1cc0e0b922a3n%40googlegroups.com
>>> 
>>> .
>>>
>> --
> 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/00b4efbf-4d61-426e-96a4-3ef6e48769b8n%40googlegroups.com
> 
> .
>

-- 
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/CACC0i0yNgPbskuP8T0%3DZNFTr0NJFtf%3DCqy2fToFJVKB6NwbSwQ%40mail.gmail.com.


Re: [weewx-user] Re: problem with INDEX.HTML file version

2022-08-23 Thread Eric Gammeter
Okay-  Looking on my web site target directory (/weather/4.8) there are not 
any .css or .js files present, only .png and .html files.  What steps will 
I need to re-populate them?  I guess I am reliant upon WEEWX to ftp 
whatever files it needs to operate.  

On Monday, August 22, 2022 at 5:00:21 PM UTC-4 do...@dougjenkins.com wrote:

> Can you confirm on the target of the website that seasons.css file is 
> there? Matt responded earlier that if you use the developer tools in your 
> browser, you will see that the seasons.css file is missing on your apache 
> web server directory.
>
> Since you are FTP'ing the files, verify that you are grabbing all the 
> files from the source directory. It should include .js, .css, and .png, and 
> .html files.
>
> DDJ
>
> On Mon, Aug 22, 2022 at 3:34 PM Eric Gammeter  wrote:
>
>> I have WEEWX running on the Rpi3; also on that Rpi is Apache web server.  
>> From there, all I know of is the WEEWX ftp process to upload files to my 
>> web site.  I access my web site file manager and see all (37?) files 
>> there.  So- the only mirroring I know of is WEEWX ftp'ing up to the web 
>> site.   I installed WEEWX using the DEB package. 
>>
>> On Monday, August 22, 2022 at 11:16:27 AM UTC-4 matthew wall wrote:
>>
>>> the seasons.js and seasons.css files are not on your public-facing web 
>>> server.  so whatever mechanism you use to mirror your pi to n8aay.net 
>>> is not copying all of the files.
>>>
>>> use the 'developer tools' option in your web browser to diagnose this 
>>> kind of problem.  that will provide lots of information about which files 
>>> are loaded, which css attributes are applied (or not), javascript errors, 
>>> etc.
>>>
>>> On Monday, August 22, 2022 at 9:58:25 AM UTC-4 n8a...@gmail.com wrote:
>>>
 Just to reiterate my situation:  When I view my local Rpi ip address: 
 192.168.1.38/weewx) I see the full graphic-laden screen.  That is 
 good!  When I view my internet source (https://www.n8aay.net) I see 
 only the text-only version. 

>>>
>>> [image: no-js-css.png] 
>>>
>> -- 
>>
> 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+...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/c8a13bf2-af31-486e-8382-1cc0e0b922a3n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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/00b4efbf-4d61-426e-96a4-3ef6e48769b8n%40googlegroups.com.


Re: [weewx-user] Off topic

2022-08-23 Thread Greg Troxel

Alastair L  writes:

> Apologies in advance for this off topic question, but I'm sure someone out 
> there has had  a similar issue and solved it.  

It is but many struggle with RPIs.

My advice is

0) Ask this in RPI-land instead.
1) first image the card you have, saving it
2) figure out and implement a backup strategy for your data
3) get another card, and do an install
4) mount it someplace and look at the files in the boot partition and
   see which is different from the card that was in the machine that
   broke.  It is possible that your old system hasn't gotten the new
   packages.
5) think about using other small computers that are less pesky than the
   RPI.  I like the PC engines apu2 series, but last I checked they too
   were having supply chain issues.

-- 
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/rmizgfvclj5.fsf%40s1.lexort.com.


signature.asc
Description: PGP signature


[weewx-user] Off topic

2022-08-23 Thread Alastair L
Apologies in advance for this off topic question, but I'm sure someone out 
there has had  a similar issue and solved it.  

My RPi4 ran both Weewx and a program to monitor my solar panels.  The Pi 
died and I've finally managed to get a replacement.  Unfortunately when I 
transfer the SSD card to the new Pi4 I get the messages  “start4x.elf not 
compatible” and “this board requires newer software”.  It appears that the 
replacement RPi requires new firmware.  I tried running  update the 
firmware, use sudo rpi-eeprom-update -d -a  using an other 'old' RPi4 but I 
still get the same  error.  

I could of course start again with a fresh OS installation.  Weewx is not 
the issue as it's relatively straightforward to retrieve my history,  but 
it's the solar panel monitoring program that stops me doing this as I would 
lose my entire history - I cannot figure out where it saves its history to 
as it appears to save data in hidden folders.

My question is, is there a way update my SSD card to allow it to run on the 
newer RPI4  without a full re-install?

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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/3d43e6ae-9534-4322-b052-80d40f4c71a8n%40googlegroups.com.