Post Reply 
 
Thread Rating:
  • 1 Votes - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tutorial] Installing MinimServer on FreeNAS or FreeBSD
19-07-2017, 11:42
Post: #11
RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD
(19-07-2017 07:49)simoncn Wrote:  The current version of the file is ohnet(linux-x64)-1.10.2315.zip (see this post).

Yes I saw that, but the name of the ohnet file in the most recent Linux download is ohnet(linux-x64)-1.6.1919.zip. So that's the file it looks for. I've tried changing the name on the 1.10 file to the same as the 1.6 file and replacing it but that doesn't work either. I think maybe it's my java install that's the problem. If someone who got it to work could be more specific on how they installed java and the other dependencies that would be great.
Find all posts by this user
Quote this message in a reply
19-07-2017, 12:40
Post: #12
RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD
It is possible that MinimServer has started correctly at some point and has downloaded an update that includes the ohnet(linux-x64)-1.10.2315.zip file. This file is not installed in the same directory as the ohnet(linux-x64)-1.6.1919.zip file. It would have been downloaded to the libext directory under the MinimServer root directory. If it is present there, you need to replace it with the modified version.
Find all posts by this user
Quote this message in a reply
19-07-2017, 17:01
Post: #13
RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD
(18-07-2017 23:32)lostinsound Wrote:  Yes I replaced the ohnet(linux-x64)-1.6.1919.zip file in the jail with the file of the same name from the link, then I start the server and it crashes. But step 10 says "This is necessary because the update-procedure has yet added another updated but incompatible zip-file with a new, higher version-number. " This doesn't seem to happen for me, because the ohnet file in the jail is still exactly the same as the one I copied to it in step 8.

You might be confused because MinimServer, during these upgrades, changes the directory where it stores the zip-files containing the libraries. I think first it's "lib", then "libext" or similar. If you use the "find"-command like given in the instructions, it should be clear for you and no problem. The old version of the lib stays in its place, like you wrote, which is expected.

Quote:So you installed the dependencies using 'make install clean' in portsnap and not using pkg? And you were able to install java? I couldn't get it to work.

Yes, the compilation of the dependencies in the jail worked fine for me. I recommend using the program "portmaster" for that, but it should work with "make install clean", too. Did you update the ports-tree before you tried?
Find all posts by this user
Quote this message in a reply
24-07-2017, 18:16 (This post was last modified: 24-07-2017 21:18 by lostinsound.)
Post: #14
RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD
(19-07-2017 12:40)simoncn Wrote:  It is possible that MinimServer has started correctly at some point and has downloaded an update that includes the ohnet(linux-x64)-1.10.2315.zip file. This file is not installed in the same directory as the ohnet(linux-x64)-1.6.1919.zip file. It would have been downloaded to the libext directory under the MinimServer root directory. If it is present there, you need to replace it with the modified version.

(19-07-2017 17:01)airflow Wrote:  
(18-07-2017 23:32)lostinsound Wrote:  Yes I replaced the ohnet(linux-x64)-1.6.1919.zip file in the jail with the file of the same name from the link, then I start the server and it crashes. But step 10 says "This is necessary because the update-procedure has yet added another updated but incompatible zip-file with a new, higher version-number. " This doesn't seem to happen for me, because the ohnet file in the jail is still exactly the same as the one I copied to it in step 8.

You might be confused because MinimServer, during these upgrades, changes the directory where it stores the zip-files containing the libraries. I think first it's "lib", then "libext" or similar. If you use the "find"-command like given in the instructions, it should be clear for you and no problem. The old version of the lib stays in its place, like you wrote, which is expected.

Quote:So you installed the dependencies using 'make install clean' in portsnap and not using pkg? And you were able to install java? I couldn't get it to work.

Yes, the compilation of the dependencies in the jail worked fine for me. I recommend using the program "portmaster" for that, but it should work with "make install clean", too. Did you update the ports-tree before you tried?

Well for some reason my last reply to this has disappeared. In case you didn't see the last one, thank you all so much for helping me with this. You're right, the problem was that I didn't realize the new ohnet file was being put in a different directory. I thought I had done the find command for zip files and didn't see it, but maybe I was in the wrong directory when I did the search. I replaced the ohnet 1.10 file with the one from the link and it's all working perfectly.

As far as installing the dependencies, yes I had updated the ports-tree before installing java but I still couldn't get it to work. I wasn't aware of the program portmaster, I'll keep that in mind in the future. But it looks like the way I installed them using pkg (e.g. pkg install ffmpeg, etc) works so I don't think I'm going to mess with them any further. Which is good, because none of those pkg installs took more than a minute or two.

Anyway, thanks again for being patient with me and helping me get this figured out. I'm really enjoying being able to stream music without needing my PC to be on. Smile
Find all posts by this user
Quote this message in a reply
24-07-2017, 19:31 (This post was last modified: 24-07-2017 19:31 by simoncn.)
Post: #15
RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD
The forum had a server problem and a few posts were lost. Thanks for reposting.
Find all posts by this user
Quote this message in a reply
25-07-2017, 19:09 (This post was last modified: 25-07-2017 19:10 by airflow.)
Post: #16
RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD
(24-07-2017 18:16)lostinsound Wrote:  Anyway, thanks again for being patient with me and helping me get this figured out. I'm really enjoying being able to stream music without needing my PC to be on. Smile

Great news, I am happy it works now for you! :-) Just a question out of curiosity: Are you using FreeNAS or FreeBSD? And is it a pre-built out-of-the-box NAS you bought or self-made?
Find all posts by this user
Quote this message in a reply
27-07-2017, 01:31
Post: #17
RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD
(25-07-2017 19:09)airflow Wrote:  
(24-07-2017 18:16)lostinsound Wrote:  Anyway, thanks again for being patient with me and helping me get this figured out. I'm really enjoying being able to stream music without needing my PC to be on. Smile

Great news, I am happy it works now for you! :-) Just a question out of curiosity: Are you using FreeNAS or FreeBSD? And is it a pre-built out-of-the-box NAS you bought or self-made?

Thanks! I upgraded to a new PC recently and decided to convert my old one into a NAS using FreeNAS. It's just an hp desktop computer I bought in 2009, and I just wiped the 1TB hard drive and installed FreeNAS onto a USB drive that I plugged into it. It's only a single drive right now so I don't have any RAID set up or anything.

I mainly picked FreeNAS because of the built in Subsonic plugin that lets me stream remotely, but I'm really happy I could get MinimServer working as well to stream locally.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)