-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS : Crashes on startup - Bad date parsing 12 hours format #331
Comments
Hello @JansonBHong 👋 Is it a first install of the app? Or an upgrade? |
Hi - many thanks for a quick reply. I have had WebSSH on my iPad and iPhone for a while. I got my new MacBook Air yesterday and was happy to realise today that it will run on a MacBook Air with the M1 processor. After installation, when run it appears momentarily then crashes. |
There is a crash report if that would be of help |
Could you email me your crash report please? Thank you a lot and sorry for the trouble |
Sent as requested |
Thank you a lot @JansonBHong 👍 I will now fix this issue related to you crash report :
|
I think I'm able to reproduce the bug on my side :
It seems to be a bad value in the database. |
@JansonBHong Do you remember the year of your installation of WebSSH on your iPhone / iPad ? |
I originally installed some years ago but then deleted as I had no need - I reinstalled yesterday as I now have several Raspberry Pi I need to SSH into. |
Thanks for your feedback. I'm fixing the issue. |
Hello @JansonBHong 👋 Could you run and post here the result of this one line command inside your terminal on your macOS?
Thank you |
/Users/MYNAME/Library/Containers/81ADD741-4765-460E-9C77-D1EB16DB24F9/Data/Library/Application Support/webssh.db |
@JansonBHong Thank you a lot. Now please run :
You should then be able to launch WebSSH I think. I'm fixing the issue in code but this last command should help before. |
Very sorry - despite running the above it still crashes |
:/ When you run the first command again what's the output? |
/Users/MYNAME/Library/Containers/81ADD741-4765-460E-9C77-D1EB16DB24F9/Data/Library/Application Support/webssh.db |
I think there is a second crash point. Could you send me by email a new crash report? Sorry for the trouble. |
Sent |
Don't have received it yet |
Sorry - might have sent to the wrong email address - sent again to team AT webssh DOT net |
Does WebSSH have been started at least once with success on your macOS? If not you could try to remove the database of WebSSH :
If the crash occurs after enabling iCloud on WebSSH on your macOS please let me know. |
The result of entering the above is "No such file or directory" WebSHH has never run on the MacBook Air successfully - it crashed from fist run after install |
Excuse me you need to run it with double quotes :
Could you tell me in which country are you running WebSSH? |
Even with double quotes there is no such file - manually looking in terminal confirms it does not exist. I am in the UK |
Thanks for the country! Even this command doesn't work?
I'm using the full path displayed on your previous replies, and I'm trying to remove the WebSSH database for a try. |
No sorry - no such file (I obviously changed MYNAME to my user name) |
This one will tell where the database is stored :
|
The result of above was /Users/MYNAME/Library/Containers/81ADD741-4765-460E-9C77-D1EB16DB24F9/Data/Library/Application Support/webssh.db And I have now deleted the database. Success! WebSSH now starts! I will try enabling iCloud and report back in a moment |
Worked until I enabled iCloud then crashed again when enabled. |
OK so we have a confirmation that some date are not parsed with success inside WebSSH database. A fix will be sent asap to Apple but I can't say it will works as we can't beta test on macOS until the end of year :( At this time of writing I could only recommend you to remove the database and don't enable iCloud yet. |
Ok - many thanks for your amazing support. I will use WebSHH with iCloud disabled for the moment and look forward to the fix at some stage in the futures. Again many many thanks |
@JansonBHong Thank you too for all your feedback! |
UPDATE - I have it working with iCloud enabled. I had my MacBook Air time setup for a 24 hour clock. When I changed it to a 12 hour clock I found I could enable iCloud!!! My iPhone and iPad are set up to display a 12 hour clock. |
@JansonBHong OK so it explains the date parsing problem 😅 Thank you a lot for your feedback 🙏 |
Released on WebSSH Beta 14.20 |
Just installed the latest version on my new MacBook Air with all the latest updates. Crashes after 3 seconds and disappears
The text was updated successfully, but these errors were encountered: