I need help, openhabian several problems

openhabian openHAB 3.2.0
Build # 2453
Installed on Raspberry Pi 4
I can not access the openhab UI (ip:8080)
*update - access port 8443 is working but not 8080
not to openhabian:9001
not for samba files

openhabian@openhabian:~ $ sudo systemctl status openhab.service
[sudo] password for openhabian:
● openhab.service - openHAB instance, reachable at http://openhabian:8080
   Loaded: loaded (/lib/systemd/system/openhab.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/openhab.service.d
           └─override.conf
   Active: active (running) since Fri 2021-09-10 02:51:27 IDT; 55min ago
     Docs: https://www.openhab.org/docs/
           https://community.openhab.org
 Main PID: 560 (java)
    Tasks: 236 (limit:���h���`r���roup: /system.slice/openhab.service
           ├─  560 /usr/bin/java -XX:-UsePerfData -Dopenhab.home=/us֪����i��Ya�f-Dopenhab.conf=/etc/openhab -Dopenhab.runtime=/usr/share/openhab/runtime -Dopenhab.userdata=/var/lib/openhab -Do�Y�g4�y=�9
                                                                                                                                                                                                           #V���[m
           ├─27380 sh -c /usr/bin/python /etc/openhab/scripts/switcher.py 2
           └─27382 /usr/bin/python /etc/openhab/scripts/switcher.py 2

10 02:59:33 openhabian karaf[560]:         at com.hivemq.client.internal.mqtt.mqtt3.Mqtt3AsyncClientView.lambda$callbackView$1(Mqtt3AsyncClientView.java:76)
10 02:59:33 openhabian karaf[560]:         at com.hivemq.client.internal.mqtt.MqttAsyncClient$CallbackSubscriber.onNext(MqttAsyncClient.java:303)
10 02:59:33 openhabian karaf[560]:         at com.hivemq.client.internal.mqtt.MqttAsyncClient$CallbackSubscriber.onNext(MqttAsyncClient.java:288)
10 02:59:33 openhabian karaf[560]:         at com.hivemq.client.rx.FlowableWithSingle$SingleFutureSubscriber.onNext(FlowableWithSingle.java:406)
ספט 10 02:59:33 openhabian karaf[560]:         at com.hivemq.client.internal.rx.operators.FlowableWithSingleCombine$SplitSubscriber$Default.tryOnNextActual(FlowableWithSingleCombine.java:235)
ספט 10 02:59:33 openhabian karaf[560]:         at com.hivemq.client.internal.rx.operators.FlowableWithSingleCombine$SplitSubscriber.tryOnNext(FlowableWithSingleCombine.java:200)
10 02:59:33 openhabian karaf[560]:         at io.reactivex.internal.operators.flowable.FlowableObserveOn$ObserveOnConditionalSubscriber.runAsync(FlowableObserveOn.java:649)
10 02:59:33 openhabian karaf[560]:         at io.reactivex.internal.operators.flowable.FlowableObserveOn$BaseObserveOnSubscriber.run(FlowableObserveOn.java:176)
10 02:59:33 openhabian karaf[560]:         at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:66)

That smallish output and your vague description do not provide any helpful information other than that you have several issues and OH is working.
If you want help you need to be more verbose and proactive in providing information.

You have messed with your system. Undo your most recent changes.

If it happened without that you changed anything your filesystem is probably corrupted.
In that case don’t bother fixing and reinstall.

I did not change anything, suddenly everything was destroyed

I took the log out of here:
/var/log/openhab/openhab.log

openhabian@openhabian:~ $ cat sudo /var/log/openhab/openhab.log
cat: sudo: No such file or directory
2021-09-10 12:58:14.777 [ERROR] [ternal.service.BootFeaturesInstaller] - Error installing boot features
org.apache.karaf.features.internal.util.MultiException: Error:
        invalid manifest format
        at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.<init>(MavenDownloadManager.java:91) ~[?:?]
        at org.apache.karaf.features.internal.download.impl.MavenDownloadManager.createDownloader(MavenDownloadManager.java:72) ~[?:?]
        at org.apache.karaf.features.internal.region.Subsystem.downloadBundles(Subsystem.java:457) ~[?:?]
        at org.apache.karaf.features.internal.region.Subsystem.downloadBundles(Subsystem.java:452) ~[?:?]
        at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:224) ~[?:?]
        at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:399) ~[?:?]
        at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1069) ~[?:?]
        at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:1004) ~[?:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
        at java.lang.Thread.run(Thread.java:829) [?:?]
        Suppressed: java.io.IOException: invalid manifest format
                at java.util.jar.Manifest.read(Manifest.java:259) ~[?:?]
                at java.util.jar.Manifest.<init>(Manifest.java:82) ~[?:?]
                at java.util.jar.Manifest.<init>(Manifest.java:74) ~[?:?]
                at org.apache.karaf.features.internal.region.Subsystem.getMetadata(Subsystem.java:665) ~[?:?]
                at org.apache.karaf.features.internal.region.Subsystem.lambda$downloadBundles$1(Subsystem.java:499) ~[?:?]
                at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.lambda$download$0(MavenDownloadManager.java:138) ~[?:?]
                at org.apache.karaf.features.internal.download.impl.DefaultFuture.notifyListener(DefaultFuture.java:350) ~[?:?]
                at org.apache.karaf.features.internal.download.impl.DefaultFuture.notifyListeners(DefaultFuture.java:335) ~[?:?]
                at org.apache.karaf.features.internal.download.impl.DefaultFuture.setValue(DefaultFuture.java:259) ~[?:?]
                at org.apache.karaf.features.internal.download.impl.AbstractDownloadTask.setFile(AbstractDownloadTask.java:61) ~[?:?]
                at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:61) ~[?:?]
                at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
                at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
                at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) ~[?:?]
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
                at java.lang.Thread.run(Thread.java:829) [?:?]
2021-09-10 12:58:30.082 [WARN ] [org.apache.felix.fileinstall        ] - Error while starting bundle: file:/usr/share/openhab/addons/org.openhab.binding.shelly-3.1.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.shelly [29]
  Unresolved requirement: Import-Package: org.openhab.core.config.core

        at org.eclipse.osgi.container.Module.start(Module.java:463) ~[org.eclipse.osgi-3.16.200.jar:?]
        at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:440) ~[org.eclipse.osgi-3.16.200.jar:?]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.6.8]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.6.8]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:520) [bundleFile:3.6.8]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.6.8]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.6.8]
2021-09-10 12:58:30.096 [WARN ] [org.apache.felix.fileinstall        ] - Error while starting bundle: file:/usr/share/openhab/addons/org.openhab.binding.speedtest-3.1.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.speedtest [30]
  Unresolved requirement: Import-Package: org.openhab.core.library.types

        at org.eclipse.osgi.container.Module.start(Module.java:463) ~[org.eclipse.osgi-3.16.200.jar:?]
        at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:440) ~[org.eclipse.osgi-3.16.200.jar:?]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.6.8]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.6.8]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:520) [bundleFile:3.6.8]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.6.8]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.6.8]

I reinstalled openhabian on a new memory card
But I still can not access openhab ui
And ssh looks like this:

What ip address did you use to ssh to the pi?

What does: systemctl status openhab.service show?

What does this command show: sudo netstat -tunlp |grep 8080

Unit openhab.service could not be found.

What does: systemctl status openhab.service show?
Unit openhab.service could not be found.
What does this command show: sudo netstat -tunlp |grep 8080
This command does not show anything

How about this command:
openhab-cli status

-bash: openhab-cli: command not found

Are you running these commands on the computer that has openhab installed on it because it looks like you are running the commands on another computer.

I use an ssh client to connect to Raspberry Pi

[/quote]

I bought a new sd card and did a new installation and this is what appears to me:

sed: can’t read /var/lib/openhab2/etc/version.properties: No such file or directory
sed: can’t read /var/lib/openhab2/etc/version.properties: No such file or directory

          Welcome to            __  _____    ____  _
        ____  ____  ___  ____  / / / /   |  / __ )(_)___ _____
       / __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __  / / __ `/ __ \
      / /_/ / /_/ /  __/ / / / __  / ___ |/ /_/ / / /_/ / / / /
      \____/ .___/\___/_/ /_/_/ /_/_/  |_/_____/_/\__,_/_/ /_/
          /_/
              openHAB  ()

Maybe it’s the pi that has corrupted and not the SD card.
Try another SD.

This won’t happen on a proper fresh install.
You didn’t use the latest image or didn’t properly follow the install instructions, then.

I finally managed to install the openhabian successfully
Unfortunately I did not make a backup before
But I have access to the old files,
which folders / files do I need to move to restore the items, things, widgets and all the settings
Most of the items and things were done through ui

Run openhab-cli backup on the old and restore on the new box.

I can not run the command on the old openhabian
openhabian@openhabian:~ $ openhab-cli backup
/usr/bin/openhab-cli: 13: /etc/default/openhab: Syntax error: word unexpected (expecting “)”)
(with sudo gives the same error)

so i try to restore from folder jsondb backup fro the old openhabian
items and the pages restored
uicomponents_ui_widget and org.openhab.core.thing.Thing have not been restored