You are here: Home » Topic » Basics: Soundbridge does not find Firefly server

Basics: Soundbridge does not find Firefly server

FireFly Media Server (formerly mt-daapd) Firefly Media Server Forums Firefly Media Server Setup Issues Basics: Soundbridge does not find Firefly server

This topic contains 16 replies, has 3 voices, and was last updated by  OzzyOsmond 10 years, 10 months ago.

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #807

    ville
    Participant

    Hello folks!

    I have a problem with connecting my Soundbridge M1001 to my music libraries in my two PCs. SB finds the wireless network fine and I can play Internet Radio without problems. For some reason, SB does not find my libraries or servers. I just bought the SB a week ago. I’m not “panicing” yet but a bit frustrated.

    Here’s the setup:

    WLAN Router: Linksys WRT54G:
    – Firewall/DHCP/NAT
    – 64-bit WEP enc.
    – wireless MAC filter (Soundbridge Wi-Fi MAC allowed)

    Soundbridge M1001:
    – SW: 2.5.150
    – Gets IP address by DHCP from the WLAN router

    Old desktop PC:
    – OS: Xubuntu 6.06
    – Media server: Firefly (nightly: svn-1433)
    – No firewall (since in WLAN router)
    – Wired LAN connection to WLAN router

    Old IBM T20 laptop:
    – OS: Windows 2000
    – Media server: iTunes 7.0.2.16
    – No firewall (since in WLAN router)
    – Wireless LAN connection to WLAN router

    I’ve checked that the both servers are up and running. I can even access the configuration page of Firefly server in Xubuntu from the Windows PC (http://host:3689). I haven’t yet tried the otherway round (to Firefly server from iTunes). I think that would require some plugin together with the Firefly server?

    The firewall settings in WLAN router are very simple:


    Block Anonymous Internet Requests: SET
    Filter Multicast: SET
    Filter Internet NAT Redirection: NOT SET
    Filter IDENT(Port 113): SET


    Here’s port scan result from my Xubuntu/Firefly machine:


    [email protected]:~$ sudo nmap localhost
    Password:

    Starting Nmap 4.10 ( http://www.insecure.org/nmap/ ) at 2006-11-21 23:01 EET
    Interesting ports on localhost.localdomain (127.0.0.1):
    Not shown: 1675 closed ports
    PORT STATE SERVICE
    139/tcp open netbios-ssn
    445/tcp open microsoft-ds
    631/tcp open ipp
    3689/tcp open rendezvous

    Nmap finished: 1 IP address (1 host up) scanned in 0.434 seconds



    and iptables print:


    [email protected]:~$ sudo iptables -L
    Chain INPUT (policy ACCEPT)
    target prot opt source destination

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination



    I’m quite newbie to Linux so I don’t know whether the nmap/iptables printings are relevant or not…

    Finally, mt-daapd starting logs:


    [email protected]:~$ grep daapd /var/log/syslog
    Nov 21 22:25:01 localhost mt-daapd[4838]: Config entry general/db_dir is deprecated. Please review the sample config
    Nov 21 22:25:01 localhost mt-daapd[4838]: Firefly Version svn-1433: Starting with debuglevel 2
    Nov 21 22:25:01 localhost mt-daapd[4838]: Starting rendezvous daemon
    Nov 21 22:25:01 localhost mt-daapd[4840]: Starting signal handler
    Nov 21 22:25:02 localhost mt-daapd[4840]: Initializing database
    Nov 21 22:25:02 localhost mt-daapd[4840]: Starting web server from /usr/share/mt-daapd/admin-root on port 3689
    Nov 21 22:25:02 localhost mt-daapd[4840]: Registering rendezvous names
    Nov 21 22:25:02 localhost mt-daapd[4840]: Serving 16 songs. Startup complete in 1 seconds
    Nov 21 22:25:02 localhost mt-daapd[4840]: Rescanning database
    Nov 21 22:25:02 localhost mt-daapd[4840]: Starting playlist scan
    Nov 21 22:25:02 localhost mt-daapd[4840]: Scanned 16 songs (was 16) in 0 seconds



    Firefly does not seem to like my db_dir setting that I left as is. Well, the directory does exist:

    [email protected]:~$ ls /var/cache/mt-daapd
    songs.db songs.gdb

    As a summary:
    – SB finds and connects to WLAN ok
    – SB plays Internet Radios
    – Media servers are running but SB cannot find them

    Is there something obvious that I’ve missed? What should be checked/corrected in the current setup? This my be some “trivial” port issue or something like that but I cannot figure it out 😕

    Thanks in advance!

    Regards,
    Ville

    As a end note: SB also fails to upgrade to 2.5.174. It starts to download the upgrade, gets about 70 % downloaded and then claims that the upgrade failed.

    #7412

    rpedde
    Participant

    @ville wrote:

    I have a problem with connecting my Soundbridge M1001 to my music libraries in my two PCs. SB finds the wireless network fine and I can play Internet Radio without problems. For some reason, SB does not find my libraries or servers. I just bought the SB a week ago. I’m not “panicing” yet but a bit frustrated.

    If you upgraded from an old version, you’ll want to wipe the config file and copy the example from contrib. In particular, you want the plugins/plugin_dir entry. That’s what’s causing you the grief. You don’t have any plugins to actually serve content — that’s why nothing is advertised.

    — Ron

    #7413

    ville
    Participant

    @rpedde wrote:

    If you upgraded from an old version, you’ll want to wipe the config file and copy the example from contrib. In particular, you want the plugins/plugin_dir entry. That’s what’s causing you the grief. You don’t have any plugins to actually serve content — that’s why nothing is advertised.

    Hmm… any plugins to serve the content. Sounds crucial. I thought that the running Firefly server is enough. Do you mean that I need to set e.g. Rhythmbox or some other Linux Media player running?

    I’ll need to investigate this more when I get home…

    Regards,
    Ville

    #7414

    sansp00
    Participant

    No, basically, the plugins are they way music is served to the Roku, ie via RSP or DAAP in our case. So you don’t need to have another media server working under or on top of Firefly.

    Patrick S.

    #7415

    rpedde
    Participant

    @ville wrote:

    Hmm… any plugins to serve the content. Sounds crucial. I thought that the running Firefly server is enough. Do you mean that I need to set e.g. Rhythmbox or some other Linux Media player running?

    Right, like Patrick said — the plugins present various front ends to the data. DAAP and RSP right now, but eventually I’d like it to be able to look like a UPnP server by loading the UPnP output module, or like an xbox cxxstream server by loading the cxxstream module.

    That kind of thing.

    #7416

    ville
    Participant

    @rpedde wrote:

    If you upgraded from an old version, you’ll want to wipe the config file and copy the example from contrib. In particular, you want the plugins/plugin_dir entry. That’s what’s causing you the grief. You don’t have any plugins to actually serve content — that’s why nothing is advertised.

    Wow 😀 That really did the trick! Thank you so much!

    Was it because of the nightly upgrade (and missing up-to-date config) that the correct plugin was missing? At least I have missed it… Is there any plugin guide somewhere? If a plugin, e.g. out-daap.so is a “must”, there should be.

    Now it’s time for SB/Firefly/Xubuntu fine-tuning 8)

    Regards,
    Ville

    #7417

    rpedde
    Participant

    @ville wrote:

    Was it because of the nightly upgrade (and missing up-to-date config) that the correct plugin was missing? At least I have missed it… Is there any plugin guide somewhere? If a plugin, e.g. out-daap.so is a “must”, there should be.

    Right. But while I could update almost all of the old configuration file, I can’t upgrade the plugin directory. Maybe if I don’t have any plugins to load I should maybe fail to start and drop a syslog message to add a plugin_dir entry.

    As far as documentation, sadly none.

    Working to build a manual here, but it’s just started.

    — Ron

    #7418

    Kiffy

    …. you’ll want to wipe the config file and copy the example from contrib. In particular, you want the plugins/plugin_dir entry. That’s what’s causing you the grief. You don’t have any plugins to actually serve content — that’s why nothing is advertised.

    Hi this seems to be my problem too but I don’t understand any of this. Can you explain it to me in a simple step by step way, please.

    Thanks

    Kiffy

    #7419

    rpedde
    Participant

    @Kiffy wrote:

    …. you’ll want to wipe the config file and copy the example from contrib. In particular, you want the plugins/plugin_dir entry. That’s what’s causing you the grief. You don’t have any plugins to actually serve content — that’s why nothing is advertised.

    Hi this seems to be my problem too but I don’t understand any of this. Can you explain it to me in a simple step by step way, please.

    You’ll need to share what version of the software you are using on what platform. Windows, Mac, Linux, etc.

    Are you using a Roku Soundbridge, or the Pinnacle branded one, and with what firmware version?

    What generally seems to be happening? can’t see it from the soundbridge? Can you see it with iTunes? And have you disabled (for purposes of troubleshooting) any firewalls on the machine that is acting as a server?

    #7420

    OzzyOsmond

    I”m having this issue and the following is pretty greek to me, too:

    < <
    If you upgraded from an old version, you’ll want to wipe the config file and copy the example from contrib. In particular, you want the plugins/plugin_dir entry. That’s what’s causing you the grief. You don’t have any plugins to actually serve content — that’s why nothing is advertised.
    >>

    My details:

    * Windows Server 2003

    * SoundBridge and SoundBridge Radio – neither see my FireFly server

    * I have a laptop with XP and FireFly, and both SoundBridge and SoundBridge Radio see it fine.

    * On my Windows Server 2003 machine, FireFly _was_ working fine. However, the RAM went bad, so I replaced it. After that, my SoundBridges stopped seeing the FireFly server on the Windows Server 2003 machine.

    * I uninstalled Bonjour and FireFly, then reinstalled both.

    * Now, neither of my SoundBridges can see FireFly on my Windows Server box. Additionally, when I attempt to view Web Administration, I get an “Unable to Connect” message.

    I have no idea what happened, but was hoping the reinstall would fix things. It sounds like the stuff with the config file and the example from contrib may work, but I have no idea what those are. A more user-friendly explanation would be most welcome.

    Many thanks in advance,

    Mark

    #7421

    OzzyOsmond

    Oh, I just noticed my log looks like this. Perhaps this provides more clues. I uninstalled SqlServer 2000 recently while trying to troubleshoot the problems that ended up being bad RAM. Related?

    < <
    2006-12-13 19:24:44 (013caa4c): Starting with debuglevel 0
    2006-12-13 19:24:45 (013caa4c): Starting rendezvous daemon
    2006-12-13 19:34:04 (013caa4c): Error: enum_begin failed (error 1): Misc SQL Error: no such table: config
    2006-12-13 19:34:04 (013caa4c): Can’t get db version. New database?
    2006-12-13 19:34:04 (013caa4c): Initializing database
    2006-12-13 19:34:04 (013caa4c): Error: enum_begin failed (error 1): ?
    2006-12-13 19:34:04 (013caa4c): Error: enum_begin failed (error 1): ?
    2006-12-13 19:34:04 (013caa4c): Full reload…
    >>

    #7422

    OzzyOsmond

    Oh, and one more tidbit:

    Both SoundBridges see my iTunes 7.0 server on my Windows Server 2003 machine (the one with the invisible FireFly). Of course this does me no good given the SoundBridge iTunes 7.0 incompatability.

    I’m about to just revert to iTunes 6.0x

    Mark

    #7423

    rpedde
    Participant

    * On my Windows Server 2003 machine, FireFly _was_ working fine. However, the RAM went bad, so I replaced it. After that, my SoundBridges stopped seeing the FireFly server on the Windows Server 2003 machine.

    Sounds very likely that with crapped ram it corruped the database.

    Try going into c:program filesfirefly media server and deleting the songs.db (with the server not running). Then start hte server. If it still doesn’t go (after giving it *plenty* of time to scan the files), then run the debug version from the program group entry and cut/paste the last 20 or so lines from the log file (c:program filesfirefly media serverfirefly.log) here.

    * I uninstalled Bonjour and FireFly, then reinstalled both.

    Worth trying a nightly as well (http://nightlies.mt-daapd.org) if everything else fails. There is a bonjour bug fixed in the last couple weeks that could possibly be it, although I’d suspect database problems first.

    The contrib stuff is completely unrelated on a windows install.

    — Ron

    #7424

    OzzyOsmond

    Hi,

    Thanks for the quick response. I deleted the db file (and others that started with songs.db, like songs.db-0pjayyuz9t7j1xlvv17l (there were six such files) and restarted the server. I let it scan my music files overnight (28.8k+ mp3 files). This morning, after restarting the server via the UI, I could see the FireFly server from my SoundBridge! Woo hoo!

    However, I’m still unable to view the web administration interface. With IE 7.0, I get “The page cannot be displayed”. After the first attempt, in which I get “The page cannot be displayed”, all subsequent attempts with IE 7.0 result in a blip, in which it appears the browser launches briefly and then disappears. But really, it happens so fast that it appears as if nothing happens.

    With FireFox…

    Ok, wait. As I went to test FireFox, all of the sudden the web admin interface STARTED WORKING! I have NO idea what I did. It honestly just started working between the time when I typed my first words of this post and now.

    I was also going to say that I ran the debug version. It launched a command window and appeared to be going through my music library. I left my computer to let it run for about 30 min. When I returned, the window was gone and FireFly was not running. I looked for firefly.log file you mentioned and can only find one with yesterday’s date, so it appears to be old. In any case, here are the last 20 or so lines, for what it’s worth.

    2006-12-14 08:06:01 (013caa4c): Starting with debuglevel 0
    2006-12-14 08:06:01 (013caa4c): Starting rendezvous daemon
    2006-12-14 08:06:01 (013caa4c): Initializing database
    2006-12-14 08:06:10 (013caa4c): Starting web server from C:Program FilesFirefly Media Serveradmin-root on port 9999
    2006-12-14 08:06:10 (013caa4c): Registering rendezvous names
    2006-12-14 08:06:10 (013caa4c): Serving 28404 songs. Startup complete in 9 seconds
    2006-12-14 08:06:10 (013caa4c): Rescanning database
    2006-12-14 08:06:15 (013caa4c): Short file: E:My MusicA-MCash, JohnnyUnearthed III – Redemption Songs (American, 2003)1 – Singer Of Songs.mp3
    2006-12-14 08:06:17 (013caa4c): Short file: E:My MusicA-MDead MilkmenDead Milkmen, The – Big Lizard In My Backyard (Restless, 1985)19 – Laundromat Song.mp3
    2006-12-14 08:06:17 (013caa4c): Short file: E:My MusicA-MDead MilkmenDead Milkmen, The – Big Lizard In My Backyard (Restless, 1985)20 – Nutrition.mp3
    2006-12-14 08:06:17 (013caa4c): Short file: E:My MusicA-MDead MilkmenDead Milkmen, The – Big Lizard In My Backyard (Restless, 1985)21 – Tugena.mp3
    2006-12-14 08:06:41 (013caa4c): Starting playlist scan
    2006-12-14 08:06:42 (013caa4c): Error adding m3u E:My MusicVariousNuggetsNuggets IINuggets II- Original Artyfacts From The British Empire And Beyond 1964-69 (2 of 4)VARIOU~1.M3U: Duplicate Playlist: VARIOU~1
    2006-12-14 08:06:42 (013caa4c): Error adding m3u E:My MusicVariousNuggetsNuggets IINuggets II – Original Artyfacts From The British Empire & Beyond 1964-69 (1 of 4)VARIOU~1.M3U: Duplicate Playlist: VARIOU~1
    2006-12-14 08:06:48 (013caa4c): Could not realpath E:My MusicA-MFahey, JohnJohn Fahey – Old Girlfriends And Other Horrible Memories (Varrick, 1992)http:\1qaz:[email protected]%20Fahey%20-%20Old%20Girlfriends%20and%20Other%20Horrible%20MemoriesJohn%20Fahey%20-%2001%20-%20Twilight%20Time.mp3
    2006-12-14 08:06:48: Aborting

    Thanks again for your quick and insightful reply.

    Mark

    #7425

    OzzyOsmond

    Now I’m noticing that the FireFly server only runs for a few minutes, then the server stops. During that brief time, things work ok (I can see it from SoundBridge and the web admin page works).

    The log is similar (if not identical) to what is in my most recent post.


    Log file: firefly.log

    2006-12-14 08:16:46 (013caa4c): Starting with debuglevel 0
    2006-12-14 08:16:46 (013caa4c): Starting rendezvous daemon
    2006-12-14 08:16:46 (013caa4c): Initializing database
    2006-12-14 08:17:00 (013caa4c): Starting web server from C:Program FilesFirefly Media Serveradmin-root on port 9999
    2006-12-14 08:17:00 (013caa4c): Registering rendezvous names
    2006-12-14 08:17:00 (013caa4c): Serving 28427 songs. Startup complete in 14 seconds
    2006-12-14 08:17:00 (013caa4c): Rescanning database
    2006-12-14 08:17:03 (013caa4c): Short file: E:My MusicA-MCash, JohnnyUnearthed III – Redemption Songs (American, 2003)1 – Singer Of Songs.mp3
    2006-12-14 08:17:06 (013caa4c): Short file: E:My MusicA-MDead MilkmenDead Milkmen, The – Big Lizard In My Backyard (Restless, 1985)19 – Laundromat Song.mp3
    2006-12-14 08:17:06 (013caa4c): Short file: E:My MusicA-MDead MilkmenDead Milkmen, The – Big Lizard In My Backyard (Restless, 1985)20 – Nutrition.mp3
    2006-12-14 08:17:06 (013caa4c): Short file: E:My MusicA-MDead MilkmenDead Milkmen, The – Big Lizard In My Backyard (Restless, 1985)21 – Tugena.mp3
    2006-12-14 08:17:29 (013caa4c): Starting playlist scan
    2006-12-14 08:17:29 (013caa4c): Error adding m3u E:My MusicVariousNuggetsNuggets IINuggets II- Original Artyfacts From The British Empire And Beyond 1964-69 (2 of 4)VARIOU~1.M3U: Duplicate Playlist: VARIOU~1
    2006-12-14 08:17:29 (013caa4c): Error adding m3u E:My MusicVariousNuggetsNuggets IINuggets II – Original Artyfacts From The British Empire & Beyond 1964-69 (1 of 4)VARIOU~1.M3U: Duplicate Playlist: VARIOU~1
    2006-12-14 08:17:35 (013caa4c): Could not realpath E:My MusicA-MFahey, JohnJohn Fahey – Old Girlfriends And Other Horrible Memories (Varrick, 1992)http:\1qaz:[email protected]%20Fahey%20-%20Old%20Girlfriends%20and%20Other%20Horrible%20MemoriesJohn%20Fahey%20-%2001%20-%20Twilight%20Time.mp3
    2006-12-14 08:17:35: Aborting

    For what it’s worth, the mp3 file just prior to the “Aborting” message above is not new. My installation of FireFly before my RAM going bad didn’t barf on it.

    Thanks,

    Mark

Viewing 15 posts - 1 through 15 (of 17 total)

You must be logged in to reply to this topic.