Open mcGit74 opened 3 years ago
I had this issue and it was a corrupt VHD file. I had to redownload the base VHD, replace the bad one on my NAS, and rerun the script. It then completed successfully. Also, it would fail more often than not via WiFi, but worked fine when connected to LAN.
Thanks for reporting. I've had about 3 people with this issue and a CIFS share. Please give me more details on your CIFS setup:
How are you sharing it? (full Control) Wifi or wired? What is the backend doing it?
For the "mkdir: cannot create directory ?/tmp/dos_games?: File exists" issue What's happening is the linux side of mister is leaving the E folder in /tmp/dos_games mounted to the VHD. If you tried to delete the contents of the /tmp/dos_games/E then you have deleted files in the actual VHD and need remove that and use the backup you made of the VHD back. First, you need to go manually unmount it on the linux side and delete the dos_games folder:
SSH or console into your mister cd /tmp/dos_games umount E cd .. rm dos_games -r
That will clean it up and you can try and rerun the update.
For now, those that are using CIFS should just download the update.zip from releases, mount your VHDs on your main PC and extract the contents of the two directories (C and E in the zip) to their corresponding VHD files. That will be the safest for now.
Thanks for reporting. I've had about 3 people with this issue and a CIFS share. Please give me more details on your CIFS setup:
How are you sharing it? (full Control) Wifi or wired? What is the backend doing it?
For the "mkdir: cannot create directory ?/tmp/dos_games?: File exists" issue What's happening is the linux side of mister is leaving the E folder in /tmp/dos_games mounted to the VHD. If you tried to delete the contents of the /tmp/dos_games/E then you have deleted files in the actual VHD and need remove that and use the backup you made of the VHD back. First, you need to go manually unmount it on the linux side and delete the dos_games folder:
SSH or console into your mister cd /tmp/dos_games umount E cd .. rm dos_games -r
That will clean it up and you can try and rerun the update.
For now, those that are using CIFS should just download the update.zip from releases, mount your VHDs on your main PC and extract the contents of the two directories (C and E in the zip) to their corresponding VHD files. That will be the safest for now.
When I mount the vhd on my pc it creates two drives, STUBDSK (D) and TOP300 (F) - From the extracted update.zip file do I copy C to D and E to F or something else?
Folders mounted to NAS using CIFS script. Ran updater script Disk image found OK Script then displays lotsof error messages, such as: "Cannot create /tmp/dos_games/E/utils Input/output error unable to process E/utils/"
If I then re-run the script the following error is returned: "mkdir: cannot create directory ?/tmp/dos_games?: File exists"
I assume this is a permissions error
If I FTP into tmp/dos_games in MiSTer I can see dos_games folder is set to 0777 E : is 0755 Attempting to change E to 0777 fails due to various files being read only (Handlers.ini for example).