Ticket #8657 (closed Bug Report - General: fixed)
Opened 3 years ago
Last modified 3 months ago
Mytharchive import fails if no storage groups are defined locally
| Reported by: | jtlarson@… | Owned by: | paulh |
|---|---|---|---|
| Priority: | trivial | Milestone: | 0.26.1 |
| Component: | Plugin - MythArchive | Version: | 0.23-fixes |
| Severity: | low | Keywords: | |
| Cc: | Ticket locked: | no |
Description
I have 4 slave servers--each with local storage (all cross-mounted via NFS), but the storage directories are defined on the master backend default SG, since they are shared among all the servers.
When running the mytharchive import process on one of the slave boxes, it errors out like this: 2010-07-15 09:52:48.473 copying from /myth/windows/avpc2/tmp/Test recording/1000_20100707111400.mpg 2010-07-15 09:52:48.473 to /1000_20100707111400.mpg 2010-07-15 09:52:48.474 ERROR: Unable to open destination file 2010-07-15 09:52:48.474 Do you have write access to the directory?
Notice that the destination path is "/1000_20100707111400.mpg"--it should be "/mnt/sbe3/rec11000_20100707111400.mpg". I believe that mytharchive is simply looking for folders in the 'Default' SG that match the local hostanme--and if none are found the query returns nothing and the script chokes. See the following link for a little more detail: http://ubuntuforums.org/showpost.php?p=4844808&postcount=6
Attachments
Change History
comment:1 Changed 3 years ago by robertm
- Priority changed from major to trivial
- Severity changed from medium to low
comment:3 Changed 16 months ago by stuartm
- Type changed from defect to Bug Report - General
Any chance that this has been fixed already? It's against 0.23
comment:5 Changed 5 months ago by paulh <mythtv@…>
This was fixed in my fork in https://github.com/paul-h/mythtv/commit/fcfe61b1bb
Note there seems to be a regression introduced by the socket changes that causes file transfers to abort early. I had to increase the timeout to 100ms in FileTransfer::WriteBlock?() to get the file transfer to work reliably.
comment:6 Changed 3 months ago by Paul Harrison <mythtv@…>
- Owner set to Paul Harrison <mythtv@…>
- Status changed from assigned to closed
- Resolution set to fixed
comment:7 Changed 3 months ago by Paul Harrison <mythtv@…>
comment:8 Changed 3 months ago by paulh
- Owner changed from Paul Harrison <mythtv@…> to paulh
- Milestone changed from unknown to 0.26.1

Please see the ticket howto, do not set priority/severity.