I cannot access rs.local
I checked the IP from my router/app and confirmed the Raspberry Shake is connected to the network. When I enter that IP in a browser, the page is completely blank.
I can connect to the device via FileZilla (SFTP) using the same IP, but SWARM cannot connect to it.
since SFTP is working, i assume ssh will also work as well. using whichever method you prefer, i would appreciate it if you would download the log files for me and post them here.
via SFTP, download the folder /opt/log, bundle accordingly, and post the file here
via ssh, after logging in to the Shake, the following commands:
> cd /opt
> tar cf /tmp/logs.tar log
> bzip2 /tmp/logs.tar
use SFTP to download the compressed file /tmp/logs.tar.bz2, and post it here
with log files in hand, i will be able to investigate the issue and propose a solution for you.
A program is attached below that solves the issue you are having with the upgrade.
Problem Description
Part of the upgrade involves downloading a new docker image and installing it on the Shake-Pi computer. If, in the middle of this download, the command is unexpectedly stopped, (e.g., system is rebooted), it is possible that the docker directories involved can become corrupt.
Resolution
The attached program addresses this situation:
Saves all current docker images to a tar file
Recreates the docker directories
Restores all docker images saved in step 1
Confirms download of new image is now successful
Instructions
Download the attached program to your local computer
Copy the program to the Shake needing to be healed, using scp or any FTP transfer program
2.1. Copy to directory /tmp
Log in to the Shake using ssh:
3.1. > ssh [email protected] # default pw: shakeme
Issue the following command:
4.1. > /tmp/docker-rebuild
A Success or Failure message will be output once the program completes its work:
On Success, reboot the Shake-Pi to complete the upgrade.
On Failure, file system remains in a corrupted state and will require an SD card re-burn in order to proceed.
Please report back any other issues you may come across, we are always very interested in knowing about all the situations which may occur across all the units installed all over the world.
I am having the exact same problem. I can see my shake (R16F7) on StationView and it is showing current activity; however, I can’t access it on either rs.local or using the shake IP address. I suspect the SD card might be corrupt because the shake has been rebooted a few times because it lost power (it is solar powered with a backup battery but several cloudy days in a row drained the battery resulting in the shake being shut down). Is an SD card re-burn my only option?
Bill
I was able to copy docker-rebuild to the pi and run it. It completed successfully and I rebooted. However, browsing to rs.local or to the IP address still does not work. As before, the pi is online and sending current data but I cannot access it like I had before. Not sure how to proceed.
thank you for the logs, they are pointing to a different issue than the docker download failure. i am looking into the problem and will report back once i have identified a solution.
thanks for your patience and apologies for the inconvenience.
the updater has been modified to generate more log file output than before, to expose the part of the installation that is not succeeding as it should. can you reboot your unit, and after it is back up, send me just this one file from the log directory:
/opt/log/upgrade.log
once i have this in hand i will be able to identify the exact issue so that the proper solution can be identified and applied.
the V21 updater has been updated to solve the issue of python dependencies failing install
please reboot your unit, confirm problem is resolved or not (FE-config should work), and report back the results. in the case where any update issue remains, this or any other, kindly forward the log files for further inspection.
and thanks again for the quick turnaround and feedback, it is invaluable.