A lot easier to just fix the problem. But, it's impossible to say what's happening without seeing the logs. Set debug=1, restart weewx, let it run through the first reporting cycle (600s). Then post the log from start up.
What sort of upload speed does your internet connection support? -tk On Fri, Aug 28, 2020 at 4:24 AM Philipp <ph.kl...@gmail.com> wrote: > Hi everyone, > > I have some trouble understanding the inner workings behind the > loop-mechanism in weewx. Right now I have a archive_interval of 600s. This > seems long enough for my reports to be generated and they end up fine > inside the /var/www/html/weewx directory on my Pi. > What doesn't work though is the transfer to my server, no matter if I > transfer the files via ftp or rsync. Sometimes the reports get transferred > to my server within the 600s archive_interval, sometimes weewx seems to > skip the rsync/ftp-report and the files on my server end up being one or > two or even more hours old. > I have done some research on the mailing list archive and I found a thread > where someone explained that the above problem could be due to rsync > failing or running for too long. I can't really see why this would be the > reason for my problems since rsync only runs for about 1-2sec, which in my > opinion shouldn't cause a problem for the loop. > > In other words: How can I make sure that my files get rsynced/ftped > everytime the loop is run? I have read another thread where someone > suggested running rsync as a service but I haven't found any examples of > how to do that. Or are there any other ways to solve that problem? > > Thanks in advance! > Philipp > > -- > 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/337d6729-ebf4-4e72-bb16-646ccf6c2141n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/337d6729-ebf4-4e72-bb16-646ccf6c2141n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAPq0zECsxvTkUCvAqHg_eCW%2BGpQtDrCJJVDQ9nP-Mdk_0vPeaA%40mail.gmail.com.