If one of these comments is yours, and you are still experiencing the
problem, please file a proper bug report. --Joey
Following your news on kickstarter downloaded the .apk, and installed it. Upn start I just got a terminal window with
link busybox: Read-only file system
[Terminal session finished]
That is on Galaxy Note
The Android app works on many non-rooted Android systems.
The "link busybox: Read-only file system" means that /data/data/ga.androidterm/lib/lib.busybox.so cannot be hard linked to /data/data/ga.androidterm/busybox. That's not normal. I'd appreciate if you could provide more information on your Android device, like Android version and model number.
Sorry for the delay: my android is stock Samsung-tuned Jelly beans.
Baseband version N7000XXLSO
not sure if that would be of any use nothing in the logs (aLogcat) if I filter by annex -- should there any debug output? what should be a key to search by?
I just tried to run this on my Nexus 7 which has Android 4.2.2, and I received the following: http://hodapple.com/files/Screenshot_2013-05-19-09-49-53.png http://hodapple.com/files/git-annex-error.txt
In spite of that, though, the URL provided still worked.
@yarikoptic, there is a process you can perform that will help me determine what's going on.
You should be able to get the git-annex app to let you into a shell. You can do this by starting the app, and then going into its configuration menu, to Preferences, selecting "Command Line", and changing it to run "/system/bin/sh"
Then when you open a new window in the git-annex app, you'll be at a shell prompt. From there, you can run:
ls -ld /data/data/ga.androidterm
I'm interested to know a) whether the directory exists and b) what permissions and owner it has. On my tablet, I get back "drwxr-x--x app_39 app_39" .. and if I run id in the shell, it tells me it's running as app_39.
My guess is the directory probably does exist, but cannot be written to by the app. If you're able to verify that, the next step will be to investigate if there is some other directory that the app can write to. It needs to be able to write to someplace that is not on the /sdcard to install itself.
@yarikoptic you said before the error was "Read-only file system". Now you're saying it's "Cross-device link". I'm slightly confused.
I've reworked the android app to not need any hard links. Try the current autobuild: http://downloads.kitenet.net/git-annex/autobuild/android/git-annex.apk
you said before the error was "Read-only file system". Now you're saying it's "Cross-device link". I'm slightly confused.
Sorry for confusion, here are the details:
"Read-only file system" -- that error appeared when I started "stock git annex", i.e. from running /data/data/ga.androidterm/lib/lib.start.so .
Since you have suggested that it might be coming from hard linking command, I have ran that one manually, and that is when I got "Cross-device link" error, which suggests that hard linking is not the one at fault here.
I will try fresh build now
With fresh build got:
u0_a39@android:/ $ git annex webapp
/system/bin/sh: git: not found
the PATH is /sbin:/system/bin:/system/xbin
where should git (and ga) reside now ? (/data somehow is not accessible now to u0_a39)
You should be able to run /data/data/ga.androidterm/runshell even if you cannot ls /data. This adds /data/data/ga.androidterm/bin to PATH
However, the shell that the app starts is started by runshell anyway, so I don't understand how this could happen.
talking about 4.20130523-gcfe07a2 version:
because working in the terminal to interact with git-annex probably should not be a common case on Android, may be it is worth making default type of new added repository to become a full backup? I have initiated a new one, attached a remote one, it said "synced" but all the files were just containing symlinks and were not usable. I had to switch to "full backup" (or whatever that name) to finally get directory synced
log file might grow too large simply because of containing numerous entries for attempting connect remote repository while offline, e.g.
Please make sure you have the correct access rights
and the repository exists.
ssh: Could not resolve hostname onerussian.com: No address associated with hostname
fatal: Could not read from remote repository.
IMHO those should not be there at all, e.g. if it is known that ATM there is no network connectivity
error: cannot run git-receive-pack '/storage/sdcard0/annex': No such file or directory
fatal: unable to fork
I too get the 'link busybox: Read-only file system' message. Here is my phone info:
Phone: Samsung Galaxy Y GT-S5360 (rooted)
Android: 2.3.6 Gingerbread
BusyBox path: /system/xbin/
Androids own terminal seems not to understand the d argument (-ld: No such file or directory) but over ssh 'ls -ld /data/data/ga.androidterm' returns
drwxr-x--x 1 app_97 app_97 0 May 30 12:57 /data/data/ga.androidterm/
ok, it eventually got the details from the remote server, but now I'm getting some other oddities. here is some of my log that shows what I am running into
Watcher crashed: addWatch: does not exist (No such file or directory) [2013-07-18 06:22:46 CDT] Watcher: warning Watcher crashed: addWatch: does not exist (No such file or directory) (scanning...) [2013-07-18 06:23:19 CDT] Watcher: Performing startup scan Watcher crashed: addWatch: does not exist (No such file or directory) [2013-07-18 06:24:28 CDT] Watcher: warning Watcher crashed: addWatch: does not exist (No such file or directory) (scanning...) [2013-07-18 06:24:31 CDT] Watcher: Performing startup scan Watcher crashed: addWatch: does not exist (No such file or directory) [2013-07-18 06:25:44 CDT] Watcher: warning Watcher crashed: addWatch: does not exist (No such file or directory)
frioux here (something messed up with myopenid or something)
So I deleted the repo on my phone (via the CLI since the web app seemed hung) and recreated it; this time making sure that I set things to manual mode ASAP. It didn't have the problem it was having before, but now what seems to have happened is that it fetches from the remote, commits to the local repo, and then immediately fetches and commits again. It looks like it's about a 4s repeat loop. Any ideas what I should do next?
@Frew, you should file bug reports when you have a bug.
One problem you mentioned had already had a bug report filed by someone
http://git-annex.branchable.com/bugs/Watcher_crashed:_addWatch:_does_not_exist/ So you can post your details there.
In webapp UI, added on first install, the location for repository: /storage/sdcard1
Watcher crashed: addWatch:
permission denied (Permission denied)
:Performing startup scan
In terminal Window 1:
nex webapp <
Detected a crippled filesystem.
Enabling direct mode.
Detected a filesystem without fifo support.
Disabling ssh connection caching.
Android 4.1.1 Huawei Y300 Annex.apk v1.0.52 version 4.20130723
Phone: HTC EVO 3d 4g
Model Number: pg86100
Android Version: 4.0.3