Making Tonido work on Amahi

geekraver
Posts: 43
Joined: Fri Aug 14, 2009 9:06 am

Making Tonido work on Amahi

Postby geekraver » Sun May 22, 2011 3:50 pm

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.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Making Tonido work on Amahi

Postby bigfoot65 » Mon May 23, 2011 5:04 am

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

geekraver
Posts: 43
Joined: Fri Aug 14, 2009 9:06 am

Re: Making Tonido work on Amahi

Postby geekraver » Mon May 23, 2011 9:30 pm


stueyboy
Posts: 101
Joined: Tue Mar 09, 2010 2:54 am

Re: Making Tonido work on Amahi

Postby stueyboy » Tue May 24, 2011 3:35 am

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

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Making Tonido work on Amahi

Postby bigfoot65 » Tue May 24, 2011 5:35 am

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

geekraver
Posts: 43
Joined: Fri Aug 14, 2009 9:06 am

Re: Making Tonido work on Amahi

Postby geekraver » Tue May 24, 2011 7:29 am

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.

stueyboy
Posts: 101
Joined: Tue Mar 09, 2010 2:54 am

Re: Making Tonido work on Amahi

Postby stueyboy » Fri May 27, 2011 4:28 am

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.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Making Tonido work on Amahi

Postby bigfoot65 » Fri May 27, 2011 6:54 am

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

fegar
Posts: 3
Joined: Wed Dec 07, 2011 9:02 am

Re: Making Tonido work on Amahi

Postby fegar » Wed Dec 07, 2011 9:04 am

Will the one click version of Tonido be available any time soon? The previously outlined steps are not working for me at all.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Making Tonido work on Amahi

Postby bigfoot65 » Wed Dec 07, 2011 10:31 am

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 18 guests