It seems that any sort of documentation for installing on Linux is non-existent. I will try later today to see if it is self explanatory, but it seems there should be something out there.
Forums
A community for Skifta users to learn and share.
|
|
Linux Documentation?
-
Posted 1 year ago
-
Posted 1 year ago
You can get the linux version here:
http://www.skifta.com/getting-started/other-downloads
From the location you download to:
chmod u+x install.bin.sh
./install.bin.shI'll have a chat with the team about updating to include linux documentation on the main site.
-
Posted 1 year ago
I figured out how to get it installed yesterday (and then realized I had installed it as the root user, uninstalled it, then re-installed it as a normal user). It seemed to be running after I installed it, I was able to access it from the app on my phone, but after I attempted to run the binary named Skifta in ~/Skifta I wasn't able to access it anymore. I'd like to not have to restart my server, but I'm not sure how to start Skifta up again (or whether or not restarting would actually start it up. It seems pretty autonomous).
-
Posted 1 year ago
Hi qwertman -- great name by the way :-)
you say 'it seemed' to be running after installation - did you check the process was running? If so, as root, or yourself - i.e. did you kill the 'root' version before reinstalling as yourself?Skifta should be restarted manually under linux unless you've modified your init script. Kill the process and then re-execute the the Skifta binary. That's about it really :-)
-
Posted 1 year ago
Close but not quite!
Uninstalling the first instance did kill all of the processes under root. Installing it as a user started it automatically. At this point everything worked.
When I ran ~/Skifta/Skifta (while it was already running) that's when things stopped working correctly. I was able to fix everything by running killall java, then ~/Skifta/Skifta.I guess documentation isn't really needed if that's all there is to it!
-
Posted 1 year ago
Great - in any case, I've requested documentation is added to 'getting started'. As you rightly pointed out, teher's nothing for linux there. Glad you got it working - let us know how you get on with the Skifta beta!
-
Posted 11 months ago
Hi.
Im just downloading this now for ubuntu. I have a Desire and a gTablet running the android app, and would like to get it running on my two ubuntu pc's. After the install, what do i do next? is there a GUI or terminal command or something that i have to open and share my files? Or does it just automatically share files/folders that i have shared through ubuntu? -
Posted 11 months ago
Hi farsight87
Righto, Skifta talks UPNP and DLNA. If you are using Skifta on your home network, you only need to install a UPNP or DLNA server on your linux boxes.
This article [ http://www.rbgrn.net/content/21-how-to-choose-dlna-media-server-windows-mac-os-x-or-linux ] will give you an idea where to start.
In that instance, you'll only need the Skifta client on your handset and that will talk to the media server that you install.
IF you wish to SHIFT media from your home linux box to another subnet (so, another network located elsewhere) you need to install the Skifta desktop client.
In this instance, what you want to do is check that you have the app running:
ps -ef | grep SkiftaSkifta should be started manually under linux unless you've modified your init script. If you've got your init script already modded Skifta will start on reboot.
So - if Skifta is started, check status by opening a web browser pointed at:
http://localhost:9990/adminAnd obviously, you still need to install a media server that talks DLNA or UPNP.
Skifta will tak your Linux box media server and share it with other Skifta clients using your account authorisation inside your network and outside.
Absolutely brilliant - I use 'shifting' all the time from my home mac to my work computer.Run your media server, let me know how you get on.
-
Posted 11 months ago
WOW!
That just cleared up soooo much for me. Thanks heaps!!!
Ok cool, so i will search for a decent dlna media server app for my linux boxes now. Do you recommend any good free ones?So, just for my further understanding....
Theoretically, i could have skifta installed on my two linux boxes (ones a laptop) and my android devices. Then, i could visit a mate and take my laptop and gtablet which connect to his wifi. If i left my phone at home, id be able to access media thats on my phone, using my gtablet. By shifting media through homedesktop to laptop at mates. correct?wow, my head hurts lol.
-
Posted 11 months ago
Corrrrrrrect. Good, eh? I sometimes use it to shift media to my house so I can keep my parrot entertained whilst I'm at work.
Open http://www.skifta.com/my-connections to create 'shifts' or use the 'remote tab' from the client.
DLNA / UPNP servers.. all down to personal preference. I use XBMC most of the time, but the library mode in the new version's a bit of a pain. Plus, if you're using Linux you'll probably want something that sits in the background. I've also had fun with PS3 media server.. but ideally you should try out a few and see which one suits your needs best.
Remember - Skifta will display 'no items found' if the server returns no items.. so if you see that message check you're serving up content!
BTW - if you like Skifta - every rating we get in the marketplace really helps our development.
-
Posted 11 months ago
Awesome. Thanks for all your help so far.
Ive got mediatomb running on my local network and my devices can see it all and play it and even push it onto my tv. so thats all working well.
But now im trying to install skifta on my ubuntu desktop and it installs fine right up to the last step. The part where it says configuring for your system. After a minute or so, it pops up and says error configuring for your system. Thats it.Im not sure, whats wrong, as i have it installed on laptop no worries (11.04). In the terminal before the skifta launcher starts i noticed something about a string error mentioning /lib/libc.so.6 file does not exist or something.
Any ideas? -
Posted 11 months ago
Yes - you'll need to send us the install log from that installation to support@skifta.com, referencing this thread. You'll find it present under the Skifta installation directory.
-
Posted 11 months ago
Hey. Thanks for the reply. Just managed to get it sorted though. A bit of an ordeal as I deleted something and crashed my system, but I got it all back n working.
I think the fix ended up being reinstalling lib6 and rebooting.
Ill send u the log when I'm home next. :D
Cheers. -
Posted 11 months ago
Great stuff! Nicely done - so you're fully installed now?
-
Posted 6 months ago
I ssh'd into my linux box (running fedora 14) and installed install.bin
i checked to verify that it was running:
ps -ef | grep Skiftathen I VNC'd in, fired up firefox and the admin page however failed:
http://localhost:9990/adminideas?
-
Posted 6 months ago
Sure thing.
The admin page was removed from the desktop client.
terminate the skifta process and restart in headless mode:
nohup java -jar Skifta.jar -start &You can alter your init script to do this also if required.
Telnet to the box on port 40612:
telnet localhost 40612You should see 'Felix Remote Shell Console'.
Type 'ps' to check everything is active and installed, then 'exit'.And you should be good to start using skifta.
-
Posted 6 months ago
Heya!
installed skifta for the purpose of streaming media from my boxes at home over 3g. Getting to the point as described by rbmattis was a breeze.
the admin interface is gone, telnetting to port 40612 gives me a connection refused. this alone would not bother me, as skifta seems to be up and running an no errors in the startup log.
But the service does however show up as offline on my android devices and i don't see any config files. is there a way to point skifta to media directories? from reading the documentation for the pc version, it seems that there is?any help appreciated! thanks for a great app!
-
Posted 6 months ago
Hey Trotzky
Some questions:
1) What device are you running on?
2) Have you a firewall running on this device?
3) Port 40612 will not be available until the actual Skifta service has been started:
nohup java -jar Skifta.jar -start &Check this port is listening once the application has started:
netstat -a | grep 40612This should show the port is listening, you can telnet:
telnet localhost 40612You can manually set paths for the media server thus when starting in headless mode:
java
-Dcom.skifta.mediaserver.test.music.path=/Users/tlindhol/Music/mymusic/compilation \
-Dcom.skifta.mediaserver.test.photo.path=/Users/tlindhol/Pictures \
-Dcom.skifta.mediaserver.test.video.path=/Users/tlindhol/Movies \
-jar Skifta.jarHTH
-
Posted 6 months ago
Hi,
When I start installer I see:
roman@rgezikov-desktop ~/Downloads $ ./install-skifta-x64-vm.bin
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
strings: '/lib/libc.so.6': No such fileLaunching installer...
Installer reports no error after that in the log, but starting Skifta fails with the same message:
strings: '/lib/libc.so.6': No such file
I'll send installation log to support@skifta.com (from rgesikov@gmail.com).
-
Posted 6 months ago
Which desktop are you using?
We've seen issues when trying to use desktops other than Gnome - can you try that and let us know how you get on?Support have seen your mail and have responded.
Many thanks -
Posted 4 months ago
I have the same libc.so.6 problem as @rgezikov. I'm using Unity on Ubuntu 11.10.
Everything appears to be running, and I can stream through the Skifta service (but while connected to the same network as the DLNA server itself). Any time I try and run Skifta while not connected to wifi however gives an error saying it will work over 3G but needs a wifi connection on first run - which it has had.
Is this a problem with settings on my phone, or is this related to the libc.so.6 problem?
-
Posted 4 months ago
OK, I created a symlink from /lib32/libc.so.6, and that seems to have got rid of the error. It now fails in a different way - I can't get a connection to succeed. It just "waits" forever.
Any more ideas? Acutally, we're now debugging an entirely different problem, maybe I should report it in a new thread.
-
Posted 4 months ago
Its possible one of your bundles has become corrupted on download.
Go: Home > Settings > Applications > manage applications > Skifta > Force stop
Navigate to the root of your SD card using a file browser - I like to use the free app 'astro' from the marketplace.
Delete the 'Skifta' directory.
Restart your device, restart Skifta.If you continue to see the issue, install the free app 'log collector' from the marketplace. Immediately (literally immediately) after you see the issue, switch to log collector. Mail the log to us at support@skifta.com referencing this thread.
-
Posted 3 months ago
I'm trying to get some help troubleshooting my own linux installation. I'm using a D-link DN-321 and was able to get Skifta non-JVM binary successfully installed using JamVM java. The installation seemed to go correctly and when I start Skifta it appears to be running but I don't see anything listening on 40612. I can see the device in my connections but it is off-line. How can I troubleshoot this further?
-
Posted 3 months ago
How are you starting Skifta? Tailing the startup log will give us more information.
-
Posted 3 months ago
Thanks for the quick response. I'm using these commands to start:
java -Dcom.skifta.mediaserver.test.music.path=/mnt/HD_a2/Music \
-Dcom.skifta.mediaserver.test.photo.path=/mnt/HD_a2/Pictures \
-Dcom.skifta.mediaserver.test.video.path=/mnt/HD_a2/Video \
-jar Skifta.jar -start &And this is the last set of output:
Mon Feb 13 14:19:02 GMT 2012 : SkiftaService - Service found: [org.osgi.service.http.HttpService, org.apache.felix.http.api.ExtHttpService]
Mon Feb 13 14:19:07 GMT 2012 : SkiftaService - Service found: [com.skifta.service.preference.PreferenceManager]
Mon Feb 13 14:19:09 GMT 2012 : SkiftaService - Service found: [org.osgi.service.packageadmin.PackageAdmin]
Mon Feb 13 14:19:07 GMT 2012 : SkiftaService - Notifying lock that update has completed
Mon Feb 13 14:19:15 GMT 2012 : SkiftaService - Service found: [org.osgi.service.startlevel.StartLevel]
Mon Feb 13 14:19:18 GMT 2012 : SkiftaService - Update lock has been notified: now booting to run level
Mon Feb 13 14:19:18 GMT 2012 : SkiftaService - Lock notified
Mon Feb 13 14:19:21 GMT 2012 : SkiftaService - Service found: [org.osgi.service.event.EventAdmin]
Mon Feb 13 14:19:26 GMT 2012 : SkiftaService - Bundle installed: org.apache.felix.framework (Active)
Mon Feb 13 14:19:26 GMT 2012 : SkiftaService - Run level set to: 10
Mon Feb 13 14:19:30 GMT 2012 : SkiftaService - Bundle installed: org.apache.felix.eventadmin (Active)
Mon Feb 13 14:19:32 GMT 2012 : SkiftaService - Bundle installed: org.apache.log4j (Active)
Mon Feb 13 14:19:36 GMT 2012 : SkiftaService - Bundle installed: org.apache.felix.http.jetty (Active)
Mon Feb 13 14:19:40 GMT 2012 : SkiftaService - Bundle installed: com.skifta.android.log4j (Active) -
Posted 3 months ago
That looks fine.. a bit truncated as I'd like to see what occurs after that final entry.
1) Do you see any exceptions in the logging that follows the above?
2) if you ps -ef | grep -i skifta in the terminal - is Skifta still executing?
3) You say 'telnet localhost 40612' or 'telnet localhost 40611' is not working for you. What do you see if you do:
lsof -i | grep -i skifta -
Posted 3 months ago
1)
There is no more output after that entry but these are the exceptions that occur before:Mon Feb 13 14:18:55 GMT 2012 : SkiftaService - Validating: https://skifta-prod.s3.amazonaws.com/silo/org.apache.felix.shell-1.4.2.jar
java.lang.RuntimeException: java.lang.RuntimeException: error instantiating default socket factory: java.security.KeyManagementException: java.security.KeyStoreException: java.io.FileNotFoundException: /opt/lib/security/cacerts
at javax.net.ssl.SSLSocketFactory$ErrorSocketFactory.createSocket(SSLSocketFactory.java:214)
at gnu.java.net.protocol.http.HTTPConnection.getSocket(HTTPConnection.java:732)
at gnu.java.net.protocol.http.HTTPConnection.getOutputStream(HTTPConnection.java:802)
at gnu.java.net.protocol.http.Request.dispatch(Request.java:292)
at gnu.java.net.protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java:219)
at gnu.java.net.protocol.http.HTTPURLConnection.getInputStream(HTTPURLConnection.java:488)
at java.net.URL.openStream(URL.java:737)
at com.skifta.android.client.utils.JarFileValidator.isValid(JarFileValidator.java:16)
at com.skifta.android.client.utils.UpdatePackage.doUpdates(UpdatePackage.java:222)
at com.skifta.android.client.utils.UpdatePackage.run(UpdatePackage.java:147)
Caused by: java.lang.RuntimeException: error instantiating default socket factory: java.security.KeyManagementException: java.security.KeyStoreException: java.io.FileNotFoundException: /opt/lib/security/cacerts
at javax.net.ssl.SSLSocketFactory.getDefault(SSLSocketFactory.java:145)
at javax.net.ssl.HttpsURLConnection.getDefaultSSLSocketFactory(HttpsURLConnection.java:159)
at javax.net.ssl.HttpsURLConnection.getSSLSocketFactory(HttpsURLConnection.java:232)
at gnu.java.net.protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java:172)
...5 more
Caused by: java.security.KeyManagementException: java.security.KeyStoreException: java.io.FileNotFoundException: /opt/lib/security/cacerts
at gnu.javax.net.ssl.provider.SSLContextImpl.defaultTrustManager(SSLContextImpl.java:283)
at gnu.javax.net.ssl.provider.SSLContextImpl.engineInit(SSLContextImpl.java:202)
at javax.net.ssl.SSLContext.init(SSLContext.java:291)
at javax.net.ssl.SSLSocketFactory.getDefault(SSLSocketFactory.java:141)
...8 more
Caused by: java.security.KeyStoreException: java.io.FileNotFoundException: /opt/lib/security/cacerts
at gnu.javax.net.ssl.provider.X509TrustManagerFactory.engineInit(X509TrustManagerFactory.java:173)
at javax.net.ssl.TrustManagerFactory.init(TrustManagerFactory.java:285)
at gnu.javax.net.ssl.provider.SSLContextImpl.defaultTrustManager(SSLContextImpl.java:270)
...11 more
Caused by: java.io.FileNotFoundException: /opt/lib/security/cacerts
at java.io.FileInputStream.<init>(FileInputStream.java:121)
at java.io.FileInputStream.<init>(FileInputStream.java:85)
at gnu.javax.net.ssl.provider.X509TrustManagerFactory.engineInit(X509TrustManagerFactory.java:161)
...13 more
Caused by: java.io.IOException: No such file or directory
at gnu.java.nio.VMChannel.open(Native Method)
at gnu.java.nio.VMChannel.openFile(VMChannel.java:529)
at gnu.java.nio.FileChannelImpl.<init>(FileChannelImpl.java:151)
at gnu.java.nio.FileChannelImpl.create(FileChannelImpl.java:141)
at java.io.FileInputStream.<init>(FileInputStream.java:113)
...15 more2)
root@lbstore:/mnt/HD_a2/ffp/home/root# ps -ef | grep -i skifta
11822 root grep -i skifta
31872 root java -Dcom.skifta.mediaserver.test.music.path=/mnt/HD_a2/Music -Dcom.skifta.mediaserver.test.photo.path=/mnt/HD_a2/Pictures -Dcom.skifta.mediaserver.test.video.path=/mnt/HD_a2/Video -jar Skifta.jar -start3)
root@lbstore:/mnt/HD_a2/ffp/home/root# lsof -i | grep -i skifta
lsof: no pwd entry for UID 1
lsof: no pwd entry for UID 1
lsof: no pwd entry for UID 1
lsof: no pwd entry for UID 1 -
Posted 3 months ago
AHA - thanks for that - isolated the fault. Well - the issue is that you can't use SSL to connect to Skifta's web service as the certificate store is not present on the device..
-
Posted 3 months ago
ok that makes sense. So how do I fix that?
Reply »
You must log in to post.