-
Notifications
You must be signed in to change notification settings - Fork 366
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
Setup Fails when SSD has backingfiles from previous TeslaUSB #765
Comments
Fail in what way? |
From the original report: "Setup failure showing error that the mount points /mnt/cam and /mnt/music did not exist. Creating these manually and re-running did not fix it, so I suspect other parts of the setup script also did not run properly." If I had understood what was happening, I might have been able to look back at the installation log to see what else might have gone wrong. If you have any trouble recreating the problem, I can put some time into it later this week to see if I can come up with a clean report. I'm guessing that the installation sees the already configured USB drive and so it skips over some sections of the setup, thereby missing some important steps – missing mount points at /mnt/cam and /mnt/music were right there in the error, but it seems there was more setup that was not done since creating the mount points didn't fix it. It all ran correctly with exactly the same .conf when I gave it a newly formatted USB drive. d. |
I am running into the exact same problem. My pi had stopped syncing and I tried to do an update and it failed so I started a rebuild. The rebuild fails in the exact method described. /mnt/cam and /mnt/music don't get created and it fails on "failed to start /etc/rc.local" and the directories for /etc/cam and /etc/music missing. Adding them and restarting failed as well. I am using an external drive mounted on sda. I killed the existing partitions and it still fails. |
timberjoegithub - I got it to work by starting the installation completely from scratch and providing a blank USB drive for the camera and music storage. I haven't had a chance to experiment further, once I got it working, or to look at the script details to see if I can find the error(s) myself. |
Just cleaning the device on /dev/sda did not work for me, I still had issues once I blew away the external drive. I got frustrated and decided to make this whole processes even harder and move to bullseye while I was struggling with it (after wiping the external drive). I had to hack up the install.sh script to make it work with /dev/sda otherwise it would boot loop trying to get the disk space on the sdcard. once I got that sorted and got the partitions sorted I was able to get to a point where I am seeing issues that come back to fstab (which I think may have been an initial problem with the install). I needed to upgrade fuse to fuse3 in order to support the nofail argument. I am still getting errors in fstab that it is seeing a mount point as not empty (even though it appears to be) so I am going to play around with getting the nonempty directive into fstab. I am getting close to having a working system again. Not everything is mounting correctly yet, but it feels like that is just a matter of digging a bit more. |
All set and working again using the manual build process with all the partitioning stuff taken out of install.sh to allow for an external storage device on /dev/sda. I did need to upgrade to fuse 3 and the mount errors seem to have been more warnings as the appropriate mounts seem to be happening both away from wifi range and within. |
Describe the problem
reinstalling TeslaUSB on Pi4b with Samsung T5 SSD as cam and music store.
Installation fails when I use previously configured T5 connected while Setup runs. This was verified when after I got it working, I borked something while installing Argon Fan Hat support and decided the simplest fix was to re-flash and run through setup again.
Initial symptom I saw was Setup failure showing error that the mount points /mnt/cam and /mnt/music did not exist. Creating these manually and re-running did not fix it, so I suspect other parts of the setup script also did not run properly.
Re-flashed, loaded my known good teslausb_setup_variables.conf, and this time formatted the SSD, and now the Startup ran straight through correctly.
Here's a cleansed version (placeholder SSIDs, passwords, etc.) of the teslausb_setup_variables.conf file:
teslausb_setup_variables-cleansed.conf.txt
This can be recreated by these steps:
Verification:
Device
Raspberry Pi 4
OS Image
Prebuilt TeslaUSB image
Car Model
Model 3
USB connection
Center console
Logs
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: