Git Product home page Git Product logo

Comments (9)

myquealer avatar myquealer commented on August 24, 2024

Make sure the folder you're mounting has no spaces or other special characters in its name. This tripped me up for a while, and I think this is the error I was getting.

The documentation should make this requirement clear, or just surround each mounting argument in quotes so it works with spaces.

from teslausb.

marcone avatar marcone commented on August 24, 2024

Does /mnt/archive exist?
Does it appear in /etc/fstab?
Are the username and password in /root/.teslaCamArchiveCredentials correct?

from teslausb.

seandoesgis avatar seandoesgis commented on August 24, 2024

Does /mnt/archive exist?
Does it appear in /etc/fstab?
Are the username and password in /root/.teslaCamArchiveCredentials correct?

root@teslausb:~# cd /mnt/archive
root@teslausb:/mnt/archive# ls -a
.  ..
root@teslausb:/mnt/archive# cd /etc/fstab
-bash: cd: /etc/fstab: Not a directory
root@teslausb:/mnt/archive# 

There are video files on the pi though when I mount to my computer
Credentials are fine in .teslaCamArchiveCredentials...I think. I'm on MacOS and setup a shared folder and created a user named TeslaCam with a password and gave that user read/write to the folder. Maybe there is some trick I don't know with the file sharing in MacOS

from teslausb.

marcone avatar marcone commented on August 24, 2024

/etc/fstab is a file, not a directory. Check the content of that file and see if there's an entry for /mnt/archive in there

from teslausb.

seandoesgis avatar seandoesgis commented on August 24, 2024

/etc/fstab is a file, not a directory. Check the content of that file and see if there's an entry for /mnt/archive in there

//192.168.1.20/TeslaCam /mnt/archive cifs vers=3.0,credentials=/root/.teslaCamArchiveCredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0

from teslausb.

marcone avatar marcone commented on August 24, 2024

That looks fine. You say your share is on a Mac though. Another user had problems with shared drive on MacOS too (see #27), and while it should in theory be as easy as telling the Mac to use SMB instead of AFP, I couldn't get it to work myself either.

from teslausb.

seandoesgis avatar seandoesgis commented on August 24, 2024

That looks fine. You say your share is on a Mac though. Another user had problems with shared drive on MacOS too (see #27), and while it should in theory be as easy as telling the Mac to use SMB instead of AFP, I couldn't get it to work myself either.

Doh...thanks marcone, I'll have to try rclone4pi or something.

from teslausb.

myquealer avatar myquealer commented on August 24, 2024

I set up TeslaUSB with a Mac and it is saving to a Mac. I lowered gradually CIFS version to 1.0, and then realized other problems were preventing it from working. It looks like you're still on CIFS 3.0. You might try 2.1, 2.0 or 1.0 and see if it works for you. I'm still on 1.0, since it's working for me.

from teslausb.

seandoesgis avatar seandoesgis commented on August 24, 2024

I set up TeslaUSB with a Mac and it is saving to a Mac. I lowered gradually CIFS version to 1.0, and then realized other problems were preventing it from working. It looks like you're still on CIFS 3.0. You might try 2.1, 2.0 or 1.0 and see if it works for you. I'm still on 1.0, since it's working for me.

I actually got it working today on the Mac with the default CIFS version 3.0. When entering in variables for the config I simply used no quotes for the password or others. I also made sure the folder didn't have cap characters.

export ARCHIVE_SYSTEM=cifs export archiveserver=192.168.1.20 export sharename=teslacam export shareuser=ssssss export sharepassword=xxxxxx export camsize=95% export SSID=p00p export WIFIPASS='111111111' export HEADLESS_SETUP=true export timezone=America/New_York

from teslausb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.