• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting cant scan media

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    cant scan media

    cant scan media instant stop
    joshalpy123
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Jun
    Reputation: 0
    Country:New Zealand
    #1
    2024-06-06, 03:20 PM
    cant scan media instant stop.  https://pastebin.com/Cuj3MVaf   logs 
    server v 10.9.4
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-06-06, 03:25 PM
    Code:
    [2024-06-07 03:06:00.870 +12:00] [ERR] [15] MediaBrowser.Controller.Entities.BaseItem: Error refreshing owned items for "C:\ProgramData\Jellyfin\Server\root\default\Shows"
    System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\ProgramData\Jellyfin\Server\root\default\Shows'

    Do you have a Shows library? Verify this directory exists. If it does, you may need to recreate your Shows library. Remove it from Jellyfin in the UI. Stop Jellyfin, delete the directory in the code block above, start jellyfin and then recreate your Shows library.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    joshalpy123
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Jun
    Reputation: 0
    Country:New Zealand
    #3
    2024-06-06, 04:33 PM
    works now thanks
    nanouk76
    Offline

    Junior Member

    Posts: 37
    Threads: 5
    Joined: 2023 Jun
    Reputation: 0
    Country:France
    #4
    2024-06-06, 06:43 PM
    Hi,
    I'm faced with the same symptoms since I would say version 10.9.3. I run a scan from the web interface and the scan almost immediately stops. This problem has now become pretty consistent so much so that I decided to have a look at the log while running a scan and these lines seem to point to the problem:
    Quote:Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
      at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
      at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
      at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
      at Emby.Server.Implementations.Data.SqliteItemRepository.SaveImages(BaseItem item)
      at Emby.Server.Implementations.Library.LibraryManager.UpdateImagesAsync(BaseItem item, Boolean forceUpdate)
      at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal2(IProgress1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
      at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal(IProgress
    1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
      at MediaBrowser.Controller.Entities.Folder.<>c__DisplayClass69_01.<<RunTasks>b__1>d.MoveNext()
    --- End of stack trace from previous location ---
      at MediaBrowser.Controller.Entities.Folder.RunTasks[T](Func
    3 task, IList1 children, IProgress1 progress, CancellationToken cancellationToken)
      at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal2(IProgress1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
      at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal(IProgress
    1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
      at MediaBrowser.Controller.Entities.AggregateFolder.ValidateChildrenInternal(IProgress1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
      at Emby.Server.Implementations.Library.LibraryManager.PerformLibraryValidation(IProgress
    1 progress, CancellationToken cancellationToken)
      at Emby.Server.Implementations.Library.LibraryManager.ValidateMediaLibraryInternal(IProgress`1 progress, CancellationToken cancellationToken)
      at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
    [2024-06-06 18:26:28.077 +00:00] [INF] "Scan Media Library" Failed after 0 minute(s) and 3 seconds
    However I checked the perms and nothing seems wrong:
    Quote:xbmc@jellyfinConfused-facevar/lib/jellyfin/data$ ls -lh
    total 1,2G
    drwxr-xr-x  11 jellyfin jellyfin 4,0K févr. 22 21:45 attachments
    drwxr-xr-x 285 jellyfin jellyfin  20K juin  3 18:52 collections
    -rw-r--r--  1 jellyfin jellyfin  35 mars  19  2023 device.txt
    -rw-r--r--  1 jellyfin jellyfin 2,4M juin  6 17:47 jellyfin.db
    -rw-r--r--  1 jellyfin jellyfin  32K juin  6 18:31 jellyfin.db-shm
    -rw-r--r--  1 jellyfin jellyfin 1,3M juin  6 18:31 jellyfin.db-wal
    drwxr-xr-x  18 jellyfin jellyfin 4,0K mai  15  2023 keyframes
    -rw-r--r--  1 jellyfin jellyfin 6,0M juin  6 17:04 kodisyncqueue.db
    -rw-r--r--  1 jellyfin jellyfin 291M juin  6 17:48 library.db
    -rw-r--r--  1 jellyfin jellyfin 289M mai  22 12:17 library.db.bak1
    -rw-r--r--  1 jellyfin jellyfin 291M juin  2 22:25 library.db.bak2
    -rw-r--r--  1 jellyfin jellyfin 608K juin  6 18:13 library.db-shm
    -rw-r--r--  1 jellyfin jellyfin 293M juin  6 17:48 library.db-wal
    -rw-r--r--  1 jellyfin jellyfin  64K juin  5 19:38 playback_reporting.db
    drwxr-xr-x  2 jellyfin jellyfin 4,0K mars  19  2023 playlists
    drwxr-xr-x  2 jellyfin jellyfin 4,0K mai  22 13:25 ScheduledTasks
    -rw-r--r--  1 jellyfin jellyfin 3,6M juin  2 12:30 splashscreen.png
    drwxr-xr-x  18 jellyfin jellyfin 4,0K avril 28  2023 subtitles
    Anyone can help me with this?
    Thx
    Jellyfin 10.10.7
    Ubuntu Server 22.04.4 LTS
    Gigabyte Technology Co., Ltd. GA-MA78LMT-US2H
    AMD® Phenom™ ii x6 1090t processor × 6
    20 GB Ram
    Nvidia P400
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,186
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #5
    2024-06-06, 06:51 PM (This post was last modified: 2024-06-06, 06:53 PM by Efficient_Good_5784. Edited 1 time in total.)
    You're affected by this issue most likely:

    https://github.com/jellyfin/jellyfin/issues/11980

    This is a bug in v10.9.5. It's being handled and the fix will hopefully come in the next point release.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-06-06, 06:53 PM
    This is a known issue. There is a fix that should be in 10.9.6.

    Restarting the jellyfin service resolves the issue until the next library scan. You could disable the library scan scheduled task until .6 is released. I found that reducing the number of library scan threads to 1 delays this problem (Dashboard > General). Or you could revert to 10.9.4.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,186
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #7
    2024-06-06, 06:58 PM (This post was last modified: 2024-06-06, 07:16 PM by Efficient_Good_5784. Edited 2 times in total.)
    Edit: v10.9.6 is out now: https://github.com/jellyfin/jellyfin/rel...ag/v10.9.6
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-06-06, 07:08 PM
    Oh, snap!
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    nanouk76
    Offline

    Junior Member

    Posts: 37
    Threads: 5
    Joined: 2023 Jun
    Reputation: 0
    Country:France
    #9
    2024-06-06, 07:12 PM
    (2024-06-06, 06:53 PM)TheDreadPirate Wrote: This is a known issue.  There is a fix that should be in 10.9.6.

    Restarting the jellyfin service resolves the issue until the next library scan.  You could disable the library scan scheduled task until .6 is released.  I found that reducing the number of library scan threads to 1 delays this problem (Dashboard > General).  Or you could revert to 10.9.4.

    I restarted multiple times but to no avail. I even rebooted the computer for good measure but still no go. And I had already reduced the number of library scans to 1 prior to the issue since that had helped with a previous version. Let's see if the issue is fixed in 10.9.6. Eagerly awaiting it.
    Thanks for chiming in.
    Jellyfin 10.10.7
    Ubuntu Server 22.04.4 LTS
    Gigabyte Technology Co., Ltd. GA-MA78LMT-US2H
    AMD® Phenom™ ii x6 1090t processor × 6
    20 GB Ram
    Nvidia P400
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2024-06-06, 07:17 PM
    10.9.6 was JUST released.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Pages (2): 1 2 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode