Repository: manyfold3d/manyfold

Issue #3313: Scanning Library returns nothing
Created: 2024-12-16T02:05:03Z
Describe the bug
When running a scan with the library pointing to a location with files, nothing is picked up, when uploading a test file, that added fine and even added to the same root folder as all the other files (that it wont pickup)
Expected behavior
files to show up in library
Screenshots

the top file is from the upload to Manyfold
the other files have stl files in them but dont get picked up

Docker
Browser Brave
Version latest

Additional context
Log files from app:
Preparing database...
s6-rc: info: service legacy-services successfully started
Illegal option -p
sh: lspci: not found
Illegal option -p
sh: lspci: not found
Setting database file ownership (SQLite3 only)...
Illegal option -p
sh: lspci: not found
Illegal option -p
sh: lspci: not found
Cleaning up old cache files...
Illegal option -p
sh: lspci: not found
Illegal option -p
sh: lspci: not found
Setting temporary directory permissions...
Launching application...
02:19:46 rails.1              | started with pid 137
02:19:46 default_worker.1     | started with pid 138
02:19:46 performance_worker.1 | started with pid 139
02:19:52 rails.1              | Illegal option -p
02:19:52 default_worker.1     | Illegal option -p
02:19:52 performance_worker.1 | Illegal option -p
02:19:52 rails.1              | sh: lspci: not found
02:19:52 performance_worker.1 | sh: lspci: not found
02:19:52 default_worker.1     | sh: lspci: not found
02:19:52 performance_worker.1 | Illegal option -p
02:19:52 default_worker.1     | Illegal option -p
02:19:52 rails.1              | Illegal option -p
02:19:52 performance_worker.1 | sh: lspci: not found
02:19:52 rails.1              | sh: lspci: not found
02:19:52 default_worker.1     | sh: lspci: not found
02:19:54 rails.1              | => Booting Puma
02:19:54 rails.1              | => Rails 7.1.3.4 application starting in production
02:19:54 rails.1              | => Run bin/rails server --help for more startup options
02:19:57 default_worker.1     | 2024-12-15T02:19:57.465Z pid=138 tid=h0a WARN: Scoped order is ignored, it's forced to be batch order.
02:19:57 performance_worker.1 | 2024-12-15T02:19:57.483Z pid=139 tid=h0b WARN: Scoped order is ignored, it's forced to be batch order.
02:19:57 rails.1              | [137] Puma starting in cluster mode...
02:19:57 rails.1              | [137] * Puma version: 6.4.2 (ruby 3.3.1-p55) ("The Eagle of Durango")
02:19:57 rails.1              | [137] *  Min threads: 4
02:19:57 rails.1              | [137] *  Max threads: 16
02:19:57 rails.1              | [137] *  Environment: production
02:19:57 rails.1              | [137] *   Master PID: 137
02:19:57 rails.1              | [137] *      Workers: 4
02:19:57 rails.1              | [137] *     Restarts: (✔) hot (✖) phased
02:19:57 rails.1              | [137] * Preloading application
02:19:57 rails.1              | [137] * Listening on http://0.0.0.0:3214
02:19:57 rails.1              | [137] Use Ctrl-C to stop
02:19:57 performance_worker.1 | 2024-12-15T02:19:57.677Z pid=139 tid=h0b INFO: Booted Rails 7.1.3.4 application in production environment
02:19:57 performance_worker.1 | 2024-12-15T02:19:57.677Z pid=139 tid=h0b INFO: Running in ruby 3.3.1 (2024-04-23 revision c56cd86388) [x86_64-linux-musl]
02:19:57 performance_worker.1 | 2024-12-15T02:19:57.678Z pid=139 tid=h0b INFO: See LICENSE and the LGPL-3.0 for licensing details.
02:19:57 performance_worker.1 | 2024-12-15T02:19:57.678Z pid=139 tid=h0b INFO: Upgrade to Sidekiq Pro for more features and support: https://sidekiq.org
02:19:57 default_worker.1     | 2024-12-15T02:19:57.678Z pid=138 tid=h0a INFO: Booted Rails 7.1.3.4 application in production environment
02:19:57 performance_worker.1 | 2024-12-15T02:19:57.678Z pid=139 tid=h0b INFO: Sidekiq 7.3.0 connecting to Redis with options {:size=>10, :pool_name=>"internal", :url=>"redis://redis-server:6379/1"}
02:19:57 default_worker.1     | 2024-12-15T02:19:57.678Z pid=138 tid=h0a INFO: Running in ruby 3.3.1 (2024-04-23 revision c56cd86388) [x86_64-linux-musl]
02:19:57 default_worker.1     | 2024-12-15T02:19:57.678Z pid=138 tid=h0a INFO: See LICENSE and the LGPL-3.0 for licensing details.
02:19:57 default_worker.1     | 2024-12-15T02:19:57.678Z pid=138 tid=h0a INFO: Upgrade to Sidekiq Pro for more features and support: https://sidekiq.org
02:19:57 default_worker.1     | 2024-12-15T02:19:57.678Z pid=138 tid=h0a INFO: Sidekiq 7.3.0 connecting to Redis with options {:size=>10, :pool_name=>"internal", :url=>"redis://redis-server:6379/1"}
02:19:57 default_worker.1     | 2024-12-15T02:19:57.686Z pid=138 tid=h0a INFO: Sidekiq 7.3.0 connecting to Redis with options {:size=>4, :pool_name=>"default", :url=>"redis://redis-server:6379/1"}
02:19:57 rails.1              | [137] - Worker 0 (PID: 215) booted in 0.02s, phase: 0
02:19:57 rails.1              | [137] - Worker 1 (PID: 221) booted in 0.02s, phase: 0
02:19:57 rails.1              | [137] - Worker 2 (PID: 224) booted in 0.01s, phase: 0
02:19:57 rails.1              | [137] - Worker 3 (PID: 239) booted in 0.01s, phase: 0
02:19:57 performance_worker.1 | 2024-12-15T02:19:57.721Z pid=139 tid=h0b INFO: Sidekiq 7.3.0 connecting to Redis with options {:size=>1, :pool_name=>"default", :url=>"redis://redis-server:6379/1"}
02:19:57 default_worker.1     | 2024-12-15T02:19:57.926Z pid=138 tid=h0a INFO: Loading Schedule
02:19:57 default_worker.1     | 2024-12-15T02:19:57.928Z pid=138 tid=h0a INFO: Schedule empty! Set Sidekiq.schedule
02:19:57 default_worker.1     | 2024-12-15T02:19:57.929Z pid=138 tid=h0a INFO: Schedules Loaded
02:19:57 performance_worker.1 | 2024-12-15T02:19:57.970Z pid=139 tid=h0b INFO: Loading Schedule
02:19:57 performance_worker.1 | 2024-12-15T02:19:57.970Z pid=139 tid=h0b INFO: Schedule empty! Set Sidekiq.schedule
02:19:57 performance_worker.1 | 2024-12-15T02:19:57.970Z pid=139 tid=h0b INFO: Schedules Loaded
02:20:05 rails.1              | 2024-12-15T02:20:05.738Z pid=224 tid=118w INFO: Sidekiq 7.3.0 connecting to Redis with options {:size=>10, :pool_name=>"internal", :url=>"redis://redis-server:6379/1"}
02:20:05 rails.1              | 2024-12-15T02:20:05.972Z pid=221 tid=11hp INFO: Sidekiq 7.3.0 connecting to Redis with options {:size=>10, :pool_name=>"internal", :url=>"redis://redis-server:6379/1"}
02:20:26 rails.1              | 2024-12-15T02:20:26.441Z pid=239 tid=11ev INFO: Sidekiq 7.3.0 connecting to Redis with options {:size=>10, :pool_name=>"internal", :url=>"redis://redis-server:6379/1"}
02:20:26 rails.1              | 2024-12-15T02:20:26.564Z pid=215 tid=11gb INFO: Sidekiq 7.3.0 connecting to Redis with options {:size=>10, :pool_name=>"internal", :url=>"redis://redis-server:6379/1"}
02:21:10 default_worker.1     | 2024-12-15T02:21:10.194Z pid=138 tid=11pq class=Scan::DetectFilesystemChangesJob jid=3d8cbe66062fba38c8f7b554 INFO: start
02:21:10 default_worker.1     | 2024-12-15T02:21:10.196Z pid=138 tid=11pq class=Scan::DetectFilesystemChangesJob jid=3d8cbe66062fba38c8f7b554 INFO: Performing Scan::DetectFilesystemChangesJob (Job ID: 17c721b1-653b-4435-90af-f78a1c548e3b) from Sidekiq(scan) enqueued at 2024-12-15T02:21:10.192759372Z with arguments: 1
02:21:10 default_worker.1     | 2024-12-15T02:21:10.203Z pid=138 tid=11pq class=Scan::DetectFilesystemChangesJob jid=3d8cbe66062fba38c8f7b554 WARN: Scoped order is ignored, it's forced to be batch order.
��
02:21:10 default_worker.1     | 2024-12-15T02:21:10.315Z pid=138 tid=11pq class=Scan::DetectFilesystemChangesJob jid=3d8cbe66062fba38c8f7b554 INFO: Performed Scan::DetectFilesystemChangesJob (Job ID: 17c721b1-653b-4435-90af-f78a1c548e3b) from Sidekiq(scan) in 119.29ms
02:21:10 default_worker.1     | 2024-12-15T02:21:10.316Z pid=138 tid=11pq class=Scan::DetectFilesystemChangesJob jid=3d8cbe66062fba38c8f7b554 elapsed=0.122 INFO: done
02:21:12 default_worker.1     | 2024-12-15T02:21:12.587Z pid=138 tid=11rm class=Scan::DetectFilesystemChangesJob jid=82156011e7c6a27cd07b36ac INFO: start
02:21:12 default_worker.1     | 2024-12-15T02:21:12.588Z pid=138 tid=11rm class=Scan::DetectFilesystemChangesJob jid=82156011e7c6a27cd07b36ac INFO: Performing Scan::DetectFilesystemChangesJob (Job ID: 7861e735-89f7-4bbb-9c7a-49edc68c3cfc) from Sidekiq(scan) enqueued at 2024-12-15T02:21:12.586310276Z with arguments: 1
02:21:12 default_worker.1     | 2024-12-15T02:21:12.590Z pid=138 tid=11rm class=Scan::DetectFilesystemChangesJob jid=82156011e7c6a27cd07b36ac WARN: Scoped order is ignored, it's forced to be batch order.
02:21:12 default_worker.1     | 2024-12-15T02:21:12.603Z pid=138 tid=11rm class=Scan::DetectFilesystemChangesJob jid=82156011e7c6a27cd07b36ac INFO: Performed Scan::DetectFilesystemChangesJob (Job ID: 7861e735-89f7-4bbb-9c7a-49edc68c3cfc) from Sidekiq(scan) in 15.34ms
02:21:12 default_worker.1     | 2024-12-15T02:21:12.604Z pid=138 tid=11rm class=Scan::DetectFilesystemChangesJob jid=82156011e7c6a27cd07b36ac elapsed=0.017 INFO: done
02:21:33 default_worker.1     | 2024-12-15T02:21:33.018Z pid=138 tid=11s6 class=Scan::CheckAllJob jid=3e1497955fd9db1a9db3015a INFO: start
02:21:33 default_worker.1     | 2024-12-15T02:21:33.019Z pid=138 tid=11s6 class=Scan::CheckAllJob jid=3e1497955fd9db1a9db3015a INFO: Performing Scan::CheckAllJob (Job ID: bf522766-381c-4336-becc-aea9295a754c) from Sidekiq(scan) enqueued at 2024-12-15T02:21:33.018045566Z
02:21:33 default_worker.1     | 2024-12-15T02:21:33.021Z pid=138 tid=11s6 class=Scan::CheckAllJob jid=3e1497955fd9db1a9db3015a WARN: Scoped order is ignored, it's forced to be batch order.
02:21:33 default_worker.1     | 2024-12-15T02:21:33.028Z pid=138 tid=11s6 class=Scan::CheckAllJob jid=3e1497955fd9db1a9db3015a INFO: Performed Scan::CheckAllJob (Job ID: bf522766-381c-4336-becc-aea9295a754c) from Sidekiq(scan) in 8.8ms
02:21:33 default_worker.1     | 2024-12-15T02:21:33.028Z pid=138 tid=11s6 class=Scan::CheckAllJob jid=3e1497955fd9db1a9db3015a elapsed=0.01 INFO: done
02:21:36 default_worker.1     | 2024-12-15T02:21:36.596Z pid=138 tid=11rm class=Scan::DetectFilesystemChangesJob jid=ec1a7d7c329c7971dc058abb INFO: start
02:21:36 default_worker.1     | 2024-12-15T02:21:36.597Z pid=138 tid=11rm class=Scan::DetectFilesystemChangesJob jid=ec1a7d7c329c7971dc058abb INFO: Performing Scan::DetectFilesystemChangesJob (Job ID: 9d1607ca-1d30-4b00-9676-00365d23cd2c) from Sidekiq(scan) enqueued at 2024-12-15T02:21:36.595826642Z with arguments: 1
02:21:36 default_worker.1     | 2024-12-15T02:21:36.599Z pid=138 tid=11rm class=Scan::DetectFilesystemChangesJob jid=ec1a7d7c329c7971dc058abb WARN: Scoped order is ignored, it's forced to be batch order.
02:21:36 default_worker.1     | 2024-12-15T02:21:36.612Z pid=138 tid=11rm class=Scan::DetectFilesystemChangesJob jid=ec1a7d7c329c7971dc058abb INFO: Performed Scan::DetectFilesystemChangesJob (Job ID: 9d1607ca-1d30-4b00-9676-00365d23cd2c) from Sidekiq(scan) in 15.56ms
02:21:36 default_worker.1     | 2024-12-15T02:21:36.613Z pid=138 tid=11rm class=Scan::DetectFilesystemChangesJob jid=ec1a7d7c329c7971dc058abb elapsed=0.017 INFO: done
01:56:06 default_worker.1     | 2024-12-16T01:56:06.657Z pid=138 tid=11t6 class=Scan::DetectFilesystemChangesJob jid=89a87049ed185856869742b8 INFO: start
01:56:06 default_worker.1     | 2024-12-16T01:56:06.659Z pid=138 tid=11t6 class=Scan::DetectFilesystemChangesJob jid=89a87049ed185856869742b8 INFO: Performing Scan::DetectFilesystemChangesJob (Job ID: 5570c4fb-39a3-4026-978d-ad1c2ab8fd3f) from Sidekiq(scan) enqueued at 2024-12-16T01:56:06.657096315Z with arguments: 1
01:56:06 default_worker.1     | 2024-12-16T01:56:06.721Z pid=138 tid=11t6 class=Scan::DetectFilesystemChangesJob jid=89a87049ed185856869742b8 WARN: Scoped order is ignored, it's forced to be batch order.
��
01:56:06 default_worker.1     | 2024-12-16T01:56:06.838Z pid=138 tid=11t6 class=Scan::DetectFilesystemChangesJob jid=89a87049ed185856869742b8 INFO: Performed Scan::DetectFilesystemChangesJob (Job ID: 5570c4fb-39a3-4026-978d-ad1c2ab8fd3f) from Sidekiq(scan) in 179.52ms
01:56:06 default_worker.1     | 2024-12-16T01:56:06.838Z pid=138 tid=11t6 class=Scan::DetectFilesystemChangesJob jid=89a87049ed185856869742b8 elapsed=0.181 INFO: done

Duplicate issue #3341: Files not scanned if library path contains a space
Created: 2025-01-02T18:36:52Z
Reported on matrix; scanning /libraries/RTB - A didn't pick up any files, but /libraries/RTBA worked fine.

Closing comment (2025-01-02T19:17:20Z): dupe of #3313