-
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
Stuck at Creating backing disk files. #2
Comments
What was your starting point? Did you start with rtgoodwin's prebuilt boot image, or did you make one yourself? |
@therealmarcone just tried yours. Having the same issue of getting stuck at Creating backing disk files. |
That message is the last thing printed by setup-teslausb before it calls the create-backingfiles.sh script. Looks like something goes wrong in that script, and so it just exits. |
I set the cam size to 80% and then the Music Folder to 2G. I have a 32GB Micro SD Card. Now this is the last line. Mon 1 Apr 19:02:00 BST 2019 : Creating backing disk files. When I reboot, I get the pulsating light but it doesn't show up as a drive on my Mac. |
What did you have the sizes set to before you set them to 80%/2G ? |
I was setting cam size to 90% and leaving the music empty for the remainder. Now what I am doing is the following:
|
Does the /backingfiles folder exist at that point? Are there any files in it? Is archiveloop running? To be honest I don't know if starting with plain Stretch Lite is supposed to work. It's probably easier to start with my prebuilt image since it has all the required modifications in terms of additional packages, kernel command line, boot config, etc. I did just upload a fix for the script bailing out if you didn't explicitly specify a music size. |
If I pre-load your image, the headless install starts right away. It gets stuck at the Main setup completed stage.
Sam
|
Also, I checked the Rc.local, there’s no edits made in there after running manually. |
Sorry, no idea what's going wrong for you. Here's what I do (I do this on a Windows machine):
|
@marcone I did the following:
Here is all the lines after running #4. |
Hmm, on my Pi, I get a few more lines of log after that: Wed 3 Apr 03:57:21 BST 2019 : Main setup completed. Remounting file systems read only. so it looks like your setup somehow does not make it past the /root/configure.sh script. |
BTW note there's about 2 minutes between "Main setup completed" and "All done" in my logs. Did you wait long enough? |
To answer the second question, I wait around 10-15 minutes. To answer the first.. I am re-flashing and trying again. Will get more info for you in just a moment. Hopped out of bed for this one! |
@marcone Okay.
|
Looks like I'm gonna have to add some additional logging so we can figure out where it's going wrong. |
Can you try again, but point the teslausb_setup_variables.conf to the 'diagnostics' branch? |
Ok ok ok. Here is the logs AFTER the Main setup completed. Remounting file systems read only. Fri 5 Apr 01:37:41 BST 2019 : Main setup completed. Remounting file systems read only. After the last "Done", it gets stuck. Sam |
OK, the next step after that is running the I didn't add any additional logging to those, yet, but you can run them manually after sourcing the conf file, i.e:
|
@marcone I ran both of the commands and here is what I got. No devices coming up as mounting though. root@teslausb:~# ./bin/verify-archive-configuration.sh |
It's failing to mount your CIFS share:
Maybe a typo in the authentication credentials for your CIFS server? Check that the credentials file has the correct info. Otherwise, if the CIFS version is the problem, try copy/pasting that mount command line, but substituting 2.0 or 1.0 instead of 3.0 |
When typing in my IP Address should I be putting smb:// before it or just the IP? |
Just the |
Ok. I did the manual install. I got the "All done" at the end and the archive server is running. When a file is created on the CAM drive, nothing is synced to the samba server. Is there a way to force/check the uploads? |
The files are only backed up after re-connecting to wi-fi, not continuously. E.g. you go for a drive, which disconnects from wi-fi, then come back home, which reconnects. |
I have this same issue, can't get past creating backing disk files. |
@lapean111 please attach/paste the setup log (/boot/teslausb-headless-setup.log) |
@marcone this is with the manual setup. I have never been able to get the headless setup to finish. |
Sorry, you're on your own then :) |
Closing this for now. If you're still seeing setup get stuck, please open a new bug, with logs. |
Doing a headless install pulling from the main-dev branch. Gets stuck at Creating backing disk files.
Here are the logs from teslausb-headless-setup.log for reference.
Tue Oct 30 18:41:06 GMT 2018 : Detecting whether to update wpa_supplicant.conf
Tue Oct 30 18:41:06 GMT 2018 : Wifi variables specified, and no /boot/WIFI_ENABLED. Building wpa_supplicant.conf.
Tue Oct 30 18:41:06 GMT 2018 : Rebooting...
Tue Oct 30 18:41:31 GMT 2018 : Detecting whether to update wpa_supplicant.conf
Tue Oct 30 18:41:31 GMT 2018 : Grabbing main setup file.
Tue Oct 30 18:41:32 GMT 2018 : Starting setup.
Tue Oct 30 18:41:32 GMT 2018 : Updating package index files...
Fri Mar 29 17:23:07 GMT 2019 : Verifying that the requested configuration is valid...
Fri Mar 29 17:23:08 GMT 2019 : Downloaded /tmp/verify-configuration.sh ...
Fri Mar 29 17:23:08 GMT 2019 : Verifying that there is sufficient space available on the MicroSD card...
Fri Mar 29 17:23:08 GMT 2019 : There is sufficient space available.
Fri Mar 29 17:23:18 GMT 2019 : Downloading additional setup scripts.
Fri Mar 29 17:23:19 GMT 2019 : Downloaded /tmp/create-backingfiles-partition.sh ...
Fri Mar 29 17:23:19 GMT 2019 : Downloaded /tmp/create-backingfiles.sh ...
Fri Mar 29 17:23:20 GMT 2019 : Downloaded /tmp/make-root-fs-readonly.sh ...
Fri Mar 29 17:23:20 GMT 2019 : Downloaded /root/configure.sh ...
Fri Mar 29 17:23:20 GMT 2019 : Fixing the modules-load parameter in /boot/cmdline.txt...
Fri Mar 29 17:23:20 GMT 2019 : Fixed cmdline.txt.
Fri Mar 29 17:23:29 GMT 2019 : Starting to create backing files partition...
Fri Mar 29 17:23:29 GMT 2019 : Checking existing partitions...
Fri Mar 29 17:23:30 GMT 2019 : Modifying partition table for backing files partition...
Fri Mar 29 17:23:30 GMT 2019 : Modifying partition table for mutable (writable) partition for script usage...
Fri Mar 29 17:23:30 GMT 2019 : Writing updated partitions to fstab and /boot/cmdline.txt
Fri Mar 29 17:23:31 GMT 2019 : Formatting new partitions...
Fri Mar 29 17:23:41 GMT 2019 : Mounting the partition for the backing files...
Fri Mar 29 17:23:41 GMT 2019 : Mounted the partition for the backing files.
Fri Mar 29 17:23:41 GMT 2019 : Creating backing disk files.
The text was updated successfully, but these errors were encountered: