Broken weewx-wdc after changing upload site, base_path is set

32 views
Skip to first unread message

Peter Süß

unread,
4:23 AM (17 hours ago) 4:23 AM
to weewx-user
Hello,
I changed my webserver and I am doing a fresh upload into the same named directory.
The site is: pshs.de/weewx

In the old site I set the base_path to /weewx and every worked perfect.

Now I have browsers, which opened this site on the old server and everything is still working fine as usual.
When new clients are going to this never visited adress before, the site looks like the base_path is not set. 

Anybody has a idea to repair this?

Dominic Reich

unread,
6:52 AM (14 hours ago) 6:52 AM
to weewx...@googlegroups.com
Peter Süß <peter.su...@gmail.com> on Thursday, 15 January 2026:
> Hello,
> I changed my webserver and I am doing a fresh upload into the same named
> directory.
> The site is: pshs.de/weewx
>
> In the old site I set the base_path to /weewx and every worked perfect.
>
> Now I have browsers, which opened this site on the old server and
> everything is still working fine as usual.

That might be a cache problem, clear the cache and try again. (Ctrl+Shift+R
maybe)
The website opens here on the specified domain from above.

> When new clients are going to this never visited adress before, the site
> looks like the base_path is not set.

There are a few files missing - not found (main.css, main.js, plotly-custom-
build.min.js). Do they exist on your local machine (where weewx is running)?
Or how do you upload these things - maybe they got skipped on that part.

I'd try to clean the existing files and generate everything from scratch.
Then have a look if those files are generated locally.

Otherwise some indications would be helpful (Logs from upload, logs from
generation (a weewx cycle for example)

-dominic

--
Live as if you were to die tomorrow. Learn as if you were to
live forever.
- Mahatma Gandhi


Karen K

unread,
7:44 AM (14 hours ago) 7:44 AM
to weewx-user
Please note, that some files are uploaded on (re)start of WeeWX only. I would suggest to remove all files in the directory, $HTML_ROOT points to, und then wait one archive period.

Peter Süß

unread,
11:33 AM (10 hours ago) 11:33 AM
to weewx-user
Ok, thank you for this fast answers.
I made a "empty" of the local Webdir, followed by a "weewx database rebuild-daily"
Then restart...

Looks like everything is fixed at this point.
Thank you very much

Reply all
Reply to author
Forward
0 new messages