Page 1 of 1

Making Tonido work on Amahi

Posted: Sun May 22, 2011 3:50 pm
by geekraver
Tonido does not support Fedora, nor is there a 64-bit version. I managed to ake it work and thought I'd share how for those interested:

- do a "yum install glibc.i686" to get some of the 32-bit libraries needed
- get the 32-bit Ubuntu .deb package from Tonido
- Do a "yum install ar"
- Extract the contents of the Tonido .deb package with:

ar vx TonidoSetup_i686.deb

You will have a data.tar.gz file after this; install its contents with:

tar xzf data.tar.gz -C /

Now we need to get a bunch of missing dependencies which we can do with an Ubuntu install disc.

- download Ubuntu 32-bit CD install image and burn it
- make a couple of directories under /mnt - I used "mkdir /mnt/tmp" and "/mkdir /mnt/tmp2"
- insert the Ubuntu disc and mount it. You can either let it automount or in my case I did it explicitly with "umount /dev/sr0; mount /dev/sr0 /mnt/tmp"
- go to the "casper" directory on the Ubuntu CD and mount filesystem.squashfs (for me, I did "mount /mnt/tmp/casper/filesystem.squashfs /mnt/tmp2")
- "cd /usr/local/tonido"

Try to start Tonido with:

./tonido.sh start

It will fail. To see the missing dependency, use:

cat /tmp/tonido_root.log

You'll see something like:

/usr/local/tonido//tonidoconsole: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

Find the missing dependency in the lib or usr/lib directory of the mounted Ubuntu squashfs. I would typically do something like:

find /tmp2/lib /tmp2/usr/lib | grep libz.so.1

Copy the file you find (and if it is a symlink, the file it links to) to the /usr/local/tonido directory

Try start Tonido again. Keep doing these last few steps (start, check for failure, copy missing dependencies) until instead of an error in the log you see:

Tonido: v2.28.0.13941

Now you can open a browser window and go to http://localhost:10001 to continue with Tonido.

Re: Making Tonido work on Amahi

Posted: Mon May 23, 2011 5:04 am
by bigfoot65
Awesome work. We have packaged the 32-bit version for Amahi and its in Alpha at the moment.

Would it be possible for you to build a wiki page for this? We are trying to consolidate all tutorials and such there as its easier to find for users.

Re: Making Tonido work on Amahi

Posted: Mon May 23, 2011 9:30 pm
by geekraver

Re: Making Tonido work on Amahi

Posted: Tue May 24, 2011 3:35 am
by stueyboy
Nice one. Works well on my server and it has some nifty features that I will use. Interestingly, I only had to add two extra files from the Ubuntu CD to get the server working properly. Music player doesn't have the right decoder but I use subsonic for that anyway. Thanks for the OP

Re: Making Tonido work on Amahi

Posted: Tue May 24, 2011 5:35 am
by bigfoot65
Thanks geekraver for adding that to the wiki. I tweaked it a bit and added some info. I have also renamed the page to Tonido and it now appears in the wiki apps page.

Re: Making Tonido work on Amahi

Posted: Tue May 24, 2011 7:29 am
by geekraver
Thanks - I wasn't sure where in the wiki to put it.

Stueyboy, are you running a 32-bit Amahi install? That would explain why you had so few missing dependencies.

Re: Making Tonido work on Amahi

Posted: Fri May 27, 2011 4:28 am
by stueyboy
Stueyboy, are you running a 32-bit Amahi install? That would explain why you had so few missing dependencies.
That would be why I suppose. I'm using an old Dell desktop at the moment. I'm surprised it still works so well with the number of services it is now running.

Re: Making Tonido work on Amahi

Posted: Fri May 27, 2011 6:54 am
by bigfoot65
geekraver, you did good with it in the wiki. I just refined it a bit and linked it to apps to make it easier to find. Thanks for documenting it and hope others find it useful.

If this proves to work well, I can make a one-click app out of it. The 32-bit version appears to work fine as an app so far, but never tried the 64-bit one.

Re: Making Tonido work on Amahi

Posted: Wed Dec 07, 2011 9:04 am
by fegar
Will the one click version of Tonido be available any time soon? The previously outlined steps are not working for me at all.

Re: Making Tonido work on Amahi

Posted: Wed Dec 07, 2011 10:31 am
by bigfoot65
It is doubtful. The app is too unstable since there is no Fedora RPM for the current version of Fedora. The one-click app was built for Fedora 12 32-bit.

The best option at the moment is to follow the wiki guidance.

http://wiki.amahi.org/index.php/Using_Tonido

If a supported version is ever released or we get some extra time, it might get rejuvenated. Our primary focus at the moment is Fedora 16 version of Amahi.

Hope this helps.