Sudo openhab-cli - fails

Hi, I have just finished installing Openhabian on a new Raspberry Pi5 (OH v5.0.1) - this was to upgrade from my older 32bit Pi4. The install and restore went very well - no issues. It has been running for 3 days without any problems. Today I wanted to make a backup using openhabian-config. This failed (actually it reported that it was successful and that the backup is at [blank]) so it really failed.

The Pi is fully up to date.

When is enter “sudo openhab-cli status” (or any openhab-cli command), I get …

/usr/bin/openhab-cli: 2: /etc/openhab/linux.parameters: Syntax error: Unterminated quoted string

I have tried manually clearing the cache - same result.

Openhab seems to be functioning fine.

Any help would be appreciated. Thanks - Gavin

Have you looked at the file /etc/openhab/linux.parameters? I don’t know anything about that file but that’s the file it’s complaining about having a starting quote somewhere without a closing quote.

@Hobohome

can you try to connect via the command line using the command below it would use the same password:

ssh openhab@localhost -p 8101

I have an error connecting using the same openhab-cli command but just been too busy to diagnose (and then the above command works so not needed to see why mine fails “yet”) Mine is a different error though)

Doh! - You were spot on. When I had a close look at that file it had a strange closing quote at the end of it. Fixed and all good.

Many thanks for your help