Home of the Squeezebox™ & Transporter® network music players.
Page 100 of 105 FirstFirst ... 50909899100101102 ... LastLast
Results 991 to 1,000 of 1049
  1. #991

    File visibility solved

    Today I abandoned logic and tried the time tested pressing buttons at random strategy. I added a new subdirectory to the music directory and copied a couple of files into it. It was visible. I created a new share that pointed to the existing directory. That wasn't visible. Then I tried adding advanced permissions to the music directory. That worked even though I'd previously given the LMS userid read and write permissions. I'm sure that there's a perfectly logical explanation and I'm just in the stage of technological development where this looks like magic to me. The odd thing is that the other shares on the NAS are all completely visible to LMS. I know I've never explicitly added advanced permissions to them nor given the LMS userid any rights to them. I'm willing to accept this as a solution because it works. My brain just rebels at "because" as the reason that it works. 1

    BTW, I enabled the view UPNP/DLNA plugin and that would have been my fallback position. The DLNA server on the NAS is visible.



    Quote Originally Posted by simeon_casimir View Post
    I just installed LogitechMediaServer_2.25.03_arm-x41 on my Qnap TS-231P running firmware 5.0.0.1986. The install completed in under 5 minutes with no error messages. In the configuration stage I pointed it at the shared directory that contains all of my music files. For some reason it only sees 3 of the 21 major subdirectories. The 18 invisible directories, which can't be seen from the config browse option, contain almost all of my music files. I've been running Picoreplayer on a Raspberry Pi Zero 2W with a LMS instance. It sees all of my files. The directory is mounted as an SMB share on the NAS with the standard IP address, userid, password. I'd appreciate any help in making the music visible to the server. The major directory is configured as a share with all subdirectories shared. It's completely visible from my desktop PC as well as my phone and tablet and my Raspberry Pis.

    Here's the log of a scan. Nothing new has appeared in the server log since yesterday afternoon. If there are other logs that might help, let me know and I'll dig them out.

    [22-05-14 07:28:37.0545] main::main (206) Starting Logitech Media Server scanner (v8.2.1, 1649774087, Tue 12 Apr 2022 05:27:02 PM CEST) perl 5.024004
    [22-05-14 07:28:37.5268] Slim::Schema::forceCommit (2177) Warning: Trying to commit transactions before DB is initialized!
    [22-05-14 07:28:38.8118] Slim::Music::Import::runImporter (578) Starting Slim::Media::MediaFolderScan scan
    [22-05-14 07:28:38.8124] Slim::Utils::Scanner::Local::rescan (179) Discovering audio files in /share/audio
    [22-05-14 07:28:38.8933] Slim::Utils::Scanner::Local::__ANON__ (191) Start processing found tracks
    [22-05-14 07:28:38.8938] Slim::Utils::Scanner::Local::__ANON__ (199) Connect do DB
    [22-05-14 07:28:38.8941] Slim::Utils::Scanner::Local::__ANON__ (202) Get latest ID
    [22-05-14 07:28:38.8947] Slim::Utils::Scanner::Local::__ANON__ (224) Delete temporary table if exists
    [22-05-14 07:28:38.8951] Slim::Utils::Scanner::Local::__ANON__ (227) Re-build temporary table
    [22-05-14 07:28:38.8961] Slim::Utils::Scanner::Local::__ANON__ (276) Get deleted tracks count
    [22-05-14 07:28:38.8964] Slim::Utils::Scanner::Local::__ANON__ (283) Get new tracks count
    [22-05-14 07:28:38.8969] Slim::Utils::Scanner::Local::__ANON__ (288) Get changed tracks count
    [22-05-14 07:28:38.8972] Slim::Utils::Scanner::Local::deleteTracks (519) Removing deleted audio files (0)
    [22-05-14 07:28:38.8975] Slim::Utils::Scanner::Local::__ANON__ (301) Scanning new audio files (14)
    [22-05-14 07:28:39.2197] Slim::Utils::Scanner::Local::__ANON__ (381) Rescanning changed audio files (0)
    [22-05-14 07:28:39.2204] Slim::Music::Import::endImporter (711) Completed Slim::Media::MediaFolderScan Scan in 0.409 seconds.
    [22-05-14 07:28:39.2312] Slim::Music::Import::runImporter (578) Starting Slim::Music::PlaylistFolderScan scan
    [22-05-14 07:28:39.2318] Slim::Utils::Scanner::Local::rescan (179) Discovering audio files in /share/audio
    [22-05-14 07:28:39.2676] Slim::Utils::Scanner::Local::__ANON__ (191) Start processing found tracks
    [22-05-14 07:28:39.2681] Slim::Utils::Scanner::Local::__ANON__ (199) Connect do DB
    [22-05-14 07:28:39.2685] Slim::Utils::Scanner::Local::__ANON__ (202) Get latest ID
    [22-05-14 07:28:39.2692] Slim::Utils::Scanner::Local::__ANON__ (224) Delete temporary table if exists
    [22-05-14 07:28:39.2705] Slim::Utils::Scanner::Local::__ANON__ (227) Re-build temporary table
    [22-05-14 07:28:39.2716] Slim::Utils::Scanner::Local::__ANON__ (276) Get deleted tracks count
    [22-05-14 07:28:39.2722] Slim::Utils::Scanner::Local::__ANON__ (283) Get new tracks count
    [22-05-14 07:28:39.2728] Slim::Utils::Scanner::Local::__ANON__ (288) Get changed tracks count
    [22-05-14 07:28:39.2733] Slim::Utils::Scanner::Local::deleteTracks (519) Removing deleted audio files (0)
    [22-05-14 07:28:39.2737] Slim::Utils::Scanner::Local::__ANON__ (301) Scanning new audio files (0)
    [22-05-14 07:28:39.2744] Slim::Utils::Scanner::Local::__ANON__ (381) Rescanning changed audio files (0)
    [22-05-14 07:28:39.2751] Slim::Music::Import::endImporter (711) Completed Slim::Music::PlaylistFolderScan Scan in 0.044 seconds.
    [22-05-14 07:28:39.2767] Slim::Music::Import::runImporter (578) Starting Slim::Plugin::WiMP::Importer scan
    [22-05-14 07:28:39.6592] Slim::Music::Import::endImporter (711) Completed Slim::Plugin::WiMP::Importer Scan in 0.381 seconds.
    [22-05-14 07:28:39.6601] Slim::Music::Import::runImporter (578) Starting Slim::Plugin::FullTextSearch::Plugin scan
    [22-05-14 07:28:39.6612] Slim::Plugin::FullTextSearch::Plugin::_rebuildInde x (458) Starting fulltext index build
    [22-05-14 07:28:39.6615] Slim::Plugin::FullTextSearch::Plugin::_rebuildInde x (462) Initialize fulltext table
    [22-05-14 07:28:39.6636] Slim::Plugin::FullTextSearch::Plugin::_rebuildInde x (475) Create fulltext index for tracks
    [22-05-14 07:28:39.6771] Slim::Plugin::FullTextSearch::Plugin::_rebuildInde x (485) Create fulltext index for albums
    [22-05-14 07:28:39.6802] Slim::Plugin::FullTextSearch::Plugin::_rebuildInde x (494) Create fulltext index for contributors
    [22-05-14 07:28:39.6816] Slim::Plugin::FullTextSearch::Plugin::_rebuildInde x (504) Create fulltext index for playlists
    [22-05-14 07:28:39.7282] Slim::Plugin::FullTextSearch::Plugin::_rebuildInde x (519) Optimize fulltext index
    [22-05-14 07:28:39.7377] Slim::Plugin::FullTextSearch::Plugin::_rebuildInde x (534) Fulltext index build done!
    [22-05-14 07:28:39.7381] Slim::Music::Import::endImporter (711) Completed Slim::Plugin::FullTextSearch::Plugin Scan in 0.078 seconds.
    [22-05-14 07:28:39.7387] Slim::Music::Import::runImporter (578) Starting Slim::Plugin::ExtendedBrowseModes::Libraries scan
    [22-05-14 07:28:39.7390] Slim::Music::Import::endImporter (711) Completed Slim::Plugin::ExtendedBrowseModes::Libraries Scan in 0.000 seconds.
    [22-05-14 07:28:39.7395] Slim::Music::Import::runImporter (578) Starting Slim::Plugin::OnlineLibrary::Importer::VirtualLibr ariesCleanup scan
    [22-05-14 07:28:39.7410] Slim::Music::Import::endImporter (711) Completed Slim::Plugin::OnlineLibrary::Importer::VirtualLibr ariesCleanup Scan in 0.001 seconds.
    [22-05-14 07:28:39.7425] Slim::Music::Artwork:recacheAllArtwork (657) Starting precacheArtwork for 0 albums
    [22-05-14 07:28:39.7428] Slim::Music::Import::endImporter (711) Completed precacheArtwork Scan in 0.001 seconds.
    [22-05-14 07:28:39.7434] Slim::Music::Import::runScanPostProcessing (480) Starting Database optimization.
    [22-05-14 07:28:39.9375] Slim::Music::Import::endImporter (711) Completed dbOptimize Scan in 0.194 seconds.

  2. #992
    Senior Member
    Join Date
    May 2017
    Location
    Netherlands
    Posts
    775
    Quote Originally Posted by simeon_casimir View Post
    Today I abandoned logic and tried the time tested pressing buttons at random strategy. I added a new subdirectory to the music directory and copied a couple of files into it. It was visible. I created a new share that pointed to the existing directory. That wasn't visible. Then I tried adding advanced permissions to the music directory. That worked even though I'd previously given the LMS userid read and write permissions. I'm sure that there's a perfectly logical explanation and I'm just in the stage of technological development where this looks like magic to me. The odd thing is that the other shares on the NAS are all completely visible to LMS. I know I've never explicitly added advanced permissions to them nor given the LMS userid any rights to them. I'm willing to accept this as a solution because it works. My brain just rebels at "because" as the reason that it works. 1

    BTW, I enabled the view UPNP/DLNA plugin and that would have been my fallback position. The DLNA server on the NAS is visible.
    The only thing I know is, that my music files and directories have me as user and are set read/excused by everyone ( 0755 ). And LMS can see them all.

    Important thing is, set them according to Linux user management right. If you're not familary with it, Google should be you're best friend.

    Verstuurd vanaf mijn Nokia 5.3 met Tapatalk

    maintainer of QLogitechMediaServer, QOptware-NG and QAutoSub.

    Qnap TS-453a, with LogitechMediaSever 8.0.0 Nightly ( with spotty, youtube, Radio Paradise a.m. )
    Several raspberry with hifiberry amp+ and picoreplayer.
    Love logitechmediaserver for it flexibel way, to play music from different sources.


    Thanks for the DONATIONS

  3. #993

    File permissions

    I'm familiar with NIX file permissions. I've never looked for a Qnap command line. The Qnap GUI seems to implement chmod, more or less. There's no execute permission but there's read, write, and read plus write. I've configured the music share for the squeezeboxserver userid for read plus write. The admin userid (root I'm guessing) is set up for read plus write. I hadn't looked into ssh which may give me command line access.

    Quote Originally Posted by digimaster View Post
    The only thing I know is, that my music files and directories have me as user and are set read/excused by everyone ( 0755 ). And LMS can see them all.

    Important thing is, set them according to Linux user management right. If you're not familary with it, Google should be you're best friend.

    Verstuurd vanaf mijn Nokia 5.3 met Tapatalk

  4. #994
    Senior Member
    Join Date
    May 2017
    Location
    Netherlands
    Posts
    775

    ================== QLogitechMediaServer version 2.25.04 ================================= 15-05-2022

    !Bugfix release, fixen error -N -G

    Optimized chroot file-system.


    For those who send me a donation, thank you makes my work appreciated!


    maintainer of QLogitechMediaServer, QOptware-NG and QAutoSub.

    Qnap TS-453a, with LogitechMediaSever 8.0.0 Nightly ( with spotty, youtube, Radio Paradise a.m. )
    Several raspberry with hifiberry amp+ and picoreplayer.
    Love logitechmediaserver for it flexibel way, to play music from different sources.


    Thanks for the DONATIONS

  5. #995

    file visibility gone again

    I've lost the ability to see files in my audio file share again. Both the music folder view and the disks and folders view show an empty directory after a remove library and rescan. I can see the DLNA server that's running on the NAS and access it through Squeezelite. I've tried all the x-41 versions from 2.10.02 through 2.25.04 on my TS-231P. I have made sure that the squeezeboxserver user profile is active and has rw access to the music folder and all its subdirectories. I've double checked it from the command line using ssh. The only problem I can see in the scan logs is that there appears to be a missing table in the sqlite DB. Here's the LMS server log file portion from the most recent scan:

    [22-05-17 07:51:28.2924] main::init (390) Starting Logitech Media Server (v8.2.1, 1649774087, Tue 12 Apr 2022 05:27:02 PM CEST) perl 5.024004 - arm-linux-gnueabihf-thread-multi-64int
    [22-05-17 07:51:30.3425] main::checkDataSource (1121) Warning: Schema updated or no media found in the database, initiating scan.
    [22-05-17 07:51:39.6403] Slim::Utils::SQLiteHelper:ostConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [22-05-17 07:51:39.7170] Slim::Schema::forceCommit (2177) Warning: Trying to commit transactions before DB is initialized!
    [22-05-17 08:10:00.5091] Slim::Utils::SQLiteHelper:ostConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [22-05-17 08:10:00.5861] Slim::Schema::forceCommit (2177) Warning: Trying to commit transactions before DB is initialized!

  6. #996
    Senior Member
    Join Date
    May 2017
    Location
    Netherlands
    Posts
    775
    Quote Originally Posted by simeon_casimir View Post
    I've lost the ability to see files in my audio file share again. Both the music folder view and the disks and folders view show an empty directory after a remove library and rescan. I can see the DLNA server that's running on the NAS and access it through Squeezelite. I've tried all the x-41 versions from 2.10.02 through 2.25.04 on my TS-231P. I have made sure that the squeezeboxserver user profile is active and has rw access to the music folder and all its subdirectories. I've double checked it from the command line using ssh. The only problem I can see in the scan logs is that there appears to be a missing table in the sqlite DB. Here's the LMS server log file portion from the most recent scan:

    [22-05-17 07:51:28.2924] main::init (390) Starting Logitech Media Server (v8.2.1, 1649774087, Tue 12 Apr 2022 05:27:02 PM CEST) perl 5.024004 - arm-linux-gnueabihf-thread-multi-64int
    [22-05-17 07:51:30.3425] main::checkDataSource (1121) Warning: Schema updated or no media found in the database, initiating scan.
    [22-05-17 07:51:39.6403] Slim::Utils::SQLiteHelper:ostConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [22-05-17 07:51:39.7170] Slim::Schema::forceCommit (2177) Warning: Trying to commit transactions before DB is initialized!
    [22-05-17 08:10:00.5091] Slim::Utils::SQLiteHelper:ostConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [22-05-17 08:10:00.5861] Slim::Schema::forceCommit (2177) Warning: Trying to commit transactions before DB is initialized!
    First off all the user squeezeboxserver, has no need to be set up as user on the music share.

    The most simple way is, go in a SSH shell, and I'm the root of you're musicshare do chmod -R 0755. Restart LMS, and it should work.



    Verstuurd vanaf mijn Nokia 5.3 met Tapatalk

    maintainer of QLogitechMediaServer, QOptware-NG and QAutoSub.

    Qnap TS-453a, with LogitechMediaSever 8.0.0 Nightly ( with spotty, youtube, Radio Paradise a.m. )
    Several raspberry with hifiberry amp+ and picoreplayer.
    Love logitechmediaserver for it flexibel way, to play music from different sources.


    Thanks for the DONATIONS

  7. #997
    I logged in using SSH and did the chmod as you suggested on my music share, /share/audio. The permissions after the chmod as reported by ls -l are rwxrwx--- for files and drwxrwx--- for directories. I checked subdirectories to make sure the recursion worked. I restarted LMS and did a rescan. Again, nothing was visible in the /audio directory in both the Music Folder view and the Discs and Folders view. Both report the directory as empty. The scan reported discovering no files or subdirectories in the /audio share. Again the server log reported the missing table error:

    [22-05-17 10:06:00.1641] Slim::Utils::SQLiteHelper:ostConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [22-05-17 10:06:00.2249] Slim::Schema::forceCommit (2177) Warning: Trying to commit transactions before DB is initialized!

    Out of curiosity I installed LMS on my desktop machine, Win 11, and it sees and plays the NAS share.

    Quote Originally Posted by digimaster View Post
    First off all the user squeezeboxserver, has no need to be set up as user on the music share.

    The most simple way is, go in a SSH shell, and I'm the root of you're musicshare do chmod -R 0755. Restart LMS, and it should work.



    Verstuurd vanaf mijn Nokia 5.3 met Tapatalk

  8. #998
    Senior Member
    Join Date
    Feb 2009
    Posts
    508
    Is it safe now to upgrade to QLogitechMediaServer version 2.25.04 on QTS 5.0?
    Or are there still problems?

  9. #999
    Senior Member KeBul's Avatar
    Join Date
    Sep 2009
    Location
    London
    Posts
    400
    Quote Originally Posted by simeon_casimir View Post
    I logged in using SSH and did the chmod as you suggested on my music share, /share/audio. The permissions after the chmod as reported by ls -l are rwxrwx--- for files and drwxrwx--- for directories.
    Something hasn't worked on your chmod command - 0755 should give you permissions of rwxrwxr-x not rwxrwx---

    Are you by chance logging into the QNAP using a different User to the default Admin?

    It's good security practice to create a new user and use that for general use on the QNAP and disable the default Admin account, however, there is no sudoers group on a QNAP so you can't make your new user an elevated user, some commands such as chmod need that elevation and won't work from such users even of you've made them an Administrator.
    So if you've done this to your QNAP, the simplest way to get round this is to re-enable the default Admin account and login using that to complete your elevated command - don't forget to disable the default Admin account when you've finished.

    Kev

  10. #1000
    Senior Member jasell's Avatar
    Join Date
    May 2008
    Posts
    349
    Quote Originally Posted by digimaster View Post

    ================== QLogitechMediaServer version 2.25.04 ================================= 15-05-2022

    !Bugfix release, fixen error -N -G

    Optimized chroot file-system.


    For those who send me a donation, thank you makes my work appreciated!

    Thanks, it now runs without any error messages, and for some reason that runs much faster! Fantastic!

    There are two instances of cosmetics bugs where some characters do not show as intended, assume some formatting issue.
    - Before the Waiting message...
    - At the prompt when the script is ready

    See my console output below...

    Code:
    [admin@QNAP2 LogitechMediaServer]$ ./QLogitechMediaServer.sh start
    Preparing the system to run LogitechMediaServer.                                
    Fixing owner/rights for squeezeboxserver on SlimServer/ !                       
    Fixing owner/rights for squeezeboxserver on SlimServer/ the old way !           
    Starting LogitechMediaServer in the Background.                                 
    \e[41mWaiting for LogitechMediaServer to become ready, can take a few minutes!\e
    LogitechMediaServer 8.2.1-1649774087 is started in the Background on [30206] !  
    
    In a few seconds you can access the LogitechMediaServer webgui through http://192.168.6.3:9001 !                                                                
    
    
    [admin@QNAP2 LogitechMediaServer]$ it!\e[0m
    NAS: QNAP TS-459U+ QTS 4.2.6 (4x 2TB, RAID5)
    Services: LMS 8.3.0 by QLMS 2.30.01 QLMS at QNAP club
    Squeezebox: 6x Receiver, 3x Boom, 2x SB3 Classic, 1x Touch
    Controller: Control by Material skin or iPeng, Local music or Spotify by Spotty

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •