Another frontend, need opinions (beta release)

Third-party modifications and add-ons, Apps and Clients

Moderator: moderators

Postby brett » Mon Jul 19, 2010 11:25 pm

burjast wrote:what about "Video not found or access denied" error?

permissions seems to be right and subsonic starts to play, but jwplayer cannot open stream for videos, mp3's play fine


I'm not sure, have any of the other linux users had trouble with this? I can assume the videos are in a folder with read rights to the subsonic service.

Does your ffmpeg work from the command line? Was it installed properly? That's the only thing I can think of
brett
 
Posts: 55
Joined: Thu Jun 10, 2010 7:13 am

Postby burjast » Tue Jul 20, 2010 5:51 am

yes all that is OK, because subsonic can play videos, transcoded or not. even adjusted group to httpd's proccess, and no luck...

please some input from linux users
burjast
 
Posts: 71
Joined: Mon Jul 20, 2009 9:00 am
Location: Slovenia

Postby jeremy » Tue Jul 20, 2010 9:42 am

nncrypted wrote:I use 443 https for freenas gui, webserver on port 80, subsonic on 8080 it all works fine plus I'm running a nuke evolution test site and a vcd db movie database test site. All works fine. php and mysql on freenas is the worst install I've had to do to date but once it works its great.

Goto http://www.howtoforge.com/installing-my ... on-freenas and follow it to the letter. Then in my case I had to give more permissions to /mnt/dynamic/db/mysql then rehash. also the new phpmyadmin doesn't work with the new freenas find an older ver like 3.3.3 or older.


followed that guide 3 times.
every time i end up not being able to connect ssh/ftp/console/webgui

than i put in the freenas cd and perform a upgrade,
packages stay installed and freenas responding again
than i test mysql in ssh is responding and running fine

PhpMyadmin says , cant connect to mysql :S
and well yeah setup.php gives me that error i posted

so i tought most be a problem with the php5-mysql package
i removed it pkg_delete php5-mysql & pkg_delete -r php5
and reinstall it pkg_add -r php5 & pkg_add -r php5-mysql

after reboot, well same problem not responding webgui/ssh/smb/ftp/console
jeremy
 
Posts: 19
Joined: Fri May 14, 2010 10:45 am
Location: Holland

Postby jeremy » Tue Jul 20, 2010 10:28 am

Working ! .
for people having same problem as me non responsive freenas

what i did :
freenas cd -> upgrade full os
Result : web gui working again +/-

after that Putty -> pkg_add php5-extensions

it workt,.. dont ask me why ( most or all of those packages where already installed )
jeremy
 
Posts: 19
Joined: Fri May 14, 2010 10:45 am
Location: Holland

Postby jeremy » Tue Jul 20, 2010 11:12 am

run into another problem =(

Connected to MySQL Server, users table exists.
Warning: file_get_contents(http:// 77.251.xxx.xx:4040rest/ping.view?u=admin&p=XXXXXX&v=1.2.0&c=bologna): failed to open stream: operation failed in /mnt/data/dynamic/supersonic/setup.php on line 251 Connection to Subsonic server failed. Local server ip/port:http://77.251.XXX.XX:4140
MySQL server(local address):192.168.1.101
Subsonic server/port:http:// 77.251.XXX.XX:4040
jeremy
 
Posts: 19
Joined: Fri May 14, 2010 10:45 am
Location: Holland

Postby brett » Tue Jul 20, 2010 11:14 am

I posted a separate branch/zip for people who must use IE for the time being, I dropped the jquery accordion, but the album list still behaves like one.. it just doesn't look as cool :) There are a few issues with it that I will fix but need to get some sleep, one glaring problem is the di.fm streams aren't displayed properly, so none of them work.
brett
 
Posts: 55
Joined: Thu Jun 10, 2010 7:13 am

Postby Abelgar » Tue Jul 20, 2010 11:15 am

@jeremy : The php.ini config file was the same before and after the dist upgrade ? Maybe a misconfiguration which has been checked when dist upgrade.


@all : Now for support question please use this mailing list to avoid pollution on this thread : http://groups.google.com/group/subsonicbox

For feedback stay here !

Some problems were detected with the last version of player and Brett is in touch with support.


Edit : Arf ! Brett was fatest ^^
Last edited by Abelgar on Tue Jul 20, 2010 11:16 am, edited 1 time in total.
Abelgar
 
Posts: 3
Joined: Fri Jul 16, 2010 9:36 pm

Postby brett » Tue Jul 20, 2010 11:15 am

jeremy wrote:run into another problem =(

Connected to MySQL Server, users table exists.
Warning: file_get_contents(http:// 77.251.xxx.xx:4040rest/ping.view?u=admin&p=XXXXXX&v=1.2.0&c=bologna): failed to open stream: operation failed in /mnt/data/dynamic/supersonic/setup.php on line 251 Connection to Subsonic server failed. Local server ip/port:http://77.251.XXX.XX:4140
MySQL server(local address):192.168.1.101
Subsonic server/port:http:// 77.251.XXX.XX:4040


Add trailing /'s to your subsonic server and local server addresses
http://77.251.XXX.XX:4140/
and
http://77.251.XXX.XX:4040/
brett
 
Posts: 55
Joined: Thu Jun 10, 2010 7:13 am

Postby jeremy » Tue Jul 20, 2010 11:32 am

yes haha i saw it like 30 sec ago ! a / missing :P

well seems to be working now just fine

@Abelgar
i really dont have any idea what it did. but its working now php5 part.
* i remember seeing @ command line that php5-extensions was looking for parts needed and registering them ( those parts example php5-mysql was already installed but not functioning now it does :P )
jeremy
 
Posts: 19
Joined: Fri May 14, 2010 10:45 am
Location: Holland

Postby Toytronic » Wed Jul 21, 2010 12:26 pm

Hi there,

First of all, thank you very much for putting so much efforts in this beautiful mod. But so far, my experience with it have been very frustrated.

I simply can't get it to install on my Windows Home Server. PHP and MySQL are installed and work perfectly (i already have an hmailserver working for several months in this configuration), but not this mod.

Everytime i run the setup script, it say "saving settings", then i've got the "Settings.php not found, please run basic setup." message after the refresh.

It's like the setup script is unable to create the settings.php file under the "includes" folder. This folder doesn't contain any default settings.php file neither, so i wondering what i'm doing wrong.

Can someone help me with this, or maybe post an default settings file that i can put in the right folder and edit manually?

Thanks by advance guys.

Best regards,
Toytronic
 
Posts: 4
Joined: Wed Jul 21, 2010 12:17 pm

Postby Poffa » Wed Jul 21, 2010 12:54 pm

Hi

I had the same problem on my Linux box. I placed the files in a sub directory /subsonic and that seems to cause some trouble, though I basically have it up and running now.

Try to create the settings.php in the in the includes folder:

Code: Select all
<?php
define('SERVER','http://external_ip:80/');
define('JUKE','http://local_ip:subsonic_port/');
define('DB_SERVER','localhost');
define('DB_USER','');
define('DB_NAME','');
define('DB_PASS','');
define('CREDS', 'u=admin_username&p=password&v=1.2.0&c=bologna');
?>
Poffa
 
Posts: 62
Joined: Sun Jun 28, 2009 4:21 pm
Location: Bergen, Bergen

Postby Toytronic » Wed Jul 21, 2010 1:29 pm

Thank you for the fast reply Poffa. This solution seems to work, and i was able to launch the "create db" script.

But now i can't connect to the juke.php using my user name and password, it say "wrong user/pass combinaison". It seems that the script was able to create the "users" table in the database, but not to populate it with existing subsonic users...


That lead to my next question : how do we create users... manually please?
Toytronic
 
Posts: 4
Joined: Wed Jul 21, 2010 12:17 pm

Postby Poffa » Wed Jul 21, 2010 3:57 pm

Are you able to log in with the username/password defined in settings.php?

Also my installation didn't import existing users:

mysql> select * from users;
+----+----------+------------------------------------------+---------+-----------+------+---------+-------------+-----------+----------+-------+-------+
| id | username | hashed_password | shuffle | timestamp | reap | current | currentsong | currentid | duration | cover | admin |
+----+----------+------------------------------------------+---------+-----------+------+---------+-------------+-----------+----------+-------+-------+
| 21 | admin | f41d5cdcd3c7544919268e665bd158e41f392b3f | 0 | 0 | 0 | | | | | | 1 |
+----+----------+------------------------------------------+---------+-----------+------+---------+-------------+-----------+----------+-------+-------+
1 row in set (0.01 sec)

I was not able to create new users in the frontend. Got no error messages, but no users were created. You could probably just insert new users directly into the users table. In that case you must remember to generate a hash for your password (I haven't looked at this code yet, but the hash is not md5 as far as I can see).
Last edited by Poffa on Wed Jul 21, 2010 5:54 pm, edited 1 time in total.
Poffa
 
Posts: 62
Joined: Sun Jun 28, 2009 4:21 pm
Location: Bergen, Bergen

Postby mgrant » Wed Jul 21, 2010 4:27 pm

The hashed_password field is a sha1 hash of the actual password string.

-mg
mgrant
 
Posts: 76
Joined: Mon Mar 03, 2008 1:15 am

Postby Toytronic » Wed Jul 21, 2010 6:03 pm

Hi guys,

Thanks for your feedback :)

No, i'm not able to log using the username/password defined in settings.php. In fact, i can't log using any user/pass combinaison, and i've try everything (database user, every subsonic users, admin...). This thing just don't want me to login.

I also try to delete ans reinstall the database many times, with no luck. It seem's that there is no user define in the "users" table despite the fact that the "create dB" script does create the entry in mysql. What i think is that this script can't access the settings.php file that i have to create manualy, and therefore is missing the cremential needed to create the default user.

It seem's that every dynamic variable of the setup script are just fuck-up...

Anyway, many thanks for your help guys.

Cheers,
Toytronic
 
Posts: 4
Joined: Wed Jul 21, 2010 12:17 pm

PreviousNext

Return to Mods, Apps and Clients

Who is online

Users browsing this forum: No registered users and 3 guests