Skip to content
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

no upload on the NAS #155

Open
natrash opened this issue Aug 23, 2019 · 2 comments
Open

no upload on the NAS #155

natrash opened this issue Aug 23, 2019 · 2 comments

Comments

@natrash
Copy link

natrash commented Aug 23, 2019

Hi,

I've used the simple configuration, all is fine. Music is Sync from the NAS to the PI Music folder, I can see the Dashcam icon running on the screen. I can save clips (which are present on the USB CAM drive when mounted on a PC)...
BUT...
when I park the car, the PI comes on the Wifi, but do not sync the files on the NAS.
I've checked mounting is possible with my config - ok
I can ssh - ok

here is my /boot/teslausb-headless-setup.log

I've launched a setup since, it installed some more files, checked the system but still I have this issue...This is why the following file is long...

pi@teslausb:~ $ cat /boot/teslausb-headless-setup.log
Sat 15 Jun 22:27:12 BST 2019 : Detecting whether to update wpa_supplicant.conf
Sat 15 Jun 22:27:12 BST 2019 : Wifi variables specified, and no /boot/WIFI_ENABLED. Building wpa_supplicant.conf.
Sat 15 Jun 22:27:12 BST 2019 : Rebooting...
Sat 15 Jun 22:27:40 BST 2019 : Detecting whether to update wpa_supplicant.conf
Sat 15 Jun 22:27:40 BST 2019 : Grabbing main setup file.
Sat 15 Jun 22:27:42 BST 2019 : Starting setup.
Sat 15 Jun 22:27:42 BST 2019 : reading config from /root/teslausb_setup_variables.conf
Sat 15 Jun 22:27:42 BST 2019 : curl -s https://api.github.com/repos/marcone/teslausb/git/refs/heads/main-dev
Sat 15 Jun 22:27:43 BST 2019 : 'curl -s https://api.github.com/repos/marcone/teslausb/git/refs/heads/main-dev' failed, retrying
Sat 15 Jun 22:27:47 BST 2019 : 'curl -s https://api.github.com/repos/marcone/teslausb/git/refs/heads/main-dev' failed, retrying
Sat 15 Jun 22:27:51 BST 2019 : 'curl -s https://api.github.com/repos/marcone/teslausb/git/refs/heads/main-dev' failed, retrying
Sat 15 Jun 22:27:55 BST 2019 : 'curl -s https://api.github.com/repos/marcone/teslausb/git/refs/heads/main-dev' failed, retrying
Thu 22 Aug 13:04:39 BST 2019 : curl -o /tmp/setup-teslausb https://raw.githubusercontent.com/marcone/teslausb/996e4bba750d3dbf2598c1c1bad93349fe0089a7/setup/pi/setup-teslausb
Thu 22 Aug 13:04:40 BST 2019 : Downloaded /tmp/setup-teslausb ...
Thu 22 Aug 13:04:41 BST 2019 : /root/bin/setup-teslausb is up to date
Thu 22 Aug 13:04:41 BST 2019 : Updating package index files...
Thu 22 Aug 13:05:20 BST 2019 : Detecting whether to update wpa_supplicant.conf
Thu 22 Aug 13:05:20 BST 2019 : Starting setup.
Thu 22 Aug 13:05:21 BST 2019 : reading config from /root/teslausb_setup_variables.conf
Thu 22 Aug 13:05:21 BST 2019 : curl -s https://api.github.com/repos/marcone/teslausb/git/refs/heads/main-dev
Thu 22 Aug 13:05:29 BST 2019 : curl -o /tmp/setup-teslausb https://raw.githubusercontent.com/marcone/teslausb/996e4bba750d3dbf2598c1c1bad93349fe0089a7/setup/pi/setup-teslausb
Thu 22 Aug 13:05:37 BST 2019 : Downloaded /tmp/setup-teslausb ...
Thu 22 Aug 13:05:37 BST 2019 : /root/bin/setup-teslausb is up to date
Thu 22 Aug 13:05:37 BST 2019 : Updating package index files...
Thu 22 Aug 13:09:13 BST 2019 : Verifying that the requested configuration is valid...
Thu 22 Aug 13:09:13 BST 2019 : curl -o /tmp/verify-configuration.sh https://raw.githubusercontent.com/marcone/teslausb/996e4bba750d3dbf2598c1c1bad93349fe0089a7/setup/pi/verify-configuration.sh
Thu 22 Aug 13:09:14 BST 2019 : Downloaded /tmp/verify-configuration.sh ...
Thu 22 Aug 13:09:14 BST 2019 : Verifying that there is sufficient space available on the MicroSD card...
Thu 22 Aug 13:09:14 BST 2019 : There is sufficient space available.
Thu 22 Aug 13:09:23 BST 2019 : Downloading additional setup scripts.
Thu 22 Aug 13:09:23 BST 2019 : curl -o /root/bin/remountfs_rw https://raw.githubusercontent.com/marcone/teslausb/996e4bba750d3dbf2598c1c1bad93349fe0089a7/run/remountfs_rw
Thu 22 Aug 13:09:23 BST 2019 : Downloaded /root/bin/remountfs_rw ...
Thu 22 Aug 13:09:23 BST 2019 : curl -o /root/bin/mount_snapshot.sh https://raw.githubusercontent.com/marcone/teslausb/996e4bba750d3dbf2598c1c1bad93349fe0089a7/run/mount_snapshot.sh
Thu 22 Aug 13:09:24 BST 2019 : Downloaded /root/bin/mount_snapshot.sh ...
Thu 22 Aug 13:09:24 BST 2019 : curl -o /root/bin/release_snapshot.sh https://raw.githubusercontent.com/marcone/teslausb/996e4bba750d3dbf2598c1c1bad93349fe0089a7/run/release_snapshot.sh
Thu 22 Aug 13:09:25 BST 2019 : Downloaded /root/bin/release_snapshot.sh ...
Thu 22 Aug 13:09:25 BST 2019 : curl -o /tmp/create-backingfiles-partition.sh https://raw.githubusercontent.com/marcone/teslausb/996e4bba750d3dbf2598c1c1bad93349fe0089a7/setup/pi/create-backingfiles-partition.sh
Thu 22 Aug 13:09:26 BST 2019 : Downloaded /tmp/create-backingfiles-partition.sh ...
Thu 22 Aug 13:09:26 BST 2019 : curl -o /tmp/create-backingfiles.sh https://raw.githubusercontent.com/marcone/teslausb/996e4bba750d3dbf2598c1c1bad93349fe0089a7/setup/pi/create-backingfiles.sh
Thu 22 Aug 13:09:27 BST 2019 : Downloaded /tmp/create-backingfiles.sh ...
Thu 22 Aug 13:09:27 BST 2019 : curl -o /tmp/make-root-fs-readonly.sh https://raw.githubusercontent.com/marcone/teslausb/996e4bba750d3dbf2598c1c1bad93349fe0089a7/setup/pi/make-root-fs-readonly.sh
Thu 22 Aug 13:09:28 BST 2019 : Downloaded /tmp/make-root-fs-readonly.sh ...
Thu 22 Aug 13:09:28 BST 2019 : curl -o /tmp/configure.sh https://raw.githubusercontent.com/marcone/teslausb/996e4bba750d3dbf2598c1c1bad93349fe0089a7/setup/pi/configure.sh
Thu 22 Aug 13:09:29 BST 2019 : Downloaded /tmp/configure.sh ...
Thu 22 Aug 13:09:29 BST 2019 : Fixing the modules-load parameter in /boot/cmdline.txt...
Thu 22 Aug 13:09:29 BST 2019 : Fixed cmdline.txt.
Thu 22 Aug 13:09:38 BST 2019 : Checking existing partitions...
Thu 22 Aug 13:09:39 BST 2019 : Modifying partition table for backing files partition...
Thu 22 Aug 13:09:39 BST 2019 : Modifying partition table for mutable (writable) partition for script usage...
Thu 22 Aug 13:09:40 BST 2019 : Writing updated partitions to fstab and /boot/cmdline.txt
Thu 22 Aug 13:09:40 BST 2019 : Formatting new partitions...
Thu 22 Aug 13:10:33 BST 2019 : Mounting the partition for the backing files...
Thu 22 Aug 13:10:33 BST 2019 : Mounted the partition for the backing files.
Thu 22 Aug 13:10:33 BST 2019 : Creating backing disk files.
Thu 22 Aug 13:10:33 BST 2019 : create-backingfiles: starting
Thu 22 Aug 13:10:33 BST 2019 : create-backingfiles: cam: 90%, music: 100%, mountpoint: /backingfiles
Thu 22 Aug 13:10:34 BST 2019 : create-backingfiles: Allocating 53009020K for /backingfiles/cam_disk.bin...
Thu 22 Aug 13:10:34 BST 2019 : create-backingfiles: Creating filesystem with label 'CAM'
Thu 22 Aug 13:10:35 BST 2019 : create-backingfiles: updated /etc/fstab for /mnt/cam
Thu 22 Aug 13:10:35 BST 2019 : create-backingfiles: created camera backing file
Thu 22 Aug 13:10:35 BST 2019 : create-backingfiles: Allocating 5889892K for /backingfiles/music_disk.bin...
Thu 22 Aug 13:10:37 BST 2019 : create-backingfiles: Creating filesystem with label 'MUSIC'
Thu 22 Aug 13:10:38 BST 2019 : create-backingfiles: updated /etc/fstab for /mnt/music
Thu 22 Aug 13:10:38 BST 2019 : create-backingfiles: created music backing file
Thu 22 Aug 13:10:40 BST 2019 : create-backingfiles: done
Thu 22 Aug 13:10:49 BST 2019 : Main setup completed.
Thu 22 Aug 13:10:49 BST 2019 : calling configure.sh
Thu 22 Aug 13:10:50 BST 2019 : configure: /tmp/configure.sh starting with REPO=marcone, BRANCH=main-dev, ARCHIVE_SYSTEM=cifs
Thu 22 Aug 13:10:50 BST 2019 : configure: Getting files from marcone:main-dev
Thu 22 Aug 13:10:50 BST 2019 : configure: Pushover not configured.
Thu 22 Aug 13:10:50 BST 2019 : configure: Gotify not configured.
Thu 22 Aug 13:10:50 BST 2019 : configure: Gotify not configured.
Thu 22 Aug 13:10:50 BST 2019 : configure: Starting download for /root/bin/send-push-message
Thu 22 Aug 13:10:51 BST 2019 : configure: Done
Thu 22 Aug 13:10:51 BST 2019 : configure: Starting download for /root/bin/send_sns.py
Thu 22 Aug 13:10:52 BST 2019 : configure: Done
Thu 22 Aug 13:10:52 BST 2019 : configure: Checking archive configs:
Thu 22 Aug 13:10:52 BST 2019 : configure: done
Thu 22 Aug 13:10:52 BST 2019 : configure: Using archive module: run/cifs_archive
Thu 22 Aug 13:10:52 BST 2019 : configure: Installing base archive scripts into /root/bin
Thu 22 Aug 13:10:52 BST 2019 : configure: Starting download for /root/bin/archiveloop
Thu 22 Aug 13:10:53 BST 2019 : configure: Done
Thu 22 Aug 13:10:53 BST 2019 : configure: Starting download for /root/bin/remountfs_rw
Thu 22 Aug 13:10:54 BST 2019 : configure: Done
Thu 22 Aug 13:10:54 BST 2019 : configure: Starting download for /root/bin/tesla_api.py
Thu 22 Aug 13:10:55 BST 2019 : configure: Done
Thu 22 Aug 13:10:55 BST 2019 : configure: Installing archive module scripts
Thu 22 Aug 13:10:55 BST 2019 : configure: Starting download for /tmp/verify-and-configure-archive.sh
Thu 22 Aug 13:10:56 BST 2019 : configure: Done
Thu 22 Aug 13:10:56 BST 2019 : configure: Starting download for /root/bin/archive-clips.sh
Thu 22 Aug 13:10:57 BST 2019 : configure: Done
Thu 22 Aug 13:10:57 BST 2019 : configure: Starting download for /root/bin/connect-archive.sh
Thu 22 Aug 13:10:58 BST 2019 : configure: Done
Thu 22 Aug 13:10:58 BST 2019 : configure: Starting download for /root/bin/disconnect-archive.sh
Thu 22 Aug 13:10:59 BST 2019 : configure: Done
Thu 22 Aug 13:10:59 BST 2019 : configure: Starting download for /root/bin/write-archive-configs-to.sh
Thu 22 Aug 13:11:00 BST 2019 : configure: Done
Thu 22 Aug 13:11:00 BST 2019 : configure: Starting download for /root/bin/archive-is-reachable.sh
Thu 22 Aug 13:11:01 BST 2019 : configure: Done
Thu 22 Aug 13:11:01 BST 2019 : configure: Starting download for /root/bin/copy-music.sh
Thu 22 Aug 13:11:02 BST 2019 : configure: Done
Thu 22 Aug 13:11:02 BST 2019 : verify-and-configure-archive: Installing/updating required packages if needed
Thu 22 Aug 13:11:07 BST 2019 : verify-and-configure-archive: Done
Thu 22 Aug 13:11:07 BST 2019 : verify-and-configure-archive: Verifying that the archive server 192.168.8.69 is reachable...
Thu 22 Aug 13:11:07 BST 2019 : verify-and-configure-archive: The archive server is reachable.
Thu 22 Aug 13:11:07 BST 2019 : verify-and-configure-archive: Verifying that the archive share is mountable...
Thu 22 Aug 13:11:07 BST 2019 : verify-and-configure-archive: Trying mount command-line:
Thu 22 Aug 13:11:07 BST 2019 : verify-and-configure-archive: mount -t cifs '//192.168.8.69/Public/TESLA/TeslaCam' '/tmp/archivetestmount' -o 'credentials=/tmp/teslaCamArchiveCredentials,iocharset=utf8,file_mode=0777,dir_mode=0777,,'
Thu 22 Aug 13:11:08 BST 2019 : verify-and-configure-archive: The archive share is mountable using: mount -t cifs '//192.168.8.69/Public/TESLA/TeslaCam' '/tmp/archivetestmount' -o 'credentials=/tmp/teslaCamArchiveCredentials,iocharset=utf8,file_mode=0777,dir_mode=0777,,'
Thu 22 Aug 13:11:08 BST 2019 : verify-and-configure-archive: Verifying that the archive share is mountable...
Thu 22 Aug 13:11:08 BST 2019 : verify-and-configure-archive: Trying mount command-line:
Thu 22 Aug 13:11:08 BST 2019 : verify-and-configure-archive: mount -t cifs '//192.168.8.69/Public/TESLA/TeslaMusic' '/tmp/archivetestmount' -o 'credentials=/tmp/teslaCamArchiveCredentials,iocharset=utf8,file_mode=0777,dir_mode=0777,,'
Thu 22 Aug 13:11:08 BST 2019 : verify-and-configure-archive: The archive share is mountable using: mount -t cifs '//192.168.8.69/Public/TESLA/TeslaMusic' '/tmp/archivetestmount' -o 'credentials=/tmp/teslaCamArchiveCredentials,iocharset=utf8,file_mode=0777,dir_mode=0777,,'
Thu 22 Aug 13:11:08 BST 2019 : verify-and-configure-archive: Configuring the archive...
Thu 22 Aug 13:11:09 BST 2019 : verify-and-configure-archive: Configured the archive.
Thu 22 Aug 13:11:09 BST 2019 : configure: Skipping rc.local installation
Thu 22 Aug 13:11:09 BST 2019 : make-root-fs-readonly: start
Thu 22 Aug 13:11:09 BST 2019 : make-root-fs-readonly: Removing unwanted packages...
Thu 22 Aug 13:12:08 BST 2019 : make-root-fs-readonly: Installing ntp and busybox-syslogd...
Thu 22 Aug 13:13:10 BST 2019 : make-root-fs-readonly: Configuring system...
Thu 22 Aug 13:13:10 BST 2019 : make-root-fs-readonly: Mounting the mutable partition...
Thu 22 Aug 13:13:10 BST 2019 : make-root-fs-readonly: Mounted.
Thu 22 Aug 13:13:11 BST 2019 : make-root-fs-readonly: Moving fake-hwclock data
Thu 22 Aug 13:13:11 BST 2019 : make-root-fs-readonly: done
Thu 22 Aug 13:13:11 BST 2019 : Upgrading installed packages...
Thu 22 Aug 13:20:19 BST 2019 : All done.
Fri 23 Aug 17:27:15 BST 2019 : Detecting whether to update wpa_supplicant.conf
Fri 23 Aug 17:27:55 BST 2019 : reading config from /root/teslausb_setup_variables.conf
Fri 23 Aug 17:27:55 BST 2019 : curl -s https://api.github.com/repos/marcone/teslausb/git/refs/heads/main-dev
Fri 23 Aug 17:27:56 BST 2019 : curl -o /tmp/setup-teslausb https://raw.githubusercontent.com/marcone/teslausb/996e4bba750d3dbf2598c1c1bad93349fe0089a7/setup/pi/setup-teslausb
Fri 23 Aug 17:27:57 BST 2019 : Downloaded /tmp/setup-teslausb ...
Fri 23 Aug 17:27:57 BST 2019 : /root/bin/setup-teslausb is up to date
Fri 23 Aug 17:27:57 BST 2019 : Updating package index files...
Fri 23 Aug 17:29:09 BST 2019 : Verifying that the requested configuration is valid...
Fri 23 Aug 17:29:09 BST 2019 : curl -o /tmp/verify-configuration.sh https://raw.githubusercontent.com/marcone/teslausb/996e4bba750d3dbf2598c1c1bad93349fe0089a7/setup/pi/verify-configuration.sh
Fri 23 Aug 17:29:10 BST 2019 : Downloaded /tmp/verify-configuration.sh ...
Fri 23 Aug 17:29:10 BST 2019 : Verifying that there is sufficient space available on the MicroSD card...
Fri 23 Aug 17:29:10 BST 2019 : There is sufficient space available.
Fri 23 Aug 17:29:18 BST 2019 : Downloading additional setup scripts.
Fri 23 Aug 17:29:18 BST 2019 : curl -o /root/bin/remountfs_rw https://raw.githubusercontent.com/marcone/teslausb/996e4bba750d3dbf2598c1c1bad93349fe0089a7/run/remountfs_rw
Fri 23 Aug 17:29:19 BST 2019 : Downloaded /root/bin/remountfs_rw ...
Fri 23 Aug 17:29:19 BST 2019 : curl -o /root/bin/mount_snapshot.sh https://raw.githubusercontent.com/marcone/teslausb/996e4bba750d3dbf2598c1c1bad93349fe0089a7/run/mount_snapshot.sh
Fri 23 Aug 17:29:20 BST 2019 : Downloaded /root/bin/mount_snapshot.sh ...
Fri 23 Aug 17:29:20 BST 2019 : curl -o /root/bin/release_snapshot.sh https://raw.githubusercontent.com/marcone/teslausb/996e4bba750d3dbf2598c1c1bad93349fe0089a7/run/release_snapshot.sh
Fri 23 Aug 17:29:21 BST 2019 : Downloaded /root/bin/release_snapshot.sh ...
Fri 23 Aug 17:29:21 BST 2019 : curl -o /tmp/create-backingfiles-partition.sh https://raw.githubusercontent.com/marcone/teslausb/996e4bba750d3dbf2598c1c1bad93349fe0089a7/setup/pi/create-backingfiles-partition.sh
Fri 23 Aug 17:29:22 BST 2019 : Downloaded /tmp/create-backingfiles-partition.sh ...
Fri 23 Aug 17:29:22 BST 2019 : curl -o /tmp/create-backingfiles.sh https://raw.githubusercontent.com/marcone/teslausb/996e4bba750d3dbf2598c1c1bad93349fe0089a7/setup/pi/create-backingfiles.sh
Fri 23 Aug 17:29:23 BST 2019 : Downloaded /tmp/create-backingfiles.sh ...
Fri 23 Aug 17:29:23 BST 2019 : curl -o /tmp/make-root-fs-readonly.sh https://raw.githubusercontent.com/marcone/teslausb/996e4bba750d3dbf2598c1c1bad93349fe0089a7/setup/pi/make-root-fs-readonly.sh
Fri 23 Aug 17:29:24 BST 2019 : Downloaded /tmp/make-root-fs-readonly.sh ...
Fri 23 Aug 17:29:24 BST 2019 : curl -o /tmp/configure.sh https://raw.githubusercontent.com/marcone/teslausb/996e4bba750d3dbf2598c1c1bad93349fe0089a7/setup/pi/configure.sh
Fri 23 Aug 17:29:25 BST 2019 : Downloaded /tmp/configure.sh ...
Fri 23 Aug 17:29:25 BST 2019 : Fixing the modules-load parameter in /boot/cmdline.txt...
Fri 23 Aug 17:29:25 BST 2019 : Fixed cmdline.txt.
Fri 23 Aug 17:29:34 BST 2019 : using existing backingfiles and mutable partitions
Fri 23 Aug 17:29:43 BST 2019 : Main setup completed.
Fri 23 Aug 17:29:43 BST 2019 : calling configure.sh
Fri 23 Aug 17:29:43 BST 2019 : configure: /tmp/configure.sh starting with REPO=marcone, BRANCH=main-dev, ARCHIVE_SYSTEM=cifs
Fri 23 Aug 17:29:43 BST 2019 : configure: Getting files from marcone:main-dev
Fri 23 Aug 17:29:43 BST 2019 : configure: Pushover not configured.
Fri 23 Aug 17:29:43 BST 2019 : configure: Gotify not configured.
Fri 23 Aug 17:29:43 BST 2019 : configure: Gotify not configured.
Fri 23 Aug 17:29:43 BST 2019 : configure: Starting download for /root/bin/send-push-message
Fri 23 Aug 17:29:44 BST 2019 : configure: Done
Fri 23 Aug 17:29:44 BST 2019 : configure: Starting download for /root/bin/send_sns.py
Fri 23 Aug 17:29:45 BST 2019 : configure: Done
Fri 23 Aug 17:29:45 BST 2019 : configure: Checking archive configs:
Fri 23 Aug 17:29:45 BST 2019 : configure: done
Fri 23 Aug 17:29:45 BST 2019 : configure: Using archive module: run/cifs_archive
Fri 23 Aug 17:29:45 BST 2019 : configure: Installing base archive scripts into /root/bin
Fri 23 Aug 17:29:45 BST 2019 : configure: Starting download for /root/bin/archiveloop
Fri 23 Aug 17:29:46 BST 2019 : configure: Done
Fri 23 Aug 17:29:46 BST 2019 : configure: Starting download for /root/bin/remountfs_rw
Fri 23 Aug 17:29:47 BST 2019 : configure: Done
Fri 23 Aug 17:29:47 BST 2019 : configure: Starting download for /root/bin/tesla_api.py
Fri 23 Aug 17:29:48 BST 2019 : configure: Done
Fri 23 Aug 17:29:48 BST 2019 : configure: Installing archive module scripts
Fri 23 Aug 17:29:48 BST 2019 : configure: Starting download for /tmp/verify-and-configure-archive.sh
Fri 23 Aug 17:29:49 BST 2019 : configure: Done
Fri 23 Aug 17:29:49 BST 2019 : configure: Starting download for /root/bin/archive-clips.sh
Fri 23 Aug 17:29:50 BST 2019 : configure: Done
Fri 23 Aug 17:29:50 BST 2019 : configure: Starting download for /root/bin/connect-archive.sh
Fri 23 Aug 17:29:51 BST 2019 : configure: Done
Fri 23 Aug 17:29:51 BST 2019 : configure: Starting download for /root/bin/disconnect-archive.sh
Fri 23 Aug 17:29:52 BST 2019 : configure: Done
Fri 23 Aug 17:29:52 BST 2019 : configure: Starting download for /root/bin/write-archive-configs-to.sh
Fri 23 Aug 17:29:53 BST 2019 : configure: Done
Fri 23 Aug 17:29:53 BST 2019 : configure: Starting download for /root/bin/archive-is-reachable.sh
Fri 23 Aug 17:29:53 BST 2019 : configure: Done
Fri 23 Aug 17:29:53 BST 2019 : configure: Starting download for /root/bin/copy-music.sh
Fri 23 Aug 17:29:54 BST 2019 : configure: Done
Fri 23 Aug 17:29:54 BST 2019 : verify-and-configure-archive: Installing/updating required packages if needed
Fri 23 Aug 17:29:59 BST 2019 : verify-and-configure-archive: Done
Fri 23 Aug 17:29:59 BST 2019 : verify-and-configure-archive: Verifying that the archive server NASTORMWIND2.local is reachable...
Fri 23 Aug 17:29:59 BST 2019 : verify-and-configure-archive: The archive server is reachable.
Fri 23 Aug 17:29:59 BST 2019 : verify-and-configure-archive: Verifying that the archive share is mountable...
Fri 23 Aug 17:29:59 BST 2019 : verify-and-configure-archive: Trying mount command-line:
Fri 23 Aug 17:29:59 BST 2019 : verify-and-configure-archive: mount -t cifs '//NASTORMWIND2.local/TeslaCam' '/tmp/archivetestmount' -o 'credentials=/tmp/teslaCamArchiveCredentials,iocharset=utf8,file_mode=0777,dir_mode=0777,,'
Fri 23 Aug 17:30:00 BST 2019 : verify-and-configure-archive: The archive share is mountable using: mount -t cifs '//NASTORMWIND2.local/TeslaCam' '/tmp/archivetestmount' -o 'credentials=/tmp/teslaCamArchiveCredentials,iocharset=utf8,file_mode=0777,dir_mode=0777,,'
Fri 23 Aug 17:30:00 BST 2019 : verify-and-configure-archive: Verifying that the archive share is mountable...
Fri 23 Aug 17:30:00 BST 2019 : verify-and-configure-archive: Trying mount command-line:
Fri 23 Aug 17:30:00 BST 2019 : verify-and-configure-archive: mount -t cifs '//NASTORMWIND2.local/Public/TESLA/TeslaMusic' '/tmp/archivetestmount' -o 'credentials=/tmp/teslaCamArchiveCredentials,iocharset=utf8,file_mode=0777,dir_mode=0777,,'
Fri 23 Aug 17:30:00 BST 2019 : verify-and-configure-archive: The archive share is mountable using: mount -t cifs '//NASTORMWIND2.local/Public/TESLA/TeslaMusic' '/tmp/archivetestmount' -o 'credentials=/tmp/teslaCamArchiveCredentials,iocharset=utf8,file_mode=0777,dir_mode=0777,,'
Fri 23 Aug 17:30:00 BST 2019 : verify-and-configure-archive: Configuring the archive...
Fri 23 Aug 17:30:00 BST 2019 : verify-and-configure-archive: Configured the archive.
Fri 23 Aug 17:30:00 BST 2019 : configure: Skipping rc.local installation
Fri 23 Aug 17:30:00 BST 2019 : make-root-fs-readonly: start
Fri 23 Aug 17:30:00 BST 2019 : make-root-fs-readonly: Removing unwanted packages...
Fri 23 Aug 17:30:10 BST 2019 : make-root-fs-readonly: Installing ntp and busybox-syslogd...
Fri 23 Aug 17:30:15 BST 2019 : make-root-fs-readonly: Configuring system...
Fri 23 Aug 17:30:15 BST 2019 : make-root-fs-readonly: done
Fri 23 Aug 17:30:15 BST 2019 : Upgrading installed packages...
Fri 23 Aug 17:30:22 BST 2019 : All done.
pi@teslausb:~ $

and
/mutable/archiveloop.log

Thu 3 Nov 17:17:06 GMT 2016: Starting archiveloop...
Thu 3 Nov 17:17:07 GMT 2016: Waiting for time to be set by ntpd...
Fri 23 Aug 18:02:25 BST 2019: Time still not set, attempting to force it
Fri 23 Aug 18:02:25 BST 2019: Failed to set time
Fri 23 Aug 18:02:25 BST 2019: Ensuring music backing file is mounted...
Fri 23 Aug 18:02:25 BST 2019: Mounting /mnt/music...
Fri 23 Aug 18:02:25 BST 2019: Mounted /mnt/music.
Fri 23 Aug 18:02:26 BST 2019: Ensured music drive is mounted.
Fri 23 Aug 18:02:26 BST 2019: Running fsck on /mnt/music...
Fri 23 Aug 18:02:26 BST 2019: | fsck from util-linux 2.29.2
Fri 23 Aug 18:02:27 BST 2019: | fsck.fat 4.1 (2017-01-24)
Fri 23 Aug 18:02:27 BST 2019: | 0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
Fri 23 Aug 18:02:27 BST 2019: | Automatically removing dirty bit.
Fri 23 Aug 18:02:27 BST 2019: | Performing changes.
Fri 23 Aug 18:02:27 BST 2019: | /dev/loop0: 164 files, 55578/1469343 clusters
Fri 23 Aug 18:02:27 BST 2019: Finished fsck on /mnt/music.
Fri 23 Aug 18:02:27 BST 2019: Unmounting /mnt/music...
Fri 23 Aug 18:02:27 BST 2019: Unmounted /mnt/music.
Fri 23 Aug 18:02:27 BST 2019: Archiving...
Fri 23 Aug 18:02:27 BST 2019: Disconnecting usb from host...
Fri 23 Aug 18:02:28 BST 2019: Disconnected usb from host.
Fri 23 Aug 18:02:28 BST 2019: Ensuring cam archive is mounted...
Fri 23 Aug 18:02:28 BST 2019: /mnt/archive is already mounted.
Fri 23 Aug 18:02:28 BST 2019: Ensured cam archive is mounted.
Fri 23 Aug 18:02:28 BST 2019: Ensuring music archive is mounted...
Fri 23 Aug 18:02:28 BST 2019: /mnt/musicarchive is already mounted.
Fri 23 Aug 18:02:28 BST 2019: Ensured music archive is mounted.
Fri 23 Aug 18:02:28 BST 2019: Starting recording archiving...
Fri 23 Aug 18:02:28 BST 2019: Ensuring cam file is mounted...
Fri 23 Aug 18:02:28 BST 2019: Mounting /mnt/cam...
Fri 23 Aug 18:02:28 BST 2019: Mounted /mnt/cam.
Fri 23 Aug 18:02:28 BST 2019: Ensured cam file is mounted.
Fri 23 Aug 18:02:28 BST 2019: Running fsck on /mnt/cam...
Fri 23 Aug 18:02:28 BST 2019: | fsck from util-linux 2.29.2
Fri 23 Aug 18:02:30 BST 2019: | fsck.fat 4.1 (2017-01-24)
Fri 23 Aug 18:02:30 BST 2019: | 0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
Fri 23 Aug 18:02:30 BST 2019: | Automatically removing dirty bit.
Fri 23 Aug 18:02:30 BST 2019: | Performing changes.
Fri 23 Aug 18:02:30 BST 2019: | /dev/loop0: 414 files, 176467/1656092 clusters
Fri 23 Aug 18:02:30 BST 2019: Finished fsck on /mnt/cam.
Fri 23 Aug 18:02:30 BST 2019: wake up car process is 1443
Fri 23 Aug 18:02:30 BST 2019: Moving clips to archive...
Fri 23 Aug 18:02:30 BST 2019: Creating output directory ''
Fri 23 Aug 18:02:30 BST 2019: Creating output directory '2019-08-22_19-13-17'
Fri 23 Aug 18:02:30 BST 2019: Failed to create '2019-08-22_19-13-17', check that archive server is writable and has free space
Fri 23 Aug 18:02:30 BST 2019: Moved 0 file(s), failed to copy 0, deleted 0.
Fri 23 Aug 18:02:30 BST 2019: Finished moving clips to archive.
Fri 23 Aug 18:02:30 BST 2019: killing PID 1443
Fri 23 Aug 18:02:30 BST 2019: Unmounting /mnt/cam...
Fri 23 Aug 18:02:31 BST 2019: Unmounted /mnt/cam.
Fri 23 Aug 18:02:31 BST 2019: Finished archiving.
Fri 23 Aug 18:02:31 BST 2019: Copying music...
Fri 23 Aug 18:02:31 BST 2019: Starting music sync...
Fri 23 Aug 18:02:31 BST 2019: Ensuring music backing file is mounted...
Fri 23 Aug 18:02:31 BST 2019: Mounting /mnt/music...
Fri 23 Aug 18:02:31 BST 2019: Mounted /mnt/music.
Fri 23 Aug 18:02:31 BST 2019: Ensured music drive is mounted.
Fri 23 Aug 18:02:31 BST 2019: Running fsck on /mnt/music...
Fri 23 Aug 18:02:31 BST 2019: | fsck from util-linux 2.29.2
Fri 23 Aug 18:02:32 BST 2019: | fsck.fat 4.1 (2017-01-24)
Fri 23 Aug 18:02:32 BST 2019: | 0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
Fri 23 Aug 18:02:32 BST 2019: | Automatically removing dirty bit.
Fri 23 Aug 18:02:32 BST 2019: | Performing changes.
Fri 23 Aug 18:02:32 BST 2019: | /dev/loop0: 164 files, 55578/1469343 clusters
Fri 23 Aug 18:02:32 BST 2019: Finished fsck on /mnt/music.
Fri 23 Aug 18:02:32 BST 2019: Copying music from archive...
Fri 23 Aug 18:02:32 BST 2019: Copied 0 music file(s), skipped 42 previously-copied files, encountered 0 errors.
Fri 23 Aug 18:02:32 BST 2019: Unmounting /mnt/music...
Fri 23 Aug 18:02:33 BST 2019: Unmounted /mnt/music.
Fri 23 Aug 18:02:33 BST 2019: Finished copying music.
Fri 23 Aug 18:02:33 BST 2019: unmounting /mnt/archive
Fri 23 Aug 18:02:33 BST 2019: unmounting /mnt/musicarchive
Fri 23 Aug 18:02:33 BST 2019: Connecting usb to host...
Fri 23 Aug 18:02:33 BST 2019: Connected usb to host.
Fri 23 Aug 18:02:33 BST 2019: Waiting for archive to be unreachable...
pi@teslausb:~ $

I'm loosing my mind.
If anyone has a secret or a fix or an idea for checking what's going on when backup is launched...

Thanks for your help.

@natrash
Copy link
Author

natrash commented Aug 23, 2019

Btw, I don't get this :

Fri 23 Aug 18:02:30 BST 2019: Creating output directory '2019-08-22_19-13-17'
Fri 23 Aug 18:02:30 BST 2019: Failed to create '2019-08-22_19-13-17', check that archive server is writable and has free space

All permission are set and when I mount the folder manually I'm able to create and delete everything...

@natrash
Copy link
Author

natrash commented Aug 24, 2019

Finally I started from scratch again, checked everything again, and now it works....
Case closed for now :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant