© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•11mo ago•
15 replies
dotfortun3

External Library - Unable to remove file from disk

I recently deleted an external library from my admin account so I can create an account for me instead of using that. After deleting, I see a ton of these error messages in the logs

[Nest] 7  - 04/07/2025, 1:03:00 AM    WARN [Microservices:StorageService] Unable to remove file from disk
[Nest] 7  - 04/07/2025, 1:03:00 AM    WARN [Microservices:StorageService] Error: EROFS: read-only file system, unlink '/mnt/media/family/Photos from 2019/IMG_4906.MP4'
    at async Object.unlink (node:internal/fs/promises:1064:10)
    at async StorageRepository.unlink (/usr/src/app/dist/repositories/storage.repository.js:100:13)
    at async StorageService.handleDeleteFiles (/usr/src/app/dist/services/storage.service.js:69:17)
    at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:156:28)
    at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:126:13)
    at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
    at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24) {
  errno: -30,
  code: 'EROFS',
  syscall: 'unlink',
  path: '/mnt/media/family/Photos from 2019/IMG_4906.MP4'
}
[Nest] 7  - 04/07/2025, 1:03:00 AM    WARN [Microservices:StorageService] Unable to remove file from disk
[Nest] 7  - 04/07/2025, 1:03:00 AM    WARN [Microservices:StorageService] Error: EROFS: read-only file system, unlink '/mnt/media/family/Photos from 2019/IMG_4906.MP4'
    at async Object.unlink (node:internal/fs/promises:1064:10)
    at async StorageRepository.unlink (/usr/src/app/dist/repositories/storage.repository.js:100:13)
    at async StorageService.handleDeleteFiles (/usr/src/app/dist/services/storage.service.js:69:17)
    at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:156:28)
    at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:126:13)
    at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
    at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24) {
  errno: -30,
  code: 'EROFS',
  syscall: 'unlink',
  path: '/mnt/media/family/Photos from 2019/IMG_4906.MP4'
}


I am wondering if this will go away as each file throws that error or if this will just keep happening. The mount is read only which looks like that was a good choice because I think it would be deleting my external library.
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

External Library and new external file path
ImmichIImmich / help-desk-support
14mo ago
unable to map external library (fresh install)
ImmichIImmich / help-desk-support
5mo ago
Rescan library (not external) to remove orphaned assets
ImmichIImmich / help-desk-support
7mo ago
Migrating from external library to default
ImmichIImmich / help-desk-support
6mo ago