Repeated error: Copied 0 files to /var/www/html/weewx

240 views
Skip to first unread message

ANDREI ROZWADOWSKI

unread,
Feb 6, 2026, 2:34:07 PMFeb 6
to weewx-user
Good evening!
I've already asked a similar question before.
The data in the /var/www/html/weewx folder has not been updated
The problem was solved by entering the commands:
wee_device --dump
wee_device --clear-memory

Now entering these commands does not help
The following messages are displayed:

Feb  6 22:07:27 raspberrypi weewx[21497] INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 8.97 seconds
Feb  6 22:07:34 raspberrypi weewx[21497] INFO weewx.imagegenerator: Generated 17 images for report SeasonsReport in 6.81 seconds
Feb  6 22:07:34 raspberrypi weewx[21497] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Feb  6 22:08:18 raspberrypi weewx[21497] ERROR weewx.engine: Internal error detected. Catchup abandoned
Feb  6 22:08:18 raspberrypi weewx[21497] ERROR weewx.engine: **** Unknown archive type = 0x3f
Feb  6 22:08:27 raspberrypi weewx[21497] INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 9.12 seconds
Feb  6 22:08:34 raspberrypi weewx[21497] INFO weewx.imagegenerator: Generated 17 images for report SeasonsReport in 6.88 seconds
Feb  6 22:08:34 raspberrypi weewx[21497] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Feb  6 22:09:10 raspberrypi dbus-daemon[311]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service' requested by ':1.94' (uid=1000 pid=22734 comm="/usr/lib/chromium-browser/chromium-browser-v7 --fo")
Feb  6 22:09:10 raspberrypi systemd[1]: Condition check resulted in Bluetooth service being skipped.
Feb  6 22:09:31 raspberrypi weewx[21497] INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 12.38 seconds
Feb  6 22:09:38 raspberrypi weewx[21497] INFO weewx.imagegenerator: Generated 17 images for report SeasonsReport in 7.36 seconds
Feb  6 22:09:38 raspberrypi weewx[21497] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Feb  6 22:10:26 raspberrypi weewx[21497] INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 7.51 seconds
Feb  6 22:10:32 raspberrypi weewx[21497] INFO weewx.imagegenerator: Generated 17 images for report SeasonsReport in 6.38 seconds
Feb  6 22:10:32 raspberrypi weewx[21497] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Feb  6 22:11:27 raspberrypi weewx[21497] INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 8.91 seconds
Feb  6 22:11:34 raspberrypi weewx[21497] INFO weewx.imagegenerator: Generated 17 images for report SeasonsReport in 7.03 seconds
Feb  6 22:11:34 raspberrypi weewx[21497] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Feb  6 22:11:46 raspberrypi dbus-daemon[311]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service' requested by ':1.96' (uid=1000 pid=23038 comm="/usr/lib/chromium-browser/chromium-browser-v7 --fo")
Feb  6 22:11:46 raspberrypi systemd[1]: Condition check resulted in Bluetooth service being skipped.

What could be the problem?

John Smith

unread,
Feb 6, 2026, 5:37:46 PMFeb 6
to weewx...@googlegroups.com
You must have made a mistake in your weewx.conf file

Feb  6 22:08:18 raspberrypi weewx[21497] ERROR weewx.engine: Internal error detected. Catchup abandoned
Feb  6 22:08:18 raspberrypi weewx[21497] ERROR weewx.engine: **** Unknown archive type = 0x3f
--
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 visit https://groups.google.com/d/msgid/weewx-user/098b7516-0678-40f8-859a-edade7add89cn%40googlegroups.com.

ANDREI ROZWADOWSKI

unread,
Feb 7, 2026, 1:20:10 PMFeb 7
to weewx-user
Thanks for the prompting, John.
But I immediately have another question:
The Davis Vantage 2 Pro weather station is located at a remote location. It's been working there for the second year now. And I know for sure that no one has connected to it or made changes to the configuration file.
Where to look for the error?
суббота, 7 февраля 2026 г. в 01:37:46 UTC+3, John Smith:

Vince Skahan

unread,
Feb 7, 2026, 2:40:38 PMFeb 7
to weewx-user
It's coming from the vantage driver around line 1645 or so - looks like it's getting unexpected input.

 A google search for "weewx unknown archive type" found  two ancient threads here along the same lines:



Tom Keffer

unread,
Feb 7, 2026, 5:24:24 PMFeb 7
to weewx...@googlegroups.com
1. The "Copied 0 files" log entry is normal. Static files such as CSS files are copied only the first time reports are run. Thereafter, they are nore copied.

2. The "Unknown archive type" is more serious. We have seen these occasionally through the years. Sometimes clearing the memory works, but usually it does not. Another thing to try is pulling the logger out of the console, then reseating it. It's also possible that the logger went bad. It is not a problem with your weewx.conf file. This is a hardware problem.



jterr...@gmail.com

unread,
Feb 11, 2026, 1:45:29 PMFeb 11
to weewx-user
@Tom,

It is not the first time that weewx users are asking about the "Copied 0 files" log message appearing at every archive interval.

Since the copy procedures are done mostly after the first time reports are run,  why not logging these events  only when files are actually copied,   and forget  the "Copy 0 files" ( or change the log notification to debug)  in case no files are copied.

Tom Keffer

unread,
Feb 11, 2026, 8:05:48 PMFeb 11
to weewx...@googlegroups.com
Good suggestion. Implemented in 0768bf4, to appear in V5.3.

-tk

--
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.

ANDREI ROZWADOWSKI

unread,
Feb 13, 2026, 12:03:54 AMFeb 13
to weewx-user
Dear colleagues!
Thanks for the tips.
I will try to bring the weather station to the laboratory next week and study it in more detail.
I will write about the results of the check of the weather station.

четверг, 12 февраля 2026 г. в 04:05:48 UTC+3, Tom Keffer:

ANDREI ROZWADOWSKI

unread,
Mar 4, 2026, 6:42:46 AM (3 days ago) Mar 4
to weewx-user
Good afternoon,

I am trying to reinstall weewx 5.3 and I am getting the following errors:

pi@raspberrypi:~ $ sudo apt-get install weewx
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  python3-cheetah python3-configobj python3-ephem python3-usb
Suggested packages:
  python-cheetah-doc python3-markdown python3-memcache python-configobj-doc
  sqlite ftp httpd
The following NEW packages will be installed:
  python3-cheetah python3-configobj python3-ephem python3-usb weewx
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,564 kB/2,979 kB of archives.
After this operation, 9,328 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://weewx.com/apt/python3 buster/main all weewx all 5.3.1-1 [1,564 kB]
Ign:1 http://weewx.com/apt/python3 buster/main all weewx all 5.3.1-1          
Get:1 http://weewx.com/apt/python3 buster/main all weewx all 5.3.1-1 [1,564 kB]
Ign:1 http://weewx.com/apt/python3 buster/main all weewx all 5.3.1-1
Get:1 http://weewx.com/apt/python3 buster/main all weewx all 5.3.1-1 [1,564 kB]
Ign:1 http://weewx.com/apt/python3 buster/main all weewx all 5.3.1-1
Get:1 http://weewx.com/apt/python3 buster/main all weewx all 5.3.1-1 [1,564 kB]
Err:1 http://weewx.com/apt/python3 buster/main all weewx all 5.3.1-1          
  Connection timed out [IP: 34.218.218.142 80]
E: Failed to fetch http://weewx.com/apt/python3/pool/main/w/weewx/python3-weewx_5.3.1-1_all.deb  Connection timed out [IP: 34.218.218.142 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?


By the time the error appears, the download is 66% complete.
What is the reason for the error? 
пятница, 13 февраля 2026 г. в 08:03:54 UTC+3, ANDREI ROZWADOWSKI:

John Smith

unread,
Mar 4, 2026, 6:54:42 AM (3 days ago) Mar 4
to weewx...@googlegroups.com
try pinging weewx.com

if that works try using curl or lynx to browse the website from your server.

If that works change your apt sources from http:// to https://

ANDREI ROZWADOWSKI

unread,
Mar 4, 2026, 9:15:06 AM (3 days ago) Mar 4
to weewx-user
https://weewx.com/ is pinging normally

The link http://weewx.com/apt/python3 is opened automatically after I enter the command
$sudo apt-get install weewx
I can't change http;// on https:// 
среда, 4 марта 2026 г. в 14:54:42 UTC+3, John Smith:

John Smith

unread,
Mar 4, 2026, 9:47:54 AM (3 days ago) Mar 4
to weewx...@googlegroups.com
I can't change http;// on https:// 

You would have added a config in /etc/apt/source.list.d/ at some point, most ;likely weewx.list, try editing that file to change http:// to https://

ANDREI ROZWADOWSKI

unread,
Mar 5, 2026, 8:49:30 AM (2 days ago) Mar 5
to weewx-user
I've downloaded the file  python3-weewx_5.3.1-1_all.deb
And I try to install it
sudo apt install /home/pi/Documents/python3-weewx_5.3.1-1_all.deb
But I've got errors
File not found - /home/pi/Documents/python3-weewx_5.3.1-1_all.deb   (13: Permission denied)
E: Failed to fetch file:/home/pi/Documents/python3-weewx_5.3.1-1_all.deb    File not found - /home/pi/Documents/python3-weewx_5.3.1-1_all.deb   (13: Permission denied)

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?


Tell me, is it critical which version of Raspbian I use?
среда, 4 марта 2026 г. в 17:47:54 UTC+3, John Smith:

Vince Skahan

unread,
Mar 5, 2026, 11:56:18 AM (2 days ago) Mar 5
to weewx-user
Any recent Raspbian works.

Just try the official commands from the Debian quickstart again please.

# 1. install prerequisites
sudo apt update
sudo apt install -y wget gnupg

# 2. tell the os to trust the weewx gpg keys
wget -qO - https://weewx.com/keys.html |
sudo gpg --dearmor --output /etc/apt/trusted.gpg.d/weewx.gpg

# 3. tell the os where to find the weewx packages
echo "deb [arch=all] https://weewx.com/apt/python3 buster main" | sudo tee /etc/apt/sources.list.d/weewx.list

# 4. update the os to know what is in the weewx repository
sudo apt update

# 5.install weewx
sudo apt install weewx

Running 'sudo apt update' both times is very important to do.


ANDREI ROZWADOWSKI

unread,
Mar 6, 2026, 2:22:10 PM (15 hours ago) Mar 6
to weewx-user
Vince,
Thanks for support.
I've installed weewx using your algorithm
The program's download was interrupted several times
I restarted it manually
Let's see how it works
I'll write about it later

четверг, 5 марта 2026 г. в 19:56:18 UTC+3, Vince Skahan:

ANDREI ROZWADOWSKI

unread,
1:23 AM (4 hours ago) 1:23 AM
to weewx-user
Good morning!
After installation, I received the following errors:
pi@raspberrypi:~ $ sudo systemctl status weewx
× weewx.service - WeeWX
     Loaded: loaded (/lib/systemd/system/weewx.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Fri 2026-03-06 22:17:49 MSK; 11h ago
   Duration: 758ms
       Docs: https://weewx.com/docs
    Process: 5961 ExecStart=weewxd /etc/weewx/weewx.conf (code=exited, status=4)
   Main PID: 5961 (code=exited, status=4)
        CPU: 754ms

Mar 06 22:17:49 raspberrypi weewxd[5961]: CRITICAL weewx.engine:     ****                >
Mar 06 22:17:49 raspberrypi weewxd[5961]: CRITICAL weewx.engine:     ****    File "/usr/l>
Mar 06 22:17:49 raspberrypi weewxd[5961]: CRITICAL weewx.engine:     ****      self.open()
Mar 06 22:17:49 raspberrypi weewxd[5961]: CRITICAL weewx.engine:     ****    File "/usr/l>
Mar 06 22:17:49 raspberrypi weewxd[5961]: CRITICAL weewx.engine:     ****      raise Seri>
Mar 06 22:17:49 raspberrypi weewxd[5961]: CRITICAL weewx.engine:     ****  serial.serialu>
Mar 06 22:17:49 raspberrypi weewxd[5961]: CRITICAL __main__: Unable to load driver: [Errn>
Mar 06 22:17:49 raspberrypi weewxd[5961]: CRITICAL __main__:     ****  Exiting...
Mar 06 22:17:49 raspberrypi systemd[1]: weewx.service: Main process exited, code=exited, >
Mar 06 22:17:49 raspberrypi systemd[1]: weewx.service: Failed with result 'exit-code'.
lines 1-19/19 (END)...skipping...
× weewx.service - WeeWX
     Loaded: loaded (/lib/systemd/system/weewx.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Fri 2026-03-06 22:17:49 MSK; 11h ago
   Duration: 758ms
       Docs: https://weewx.com/docs
    Process: 5961 ExecStart=weewxd /etc/weewx/weewx.conf (code=exited, status=4)
   Main PID: 5961 (code=exited, status=4)
        CPU: 754ms

Mar 06 22:17:49 raspberrypi weewxd[5961]: CRITICAL weewx.engine:     ****                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Mar 06 22:17:49 raspberrypi weewxd[5961]: CRITICAL weewx.engine:     ****    File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 244, in __init__
Mar 06 22:17:49 raspberrypi weewxd[5961]: CRITICAL weewx.engine:     ****      self.open()
Mar 06 22:17:49 raspberrypi weewxd[5961]: CRITICAL weewx.engine:     ****    File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 325, in open
Mar 06 22:17:49 raspberrypi weewxd[5961]: CRITICAL weewx.engine:     ****      raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, ms>
Mar 06 22:17:49 raspberrypi weewxd[5961]: CRITICAL weewx.engine:     ****  serial.serialutil.SerialException: [Errno 13] could not open port /dev/ttyUSB0: [Errno >
Mar 06 22:17:49 raspberrypi weewxd[5961]: CRITICAL __main__: Unable to load driver: [Errno 13] could not open port /dev/ttyUSB0: [Errno 13] Permission denied: '/d>
Mar 06 22:17:49 raspberrypi weewxd[5961]: CRITICAL __main__:     ****  Exiting...
Mar 06 22:17:49 raspberrypi systemd[1]: weewx.service: Main process exited, code=exited, status=4/NOPERMISSION
Mar 06 22:17:49 raspberrypi systemd[1]: weewx.service: Failed with result 'exit-code'.

~
~
lines 1-19/19 (END)


Is it error of installation?
пятница, 6 марта 2026 г. в 22:22:10 UTC+3, ANDREI ROZWADOWSKI:
Reply all
Reply to author
Forward
0 new messages