-
Notifications
You must be signed in to change notification settings - Fork 359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Everything appears to be working, but no recordings are copied #829
Comments
Here are my logs:
|
Also to note, on the web interface, on the "Recordings" page, I see two folders: SavedClips and SentryClips. Both directories are empty. And the Viewer page also says "no recordings". |
Can you download the diagnostics from the web interface and attach them here? |
Thanks. Is this what you mean? |
I've tried a lot of things. Many of them failed. So I guess you'll see some errors from those experiments. |
What do you mean by "the USB" in this context? |
Though also note that recordings don't immediately show up in the web interface. The web interface shows what's in the snapshots, and TeslaUSB only takes a snapshot every hour. You can force one by rebooting the Pi or triggering a sync in the Tools tab of the web interface. |
Thanks for your quick reply. When I said "the USB shows the recordings and they are playable", I meant that I plugged the Pi into my computer's USB port. I can see the recordings on it, that the car has made. I do not have any other USB drive connected. |
I've never seen any recordings in the web interface. I've even tried copying files onto the "USB" drive from my PC, but it always seems to say the snapshot is the same as the current, ie no recordings are detected. Even rebooting and triggering a sync does nothing of interest. You can see me attempt this in the logs. |
Can you paste the output of |
Thanks. Here is the output: /mutable/TeslaCam: /mutable/TeslaCam/SavedClips: /mutable/TeslaCam/SentryClips: |
hmm, but you say that when you plug the Pi in to a PC, you see files in the "CAM" drive? |
Well. That was the case. But then I thought "I'll wipe the contents of the drive" coz I saw this ticket: #825 So when I've run the about ls command, the drive was empty. I think I perhaps made a mistake with wiping it though because my car is saying that the USB drive is unavailable. I'll get the drive operational again and then try the ls command again. |
FWIW, on the Pi, I created a subdirectory under /mutable/TeslaCam/SavedClips and put an mp4 file in there. I could see the directory and file through the TelsaUsb web interface. So when it's working, how are the files supposed to get into this directory? Are they supposed to be copied from the USB storage (.bin file)? Do you think I should just rebuild everything? I've ordered a new SD card to test with. So I can build a new system tomorrow without damaging my current one. |
/mutable/TeslaCam normally doesn't contain files, it contains symbolic links to snapshots. |
Please don’t spend any more time on this. I’ve reinstalled and everything is working ok on the new installation. |
Describe the problem
I setup my Pi Zero a couple of days ago and followed the simpled guide. Many things seems to be working without a problem:
I try a couple of environments for testing:
Despite new recordings being created, the ArchiveLoop.log always shows things like this:
Even if, when connected to my PC, I copy files around in the TeslaCam directory (over USB), the logs still report "new snapshot is identical". In an effort to provoke it to detect a change, I went into the /backingfiles/snapshots directory and deleted all of the contents. I then forced a resync. The unit detected a "change" and said:
But from what I can tell, it didn't see any files to copy, and certainly didn't copy any.
I don't know what else to try. It's just like it's not seeing my files on the USB drive.
Device
Raspberry Pi Zero W
OS Image
Prebuilt TeslaUSB image
Car Model
Model S
USB connection
Center console
Logs
No response
Additional information
These are the lines from my teslausb_setup_variables.conf file that are uncommented. The "xxx" values have been changed, obviously:
export ARCHIVE_SYSTEM=cifs
export ARCHIVE_SERVER=192.168.1.81
export SHARE_NAME='teslacam'
export SHARE_USER=teslausb
export SHARE_PASSWORD='xxx'
export CIFS_VERSION="3.0"
export ARCHIVE_RECENTCLIPS=true
export CAM_SIZE=30G
export SSID='xxx'
export WIFIPASS='xxx'
The text was updated successfully, but these errors were encountered: