Update from 1.0.4 to 1.1.0 (locale::facet::_S_create_c_locale name not valid)
Hi.
I initiated the update from Web UI to the latest but it was doing it and doing it, restarted the RaspPi.
Then tried installing it from ssh by downloading and installing Repetier-Server-1.1.0-Linux.deb
But still, the service won't run and web UI gives 504 Gateway Time-out
When trying to run it manually then I'm getting the following error.
sudo /usr/local/Repetier-Server/bin/RepetierServer -c /usr/local/Repetier-Server/etc/RepetierServer.xml
What's wrong with it?
I initiated the update from Web UI to the latest but it was doing it and doing it, restarted the RaspPi.
Then tried installing it from ssh by downloading and installing Repetier-Server-1.1.0-Linux.deb
But still, the service won't run and web UI gives 504 Gateway Time-out
When trying to run it manually then I'm getting the following error.
sudo /usr/local/Repetier-Server/bin/RepetierServer -c /usr/local/Repetier-Server/etc/RepetierServer.xml
locale::facet::_S_create_c_locale name not valid
What's wrong with it?
Comments
sudo -u repetierserver LC_ALL=C /usr/local/Repetier-Server/bin/RepetierServer -c /usr/local/Repetier-Server/etc/RepetierServer.xml
is the manual way to start it in console.
Now it looks like it's waiting for "Reading firmware data ..."
Edit: After ~10min it's still waiting at the same spot.
When I downgraded the repetier-server from 1.1.0 to 1.0.4 then version 1.0.4 immediately started to work.
Tried to install the latest version once more but it stopped at the same point.
When manually running then it stops on "Reading firmware data ..." and nothing more.
It's stuck at that point.
To see which file it is handling where the hang happens you could start it with strace like this:
sudo -u repetierserver LC_ALL=C strace /usr/local/Repetier-Server/bin/RepetierServer -c /usr/local/Repetier-Server/etc/RepetierServer.xml
Especially the last output with
open("
would be of interest, so we know which file causes the hang. You can then send me that file for analysis. It is either defect or has mods from your side causing it I guess, but it should not hang in any case, so interested to see how it can hang.
Sent that file to info email.
Yes, I have my own lines in firmware file Klipper.xml but this file
is always overwritten during install.
We already noticed and fixed this 504 issue in version 1.1.2, which is also available now.
To get your current system working again, please reboot your server. After that you can install the fixed update.
I have again the same issue.
Updated to the latest from 1.1.1 (like instructed in changelog)
My 1.1.1 was a clean install from the image.
The RepetierServer service is not starting correctly it runs till "Reading firmware data ..." and stays there.
The strace is more or less the same as the previous time
Now installing back the previous version 1.1.1 is also not working.
There's something after version 1.0.4 (That version was working)
Tried these packages:
http://download.repetier.com/files/server/debian-armhf/Repetier-Server-1.1.2-Linux.deb
http://download.repetier.com/files/server/debian-armhf/Repetier-Server-1.1.1-Linux.deb
The next after "Reading firmware data ..." is the network?
Maybe there is something that this step cannot be initiated.
I'm not very interested to make again a clean install from the image.
I made previously a backup folder under /usr/local/Repetier-Server/firmware/
where I stored the Klipper.xml firmware file previous version before trying 1.1.2 update.
I also had this folder before my a fresh install from the image.
It looks that this folder and content somehow messed up with the RepetierServer server.
After deleting that folder from the firmware folder everything started to work.
Till version 1.0.4 that folder didn't have any effect.
So if we assume it is after reading firmware data it is your database/webcalls.json file. Can you post your file so I can test if it works for me and if not why it is hanging.
I think the bad boy was my extra backup folder & content inside the firmware directory.
At least after removing that extra folder the service started to work.
I don't have such file on /var/lib/Repetier-Server/database folder.
Thank you for your support.