hakchi2 icon indicating copy to clipboard operation
hakchi2 copied to clipboard

tar error (doesn't find directory) while syncing games on nes mini

Open msx2k opened this issue 9 years ago • 30 comments

Hi, I'm trying to sync my games after I experienced #634 (I'm on 2.0.21.32 now): the custom kernel installs perfectly now, however I get this error when I try to sync my games:

shell command "tar -xvC /var/lib/hakchi/rootfs/usr/share/games/nes/kachikachi" returned exit code 1: tar: can't change directory to ' /var/lib/hakchi/rootfs/usr/share/games/nes/kachikachi': No such file or directory I checked via telnet and there's nothing inside that /games directory.

UPDATE: I also tried to uninstall, flash original kernel and reflesh custom kernel again, but it didn't solve the problem.

screenshot

msx2k avatar Oct 10 '17 20:10 msx2k

Same here. Don't know if it is of any relevance, but I have a EURO nes mini

EDIT: /var/lib/hakchi/rootfs/usr/share/games/ is empty in FTP.

EDIT 2: Creating the folder nes inside /var/lib/hakchi/rootfs/usr/share/games/ and the folder kachikachi inside /var/lib/hakchi/rootfs/usr/share/games/nes/ through FTP fixed the error, but nes only boots with a black screen. Connection with Hakchi and FTP is still possible.

EDIT 3: Removing the folder nes from /var/lib/hakchi/rootfs/usr/share/games/ fixes black screen, but results back to the error from shell command.

andyderuyter avatar Oct 10 '17 21:10 andyderuyter

I’m on a EURO nes as well; hackchi2 used used to work perfectly on it until yesterday.

msx2k avatar Oct 11 '17 06:10 msx2k

I am on a US nes and seeing the same error. Tried it for the first time yesterday.

stevenEno avatar Oct 11 '17 10:10 stevenEno

I think you may possibly have wrong console type selected in hakchi. This error is basically trying to find an nesc path.

KMFDManic avatar Oct 11 '17 11:10 KMFDManic

We are installing on an NES Classic.

stevenEno avatar Oct 11 '17 12:10 stevenEno

For me an EURO NES with the same problem, first time hakchi2 on nes

kaleneet avatar Oct 11 '17 14:10 kaleneet

Did you try making sure u selected nes classic as system in selector? That is an error related to snes classic trying to flash with non-existent nes classic command lines. I would suggest making sure nes classic is chosen, then uninstall hakchi, then flash original, then custom kernel.

KMFDManic avatar Oct 11 '17 15:10 KMFDManic

Yes, I ran through the install twice selecting NES Classic both times.

stevenEno avatar Oct 11 '17 15:10 stevenEno

I can test on my nes classic when I am home. But, no issues on snesc.

KMFDManic avatar Oct 11 '17 15:10 KMFDManic

I can test on my nesc when I get home shortly. I have hakchi that is not released yet, and can test that one too.

KMFDManic avatar Oct 11 '17 16:10 KMFDManic

I always compile the wip hakchi, to test out changes and various perimeters, etc. I only recommend this course of action for those who understand the responsibilities and inherent risks of not being officially released, with his blessing.

KMFDManic avatar Oct 11 '17 16:10 KMFDManic

open telnet and execute mkdir -p /var/lib/hakchi/rootfs/usr/share/games/nes/kachikachi then it'll work or wait for update

madmonkey1907 avatar Oct 11 '17 16:10 madmonkey1907

@madmonkey1907 How is that different than creating the folders in FTP?

andyderuyter avatar Oct 11 '17 17:10 andyderuyter

it is not. just easier. if you have black screen, add or remove some games afterwards. if you still have black screen after that, install/uninstall some hmod, or perform memboot(should be in latest version I think?)

madmonkey1907 avatar Oct 11 '17 17:10 madmonkey1907

Started from scratch.

  • Selected NES Classic Mini as console type
  • Installed kernel: no problem with that
  • Synced game: error
  • Created folders: no error, but black screen
  • Synced another game: no error, still a black screen
  • Installed 'No thumbnails hmod': no error, still a black screen
  • Removed own games (only originals left): no error, still a black screen
  • Uninstalled 'No thumbnails hmod': no error, still a black screen

@madmonkey1907 Regarding memboot. Is this the option under 'Kernel' -> ''Boot patched kernel from RAM"? This won't brick my nes?

EDIT:

I've done the 'Boot patched kernel from RAM': no error, still a black screen

andyderuyter avatar Oct 11 '17 18:10 andyderuyter

yes, it is. it will not brick your console.

try this select NES Classic Mini as console type install/uninstall some hmod OR memboot create folders, do mkdir -p /usr/share/games/nes/kachikachi just in case there is an error in filename somewhere unselect ALL original games add at least 12 non-original games sync

then check if it's still black screen if it is, backup your saves, telnet execute ~~hakchi mod_uninstall~~ rm -rf /var/lib/hakchi this will delete all your data(shouldn't delete saves, but just in case) and start from step1

madmonkey1907 avatar Oct 11 '17 18:10 madmonkey1907

That is how I initially bypassed the error to run retroarch last week, with ftp/telnet. I am unaffected by the error now. But, some appear to be. Cluster will patch what needs patched, need not worry. Madmonkey stated the same solution I used. It worked great.

KMFDManic avatar Oct 11 '17 18:10 KMFDManic

@madmonkey1907 & @KMFDManic thanks for all your help and suggestions, but I think I'll be using 2.20 for my NES again. More reading and trying to get the newest version of Hakchi to play nice, instead of playing the damn games ;)

andyderuyter avatar Oct 11 '17 18:10 andyderuyter

@andyderuyter, don't fret, it should be an easy hot fix.

KMFDManic avatar Oct 11 '17 18:10 KMFDManic

@KMFDManic Hey, I'm cool with everything that happens :) I'm glad that I can play games on these little machines (have both nes and snes), and everyone involved is doing what they can in their spare time. So, no complains from my side...

andyderuyter avatar Oct 11 '17 19:10 andyderuyter