09.12.2025, 14:58
I have a LM4 with relative old firemware, I belive it's 2018 or even older, I have never tried to upgrade it before. It has been working perfectly fine for years until recently. I wasn't able to login with IP.
The error reads:
"Lua error /www/apps/index.lp:53: '=' expected near '}'
and ping to it's IP is intermitent.
So, I pull out the SD card, and replaced it with a new one, using this guide: (https://kb.logicmachine.net/misc/reflash...ng-player/) to flash the recovery img and then upgrade to the latest 202404 firmware. And according to this thread (https://forum.logicmachine.net/showthrea...hlight=LM4), I copied all of the folders/files in the 3rd partition from the corrpted SD card and pasted into the new SD card (using a ubuntu system using the cmd: sudo cp -r -p * /path) , hope it will restore the service back to normal.
But...... I ended up with a new system, all of the scripts are gone, I can only find some images in there, no scripts, nothing.
I have also tried to copy all of the files/folders from the 2nd partition from the corrped SD card to the new one, but then I ended up got the same error when trying to access it using IP.
BTW, I was able to make a full backup using USB image tool from the corrpted SD card, but I figured it might ends up with the same results as above. because I appears that the system file was corrped.
Can anyone help please!!! Thank you!
The error reads:
"Lua error /www/apps/index.lp:53: '=' expected near '}'
and ping to it's IP is intermitent.
So, I pull out the SD card, and replaced it with a new one, using this guide: (https://kb.logicmachine.net/misc/reflash...ng-player/) to flash the recovery img and then upgrade to the latest 202404 firmware. And according to this thread (https://forum.logicmachine.net/showthrea...hlight=LM4), I copied all of the folders/files in the 3rd partition from the corrpted SD card and pasted into the new SD card (using a ubuntu system using the cmd: sudo cp -r -p * /path) , hope it will restore the service back to normal.
But...... I ended up with a new system, all of the scripts are gone, I can only find some images in there, no scripts, nothing.
I have also tried to copy all of the files/folders from the 2nd partition from the corrped SD card to the new one, but then I ended up got the same error when trying to access it using IP.
BTW, I was able to make a full backup using USB image tool from the corrpted SD card, but I figured it might ends up with the same results as above. because I appears that the system file was corrped.
Can anyone help please!!! Thank you!