on the computer where you run ssh:
scp root@rpi/var/log/syslog .

Please, note the dot at the end. Replace "rpi" by the IP address or name of 
your RPi. May be, you need to replace "root" by "pi" or "user" to get it 
work.

After that you will find a file named "syslog" in the current directory. 
You can open it with any text editor.

Mauro De Lauretis schrieb am Mittwoch, 16. Dezember 2020 um 16:03:17 UTC+1:

> Yes, I can ssh into my RPi, but I don't know how to scp the log.
>
> Il giorno mercoledì 16 dicembre 2020 alle 15:28:09 UTC+1 tke...@gmail.com 
> ha scritto:
>
>> If you can ssh into your RPi, you could scp the log to 
>> somewhere convenient. Then upload it to a cloud service such as 
>> pastebin.com. 
>>
>> Alternatively, you can use a text editor to trim it down to the 
>> essentials, then post it here. But, please don't post anything too big here.
>>
>> -tk
>>
>> On Wed, Dec 16, 2020 at 6:04 AM Mauro De Lauretis <mauro.de...@gmail.com> 
>> wrote:
>>
>>> You're right, Tom.
>>> If not attached the log because I should copy and paste you the exactly 
>>> moment when Weewx stops reporting, but how can I do it when I'm not logged 
>>> on my Raspberry when it happens? Are there other possibilities?
>>>
>>>
>>>
>>>
>>>
>>> Il giorno mercoledì 16 dicembre 2020 alle 14:41:45 UTC+1 
>>> tke...@gmail.com ha scritto:
>>>
>>>> Sorry, but it does not look like you attached the log.
>>>>
>>>> On Wed, Dec 16, 2020 at 5:32 AM Mauro De Lauretis <
>>>> mauro.de...@gmail.com> wrote:
>>>>
>>>>> Hi Tom,
>>>>> I've never thought that the log is interesting, simply I was not able 
>>>>> to see where the error is. :-)
>>>>>
>>>>> Station Hardware is a Davis Vantage Pro2, while the debug is already 
>>>>> set to debug = 1.
>>>>>
>>>>> Regards
>>>>> Mauro
>>>>>
>>>>> Il giorno mercoledì 16 dicembre 2020 alle 14:11:56 UTC+1 
>>>>> tke...@gmail.com ha scritto:
>>>>>
>>>>>> I know you think the log is uninteresting, but to more experienced 
>>>>>> eyes, it may contain some clues. Be sure to set debug=1.
>>>>>>
>>>>>> Also, what kind of hardware?
>>>>>>
>>>>>> On Wed, Dec 16, 2020 at 2:46 AM Mauro De Lauretis <
>>>>>> mauro.de...@gmail.com> wrote:
>>>>>>
>>>>>>> Hello,
>>>>>>>
>>>>>>> I have been experiencing an issue for the last two weeks, and so far 
>>>>>>> have not been able to determine the cause. I was hoping someone may 
>>>>>>> have 
>>>>>>> some ideas.
>>>>>>>
>>>>>>> I am running the Weather34 Skin (
>>>>>>> https://github.com/steepleian/weewx-Weather34)
>>>>>>> Weewx 4.2.0.
>>>>>>> MySQL Database
>>>>>>> OS Rasbian on Raspberry
>>>>>>>
>>>>>>> At fixed intervals (7-8 hours, more and less) the system stops 
>>>>>>> entering data into the database and upload files into my web server, 
>>>>>>> but I 
>>>>>>> cannot see any suitable information or error from the syslog. If I 
>>>>>>> restart 
>>>>>>> Weewx, everything turns to work great. Then, after this "famous" 7-8 
>>>>>>> hours, 
>>>>>>> Weewx stops again to report and doesn't work before I make a manually 
>>>>>>> restart.
>>>>>>>
>>>>>>> If anyone has any ideas it would be very much appreciated.
>>>>>>>
>>>>>>> Thanks
>>>>>>> Mauro
>>>>>>>
>>>>>>> -- 
>>>>>>> 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/364687cb-7bc2-43d2-aaca-0b946a933da2n%40googlegroups.com
>>>>>>>  
>>>>>>> <https://groups.google.com/d/msgid/weewx-user/364687cb-7bc2-43d2-aaca-0b946a933da2n%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+...@googlegroups.com.
>>>>>
>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/weewx-user/b3643aac-d236-463c-ab38-3a282ef5db2fn%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/weewx-user/b3643aac-d236-463c-ab38-3a282ef5db2fn%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+...@googlegroups.com.
>>>
>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/fe500236-0b9c-4db4-a555-57c78ec08e06n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/fe500236-0b9c-4db4-a555-57c78ec08e06n%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/fc350951-f74e-4d78-a4aa-b6be0828a1f2n%40googlegroups.com.

Reply via email to