PDA

View Full Version : [ubuntu] Jinzora Noob


GirlofTime
April 7th, 2009, 12:04 PM
Mornin,

I want to set up Jinzora on my home server that has ubuntu 8.10 server edition on it. FYI- When installing it i chose the option to install LAMP and SSH. Can you give me any good links on how to set up Jinzora. Im decently new with linux but i will be working with the command line on my server. I still have the keyboard and monitor hooked up until i figure out how to get rid of them hehe . :KS Thanks for the help!

HermanAB
April 7th, 2009, 12:48 PM
Jinzora probably works, but is very complicated if all you want to do is play music from a web browser.

Have a look at Edna. It is as simple as it gets and accomplishes the same thing:
http://edna.sourceforge.net/

I've had an Edna server running for years in my basement and can listen to my music from anywhere in the world using just a web browser for access.

GirlofTime
April 7th, 2009, 02:28 PM
Jinzora probably works, but is very complicated if all you want to do is play music from a web browser.

Have a look at Edna. It is as simple as it gets and accomplishes the same thing:
http://edna.sourceforge.net/

I've had an Edna server running for years in my basement and can listen to my music from anywhere in the world using just a web browser for access.

Hows the GUI for Edna? Cant seem to find any screenshots for Edna. :p

volkswagner
April 7th, 2009, 06:10 PM
Jinzora is really slick. It is not difficult to install. Trying to get advanced functions with lack of documentation is frustrating.

For install instructions the wiki (http://en.jinzorahelp.com/wiki/Linux_Installation_with_shell_access) has a how-to.

You will need to adjust your php.ini file to increase some of the default resource limits.

My advice is take the install slowly. Make sure all your settings are considered acceptable by the installer self check. Trying to go back can be difficult.

Make sure you have all the needed items, like mysql root password, php packages.

I think it is slick.

Lori700698
April 7th, 2009, 07:15 PM
I simply love Jinzora, the only thing is that my music is not well tagged and I wound up install and re-installing a couple of times to get Jinzora to pull my music over the way I wanted it (which was a little daunting) But after it was up it's very self sufficient, I like the http:// set up, that made things much easier. Once you install just point a browser to your outside domain (you don't have to do the actual set up with ssh) and it walks you through the set up. If you want to access Jinzora from the outside world don't forget to open a port. I even use it on my cell phone (but downloads are SLOW)

Lori

GirlofTime
April 7th, 2009, 08:33 PM
Hey thanks for the replies. I'm going to try using that wiki tonight to set it up. Wish me luck!

HermanAB
April 8th, 2009, 03:35 AM
Here are some Edna shots. Edna is incredibly easy to set up and works like a charm - been using it for years. I have accounts with password access and can play my music from anywhere I go.

I also have an Eeee PC netbook plugged into my hi-fi amplifier, always sitting there with Firefox on my Edna service.

GirlofTime
April 8th, 2009, 08:26 PM
Im following the steps from here. http://en.jinzorahelp.com/wiki/Linux_Installation_with_shell_access

Ive unpacked the jinzora file in my home/username area. When i try to "cd" to the file it says "permission denied". I thought it was a sudo thing so typed "sudo cd jinzora2" and then it says "command not found".

any ideas what im doing wrong?

R.Bucky
April 8th, 2009, 08:44 PM
If I understand correctly, you are trying to ssh into your server? If so, sounds like you need to open up port 22 on your server with sudo ufw allow 22

GirlofTime
April 8th, 2009, 09:01 PM
If I understand correctly, you are trying to ssh into your server? If so, sounds like you need to open up port 22 on your server with

I've successfully SSHed into the server. I just cant "cd" to a folder.

GirlofTime
April 8th, 2009, 09:10 PM
This fixed it.

sudo chown -hR <username> <folder location>

redonwhite
April 8th, 2009, 09:54 PM
Im on the last step. I type

$ chmod 744 configure.sh

then

$ sh ./configure.sh

You are now in setup mode.
Please direct your web browser to the directory where you installed Jinzora
and load index.php - you will then be taken through the complete setup


Then i direct my browser to http://serveripaddress/jinzora2

i get 403 Forbidden Error. You don't have permission to access /jinzora2/ on this server.

Anyone know what im doing wrong? Thanks for the help!

Lori700698
April 10th, 2009, 10:19 PM
You probably need to sudo chown Jinzora2 folder as well. And one last thing that will make you nuts so I will tell you before you get there, the install folder needs to be deleted before it will let you start running the http set up.

GirlofTime
April 10th, 2009, 10:32 PM
I was able to get access to the jinzora folder by inputing this command

chmod 777 -R /var/www/jinzora2

But then when i was going through the set up I got stuck where it created the database. Said it couldnt connect. =/. Guess i gotta reconfigure Mysql. Gotta look that up.

Lori700698
April 10th, 2009, 10:52 PM
The only thing I remember about the mysql is that I had to set up a password during the ubuntu install then I had to input that in during the set up. You will have to remove Jinzora completely and then put it back in. This is the bad part about the install design, no room for any errors, you have to start over. But I really like it because I can access it at work or anywhere that I want. I hope you get it running! I use webmin and it really made the install/uninstall 200 times until I got what I wanted very simple. I use a combo of webmin and putty from my laptop for everything with my server.

Good Luck!
Lori

GirlofTime
April 10th, 2009, 11:00 PM
The only thing I remember about the mysql is that I had to set up a password during the ubuntu install then I had to input that in during the set up. You will have to remove Jinzora completely and then put it back in. This is the bad part about the install design, no room for any errors, you have to start over. But I really like it because I can access it at work or anywhere that I want. I hope you get it running! I use webmin and it really made the install/uninstall 200 times until I got what I wanted very simple. I use a combo of webmin and putty from my laptop for everything with my server.

Good Luck!
Lori

Yeah i remember setting up MySQL during the ubuntu server set up with the password. But even when i input during the Jinzora set up i get an Error Cant connect to the data base. I was thinking maybe it had to do with the access or something of that nature not sure. I had to start the install over a couple times too. I just had to delete some lock" folder everytime i wanted to start over. Almost there! haha

GirlofTime
April 10th, 2009, 11:13 PM
I got to the part where you pick your media file directory. Does that have to be in a certain Location. Because i made one on my home folder and it cant seem to create a database there. =///.

Lori700698
April 10th, 2009, 11:20 PM
no, mine is in my home files directory. Did you make a new folder for the music? Maybe it need 777 to so it doesn't have restrictions either.

GirlofTime
April 10th, 2009, 11:32 PM
Haha. Now I cant get through the "backend" part again. =) Keeps saying

Creating Database
- jinzora2 - Failed!

could not connect to database.

Thats weird because one step ago I had gotten past this part. Now it wont connect. And when i type the permission commands again to initiate the install i get this out put.


$:/var/www/jinzora2$ chmod 744 configure.sh
$:/var/www/jinzora2$ sh ./configure.sh
chmod: changing permissions of `temp/access.log': Operation not permitted
chmod: changing permissions of `temp/jinzora-words-.log': Operation not permitted
chmod: changing permissions of `temp/messages.log': Operation not permitted
chmod: changing permissions of `data/database/backend-userclasses': Operation not permitted
chmod: changing permissions of `data/database/user_settings': Operation not permitted
chmod: changing permissions of `data/database/backend': Operation not permitted
chmod: changing permissions of `data/database/groups': Operation not permitted
chmod: changing permissions of `data/database/constants.php': Operation not permitted
chmod: changing permissions of `data/database/users': Operation not permitted

You are now in setup mode.
Please direct your web browser to the directory where you installed Jinzora
and load index.php - you will then be taken through the complete setup

Im so confuzzelded now hahaha.

Lori700698
April 10th, 2009, 11:37 PM
I think because you already created them, when you run through again there is a question about creating the databases and this time you won't need to. look at the drop downs around the creating database page.

GirlofTime
April 10th, 2009, 11:43 PM
I think because you already created them, when you run through again there is a question about creating the databases and this time you won't need to. look at the drop downs around the creating database page.

Selected False for the "create database option" Then i got the old "could not connect to database."

GirlofTime
April 10th, 2009, 11:46 PM
Next wave i chose "True (dropped existing database)" Then i got this....

Dropping database
- jinzora2 - Successful!

Creating Database
- jinzora2 - Failed!

could not connect to database.

Lori700698
April 10th, 2009, 11:53 PM
see if this helps at all?
http://maketecheasier.com/how-to-install-and-setup-jinzora-media-server-in-ubuntu/2008/08/25

GirlofTime
April 11th, 2009, 12:08 AM
see if this helps at all?
http://maketecheasier.com/how-to-install-and-setup-jinzora-media-server-in-ubuntu/2008/08/25

Thanks Lori :KS . Im going to do a clean install and try this "how to" out.

HDave
June 29th, 2009, 12:11 AM
Did you ever get this working? I am interested in the same thing and was wondering how hard it is to set up...

GirlofTime
July 13th, 2009, 04:28 PM
Did you ever get this working? I am interested in the same thing and was wondering how hard it is to set up...

Hey dave. I couldn't get it working and gave up on it for the time being. But other people have gotten it to work. I just didn't have the patience for it at the time. Good luck.

HDave
July 13th, 2009, 04:45 PM
Sorry to hear that.

In the meantime I did get it up and running...albeit in a virtual machine. It runs well from within VMWare Server.

If you try again and need help, I'll try to provide any answers. A couple things I learned the hard way was:

1) With the latest version of Jinzora, don't run the configure.sh script...it'll kill ya. Just do:
sudo chown -R www-data:www-data jinzora2

2) You need to fix up your PHP settings. Try:
sudo nano /etc/php5/apache2/php.ini

and then change the following lines:
memory_limit = 64M
max_execution_time = 300
post_max_size = 32M
upload_max_filesize = 32M

3) You need to snag GD2 for the display of album art
apt-get install php5-gd

4) The easiest way to get to a LAMP setup is to install the base Jaunty and do a:
sudo tasksel
and then select LAMP server and hit OK

5) if UFW is enabled you need to create a hole in the firewall via:
sudo ufw allow "Apache Full"

good luck...

GirlofTime
July 14th, 2009, 04:41 PM
Sorry to hear that.

In the meantime I did get it up and running...albeit in a virtual machine. It runs well from within VMWare Server.

If you try again and need help, I'll try to provide any answers. A couple things I learned the hard way was:

1) With the latest version of Jinzora, don't run the configure.sh script...it'll kill ya. Just do:
sudo chown -R www-data:www-data jinzora2

2) You need to fix up your PHP settings. Try:
sudo nano /etc/php5/apache2/php.ini

and then change the following lines:
memory_limit = 64M
max_execution_time = 300
post_max_size = 32M
upload_max_filesize = 32M

3) You need to snag GD2 for the display of album art
apt-get install php5-gd

4) The easiest way to get to a LAMP setup is to install the base Jaunty and do a:
sudo tasksel
and then select LAMP server and hit OK

5) if UFW is enabled you need to create a hole in the firewall via:
sudo ufw allow "Apache Full"

good luck...

Thanks dave. I'm gonna wait till it cools down around here (my pc room gets hot as heck in the summer) and try your steps. Thanks!

Psycam
August 2nd, 2009, 11:05 PM
1) With the latest version of Jinzora, don't run the configure.sh script...it'll kill ya. Just do:
sudo chown -R www-data:www-data jinzora2


That one had been getting me for a few hours now. THANK YOU!!!

HDave
August 2nd, 2009, 11:45 PM
You'd think they update their site by now...anyway...good luck. It really is cool once it's up and running. I'm listening to mine right now from within a virtual machine...and the servers virtual too!

sixstorm
August 6th, 2009, 12:14 PM
I'm having some issues myself with setting up Jinzora.

After everything has been installed, I get this in my web browser:

Security breach detected

I've deleted the install folder under /var/www/jinzora and I can't find anything else related to this. Any help?

sixstorm
August 10th, 2009, 11:02 AM
bump

Anyone ever got the error I posted a few days ago?

HDave
August 10th, 2009, 02:56 PM
Never seen it. You need to provide more details re the error from the browser. Also you need to check appropriate logs on the server. Sorry, I can't help more.

sixstorm
August 11th, 2009, 08:32 AM
Never seen it. You need to provide more details re the error from the browser. Also you need to check appropriate logs on the server. Sorry, I can't help more.

Since we are in a Jinzora noob thread ;) I'll have to ask where the log files are.

Here is a screenshot of what I'm seeing:

http://ubuntuforums.org/attachment.php?attachmentid=124429&stc=1&d=1249993909

Falcon is the name of my server. I've also tried "http://falcon/jinzora2/" (with one forward-slash between falcon and jinzora2). No worky.

Can you tell me where the log files are? I'll be glad to post them up.