--
You received this message because you are subscribed to the Google Groups "motioneye" group.
To unsubscribe from this group and stop receiving emails from it, send an email to motioneye+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/motioneye/f5f206ba-1f82-4d8e-8938-292bf63b8ad9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Calin,
Thx for your reaction. I enabled the debugging level and triggered some motion to record a video.
In the motioneye.log logging file, following is logged.
2018-01-29 18:17:23: [motioneye] DEBUG: loading upload services state from "/data/etc/uploadservices.json"...
2018-01-29 18:17:23: [motioneye] DEBUG: loaded upload service "ftp" for camera with id "1"
2018-01-29 18:17:23: [motioneye] DEBUG: ftp: uploading file "/data/output/Zijkant_huis/20180129/18/20180129-181620-60.mkv" to ftp
2018-01-29 18:17:23: [motioneye] DEBUG: ftp: size of "/data/output/Zijkant_huis/20180129/18/20180129-181620-60.mkv" is 18.098MB
2018-01-29 18:17:23: [motioneye] DEBUG: ftp: mime type of "/data/output/Zijkant_huis/20180129/18/20180129-181620-60.mkv" is "video/x-matroska"
2018-01-29 18:17:23: [motioneye] DEBUG: ftp: creating connection to <username>@192.168.1.xxx:21
2018-01-29 18:17:23: [motioneye] DEBUG: ftp: ensuring path /Surveillance/20180129/18
2018-01-29 18:17:23: [motioneye] ERROR: failed to upload file "/data/output/Zijkant_huis/20180129/18/20180129-181620-60.mkv" with service ftp: 550 Surveillance: File exists
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/motioneye/uploadservices.py", line 875, in upload_media_file
File "/usr/lib/python2.7/site-packages/motioneye/uploadservices.py", line 98, in upload_file
File "/usr/lib/python2.7/site-packages/motioneye/uploadservices.py", line 650, in upload_data
File "/usr/lib/python2.7/site-packages/motioneye/uploadservices.py", line 703, in _make_dirs
File "usr/lib/python2.7/ftplib.py", line 589, in mkd
File "usr/lib/python2.7/ftplib.py", line 251, in sendcmd
File "usr/lib/python2.7/ftplib.py", line 226, in getresp
error_perm: 550 Surveillance: File exists
I can assure you that the mkv does not exist.
Furthermore I tried sftp from the MotionEyeOS raspberry (ssh into RPi, then started sftp towards the NAS):
sftp -P 2222 @192.168.1.xxx
Password:
Connected to 192.168.1.xxx.
sftp> pwd
Remote working directory: /
sftp> ls
Foscam Home Surveillance TVRecording
sftp> cd Surveillance
sftp> ls
Voordeur Zijkant_huis logging_ftp.txt
sftp> mkdir test
sftp> ls
Voordeur Zijkant_huis logging_ftp.txt test
As you can see, I can create a directory (also a file if needed) with the same username/password (therefor: rights have been set properly).
Just a thought (didn't look at the Python files): are you trying to create the directory structure in 1 mkdir statement?
There is also an entry made in the issues list. Which one would you like to keep?
Best regards.
To unsubscribe from this group and stop receiving emails from it, send an email to motioneye+...@googlegroups.com.