Even using wildcards fails sometimes. Here's something I wrote years ago.
It's meant for tweaking
when you run across a nasty file or directory name, so it won't solve your
problem without a little work.
The foreach loop at the bottom is to print out non-printable characters are
their ordinal
I've been doing something similar for years, and one or a couple of tricks
is to specify the
pid file location and name. In my case, I use a single directory, but
multiple config files,
multiple skin directories, and separate archive directories and database
names.
I use a perl script to do
The other thing... Do you have shell access on your hosting provider? You
could verify that between rsync runs, the files aren't
getting modified somehow. Failing that, stop weewx long enough to pull all
the files from your web host and check them against
your sources locally. Another option
Hi Again,
At one point setting up this solar panel monitor I thought I
wanted group_delta_time,
but weewx failed to start when I used it. I grepped through all the weewx
.py, .conf, and .tmpl files and it doesn't show up. Did it get dropped, or
is it new for v5? I ended up not needing
Noted, thanks.
Chris
On Saturday, September 2, 2023 at 8:14:45 AM UTC-6 Tom Keffer wrote:
> It's "group_deltatime" (not group_delta_time). The reference guide has a
> typo.
>
> On Sat, Sep 2, 2023 at 6:59 AM cric...@pobox.com
> wrote:
>
>> Hi Again,
>>
I'm setting up yet another weewx instance, this time for plotting a solar
charge controller.
Not stuck on this, but ran into an issue where having a comma in a label
name causes
the traceback below. I didn't try quoting the string, but removing the
comma cleared
the issue.
This is the latest
er. you *may* separate instances for operational or scalability purposes
> *⊣GE⊢*
>
> On 31 Aug 2023, at 9:09 am, cric...@pobox.com wrote:
>
> I'm setting up yet another weewx instance, this time for plotting a solar
> charge controller.
>
>
>
--
You received this messag
Hi All,
Again, semi-unusual use case, but I'm trying to re-plot data from my
solar system for a particular date using wee_reports. Everything generates
OK, but pulling up the web page
hasn't refreshed the plots, only the rest of the data. I'm assuming this
is a browser caching problem.
Is this a new setup, or has it worked in the past?
What userID is running weewx?
What version of weewx are you running?
The contents of my rsync/skin.conf is:
SKIN_NAME = Rsync
SKIN_VERSION = 4.10.2
[Generators]
generator_list = weewx.reportengine.RsyncGenerator
Does rsync of your
At the end of the day, we're still back to debugging the interaction
between you and your web hosting service.
It is unlikely, but not impossible, that weewx contributes to the issue.
Debug logs are required, and maybe the logs
again from your hosting service.
As an alternative, do you have
quot; should be the remote end in ~XXX/.ssh?
On Sunday, October 29, 2023 at 6:54:38 PM UTC-6 cric...@pobox.com wrote:
> OK, still confused, but for sure, doing things as root to a remote server
> you don't own is likely to fail.
> It looks like the second attempt with: ssh xx...@kq5s.com
inute default archive interval. His possibly edited log snippet above
>>>>> showed rsync happening every 5 minutes which is normal. It only takes a
>>>>> couple seconds which is normal. The number of files is reasonable given
>>>>> the skins he's u
running as the non-standard user pi, show us how you
>>>>did that
>>>>
>>>>
>>>>- What is in /root/.ssh/config ?
>>>>
>>>>
>>>>- What is in /home/pi/.ssh/config ?
>>>>
>>>>
>>>>- Ar
Tom,
So, from your hosting provider, you are getting two types of errors.
One for userID, the other for MaxStartups. The #27 and #28 are the number
of
Startups, so something is getting hung up somewhere between you and your
hosting service, and weewx seems to be the victim. This sure
may want to
>>>> increase the amount of time between uploads, as we are unable to increase
>>>> the MaxStartups setting on shared server.
>>>>
>>>> On Oct 28, 2023, at 8:54 AM, cric...@pobox.com
> wrote:
>
> Just an observation, but that'
Hi Karen,
So, the images get generated on an RPi, then rsync'd to the machine
with the web server. I'd never used
wee_report standalone, and made a directory to run it in, which was empty
afterwards. The updated plots
did generate (verified manually, and weewx isn't running, so nothing
6. Oktober 2023 um 18:58:29 UTC+2:
>
>> If it is a browser caching issue you can add ?v=$current.dateTime to all
>> the image references. In your example:
>>
>>
>>
>> cric...@pobox.com schrieb am Donnerstag, 26. Oktober 2023 um 15:53:21
>> UTC+2:
>
; Oct 27 14:30:21 raspberrypi weewx[15431] ERROR weeutil.rsyncupload: rsync
> reported errors
>
> Oct 27 14:35:20 raspberrypi weewx[15431] INFO weeutil.rsyncupload: rsync'd
> 32 files (457,673 bytes) in 1.39 seconds
>
> Oct 27 14:40:22 raspberrypi weewx[15431] INF
This might be a bit more comprehensive:
> sudo find / -xdev -size +100 -ls
This will report any "large" files. If I'm reading the manpage correctly,
the number is the count of 512 byte
blocks by default, so you can fiddle with the number and/or tack on a scale
character. See "man find"
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
and user have their own keys and they have been tested.
>
> SSH Port Question - Closed
> The hosting company states two ports as follows:
> SSH - 22
> SSH Shared/Reseller Servers -
> NOTE - Command line Rsync actually works with both
>
>
> Question of "/" pl
A couple of points about the trailing slashes. A trailing slash means copy
the contents of the directory. The --archive
means copy everything below the specified directory. Not including a
trailing slash means copy this directory and with
--archive, everything below it. It's not a matter of
Aside from communicating with your weather station, the only other non-root
hang up was where
the PID file was being written. That's an easy command line option to
write it somewhere the user
does have permissions. I don't let systemd manage the process, so I don't
need the pid file any
Well...not exactly. I didn't look to see what weewx does with the empty
server in the config, but either way rsync still works over ssh, which
isn't nfs. Just straight using nfs, you soft link could link between your
weewx directory and your destination on the other machine.
Or you can set up
In the process of debugging a non-weewx problem, I realized that weewx is
publishing all observations, even those there's a list to be published
defined in weewx.conf:
[StdRESTful]
[[StationRegistry]]
register_this_station = false
[[MQTT]]
server_url =
t debug=1 in weewx.conf and try it. You can't break anything.
>
> On Saturday, February 18, 2023 at 10:26:47 AM UTC-8 cric...@pobox.com
> wrote:
>
>> In the process of debugging a non-weewx problem, I realized that weewx is
>> publishing all observations, even th
Hi Tom,
I'm finally checking into a similar problem. In this case, still the
3.9.1 code base; what doesn't work is selecting the
year or month. Selecting the History for week, month, year works, but
selecting which year or month doesn't. I did futz with
the titlebar.inc. These should be
So... I've recently set up one of these modules from DFRobot. I started
with their sample python code
and morphed into something that fits in my set of libraries. In my case, I
have it sending events out
via mqtt. A quick look at the code doesn't give any hints to help you.
>From the sample
Hi David,
As for stopping weewx, kill 535 will work, but systemd will likely
restart it very soon. I ran into an similar issue
the other day with systemd. In this case it was for NUT (ups monitoring
stuff). The systemctl stop
didn't stop the daemon (same message you got). I ended up
I get tired of trying to figure out all the various ways /etc/resolve.conf
can get modified, for all my static hosts,
if it's a link, I replace it with the file with the contents I want, then
run:
chattr +i /etc/resolve/conf
That prevents any further messing with the file. It does mean you are
Here's another idea. I don't know anything about Nagios, but I'm running
this screwy setup where I made up my own
thermostat(s), and in the living room, the one has a small OLED display for
set point, current temp, and also outside
temp and wind chill that gets sent from my weather station's
Since I detest systemd and friends, I wrote a perl script to run as a cron
job to start weewx as needed.
Suites me just fine. Since weewx is so stable, it rarely has to be
restarted. I use the same basic script
for several other things, and quite happy with it. Oh, and the cron job is
In /etc/apache2/apache2.conf
Options FollowSymLinks
Options Indexes FollowSymLinks
Might not be the exact one(s), but FollowSymLinks is the thing to set.
Chris
On Saturday, April 27, 2024 at 3:55:01 AM UTC-6 Remy Lavabre wrote:
> Yes thank you it works Vince!
>
33 matches
Mail list logo