What went wrong?
I updated to 2.1.0 and wanted to test out the new multi-file renaming. I went to the same folder I was in for #521
I edited the metadata and had it rename the files, but I got an error about:
Write:
1 of 5 file writes failed
Rename:
ENOENT: no such file or directory, rename '/books/Clayton M. Christensen/How Will You Measure Your Life_ (2012)/How Will You Measure Your Life_ - Clayton M. Christensen.mp3' -> '/books/Clayton M. Chri
Steps to reproduce
Open an audiobook, edit metadata to rename it, witness rename failure.
Expected vs actual behavior
What's odd is that it indicates a truncated path that doesn't exist. I don't know if that's a real path, or a logging quirk.
Your setup
BookOrbit 2.1.0 on Proxmox LXC
Relevant logs (optional)
Jul 03 18:47:08 bookorbit node[62944]: {"level":30,"time":1783122428520,"pid":62944,"hostname":"bookorbit","req":{"id":"req-9d","method":"PATCH","url":"/api/v1/books/521/metadata-and-locks?syncFileWrite=true"},"context":"BookService","msg":"[book.update_metadata_and_locks] [start] bookId=521 userId=1 metadataFields=7 lockFields=0 - metadata and lock update started"}
Jul 03 18:47:08 bookorbit node[62944]: {"level":40,"time":1783122428747,"pid":62944,"hostname":"bookorbit","req":{"id":"req-9d","method":"PATCH","url":"/api/v1/books/521/metadata-and-locks?syncFileWrite=true"},"context":"FileWriteService","msg":"[file_write.write] [fail] bookId=521 format=mp3 triggeredBy=sync userId=1 dryRun=false durationMs=194 errorClass=Error error=\"Command failed: ffmpeg -v error -y -i /books/Clayton M. Christensen/How Will You Measure Your Life_ (2012)/How Will You Measure Your Life_ - Clayton M. Christensen.mp3 -i /books/Clayton M. Christensen\" - file write failed"}
Jul 03 18:47:16 bookorbit node[62944]: {"level":30,"time":1783122436579,"pid":62944,"hostname":"bookorbit","req":{"id":"req-9d","method":"PATCH","url":"/api/v1/books/521/metadata-and-locks?syncFileWrite=true"},"context":"FileWriteService","msg":"[file_write.write] [end] bookId=521 format=mp3 triggeredBy=sync userId=1 dryRun=false durationMs=8026 status=failed fieldsWritten=14 reason=\"1 of 5 file writes failed\" - file write completed"}
Jul 03 18:47:16 bookorbit node[62944]: {"level":30,"time":1783122436580,"pid":62944,"hostname":"bookorbit","req":{"id":"req-9d","method":"PATCH","url":"/api/v1/books/521/metadata-and-locks?syncFileWrite=true"},"context":"FileRenameService","msg":"[file.rename] [start] bookId=521 userId=1 force=false - file rename started"}
Jul 03 18:47:16 bookorbit node[62944]: {"level":40,"time":1783122436636,"pid":62944,"hostname":"bookorbit","req":{"id":"req-9d","method":"PATCH","url":"/api/v1/books/521/metadata-and-locks?syncFileWrite=true"},"context":"FileRenameService","msg":"[file.rename] [fail] bookId=521 userId=1 durationMs=56 errorClass=Error error=\"ENOENT: no such file or directory, rename '/books/Clayton M. Christensen/How Will You Measure Your Life_ (2012)/How Will You Measure Your Life_ - Clayton M. Christensen.mp3' -> '/books/Clayton M. Chri\" - file rename failed"}
Jul 03 18:47:16 bookorbit node[62944]: {"level":30,"time":1783122436661,"pid":62944,"hostname":"bookorbit","req":{"id":"req-9d","method":"PATCH","url":"/api/v1/books/521/metadata-and-locks?syncFileWrite=true"},"context":"BookService","msg":"[book.update_metadata_and_locks] [end] bookId=521 durationMs=8141 scalarFields=4 customMetadataUpdated=false lockFields=0 - metadata and lock update completed"}
Screenshots (optional)
No response
Before submitting
What went wrong?
I updated to 2.1.0 and wanted to test out the new multi-file renaming. I went to the same folder I was in for #521
I edited the metadata and had it rename the files, but I got an error about:
Write:
1 of 5 file writes failed
Rename:
ENOENT: no such file or directory, rename '/books/Clayton M. Christensen/How Will You Measure Your Life_ (2012)/How Will You Measure Your Life_ - Clayton M. Christensen.mp3' -> '/books/Clayton M. Chri
Steps to reproduce
Open an audiobook, edit metadata to rename it, witness rename failure.
Expected vs actual behavior
What's odd is that it indicates a truncated path that doesn't exist. I don't know if that's a real path, or a logging quirk.
Your setup
BookOrbit 2.1.0 on Proxmox LXC
Relevant logs (optional)
Jul 03 18:47:08 bookorbit node[62944]: {"level":30,"time":1783122428520,"pid":62944,"hostname":"bookorbit","req":{"id":"req-9d","method":"PATCH","url":"/api/v1/books/521/metadata-and-locks?syncFileWrite=true"},"context":"BookService","msg":"[book.update_metadata_and_locks] [start] bookId=521 userId=1 metadataFields=7 lockFields=0 - metadata and lock update started"} Jul 03 18:47:08 bookorbit node[62944]: {"level":40,"time":1783122428747,"pid":62944,"hostname":"bookorbit","req":{"id":"req-9d","method":"PATCH","url":"/api/v1/books/521/metadata-and-locks?syncFileWrite=true"},"context":"FileWriteService","msg":"[file_write.write] [fail] bookId=521 format=mp3 triggeredBy=sync userId=1 dryRun=false durationMs=194 errorClass=Error error=\"Command failed: ffmpeg -v error -y -i /books/Clayton M. Christensen/How Will You Measure Your Life_ (2012)/How Will You Measure Your Life_ - Clayton M. Christensen.mp3 -i /books/Clayton M. Christensen\" - file write failed"} Jul 03 18:47:16 bookorbit node[62944]: {"level":30,"time":1783122436579,"pid":62944,"hostname":"bookorbit","req":{"id":"req-9d","method":"PATCH","url":"/api/v1/books/521/metadata-and-locks?syncFileWrite=true"},"context":"FileWriteService","msg":"[file_write.write] [end] bookId=521 format=mp3 triggeredBy=sync userId=1 dryRun=false durationMs=8026 status=failed fieldsWritten=14 reason=\"1 of 5 file writes failed\" - file write completed"} Jul 03 18:47:16 bookorbit node[62944]: {"level":30,"time":1783122436580,"pid":62944,"hostname":"bookorbit","req":{"id":"req-9d","method":"PATCH","url":"/api/v1/books/521/metadata-and-locks?syncFileWrite=true"},"context":"FileRenameService","msg":"[file.rename] [start] bookId=521 userId=1 force=false - file rename started"} Jul 03 18:47:16 bookorbit node[62944]: {"level":40,"time":1783122436636,"pid":62944,"hostname":"bookorbit","req":{"id":"req-9d","method":"PATCH","url":"/api/v1/books/521/metadata-and-locks?syncFileWrite=true"},"context":"FileRenameService","msg":"[file.rename] [fail] bookId=521 userId=1 durationMs=56 errorClass=Error error=\"ENOENT: no such file or directory, rename '/books/Clayton M. Christensen/How Will You Measure Your Life_ (2012)/How Will You Measure Your Life_ - Clayton M. Christensen.mp3' -> '/books/Clayton M. Chri\" - file rename failed"} Jul 03 18:47:16 bookorbit node[62944]: {"level":30,"time":1783122436661,"pid":62944,"hostname":"bookorbit","req":{"id":"req-9d","method":"PATCH","url":"/api/v1/books/521/metadata-and-locks?syncFileWrite=true"},"context":"BookService","msg":"[book.update_metadata_and_locks] [end] bookId=521 durationMs=8141 scalarFields=4 customMetadataUpdated=false lockFields=0 - metadata and lock update completed"}Screenshots (optional)
No response
Before submitting