cockpit-project / cockpit

Cockpit is a web-based graphical interface for servers.
http://www.cockpit-project.org/
GNU Lesser General Public License v2.1
11.23k stars 1.11k forks source link

Cockpit-Client: when connecting to Raspbian: >>>... #18934

Open garrett opened 1 year ago

garrett commented 1 year ago

Explain what happens

Issue when connecting to Raspbian:

~ ❱ flatpak run --branch=beta --env=COCKPIT_DEBUG=all org.cockpit_project.CockpitClient
/app/bin/cockpit-client:226: DeprecationWarning: WebKit2.WebsiteDataManager.get_local_storage_directory is deprecated
  cookiesPath = os.path.join(data_manager.get_local_storage_directory(), "cookies.txt")
Failed to create /var/home/garrett/.var/app/org.cockpit_project.CockpitClient/cache for shader cache (No such file or directory)---disabling.
Failed to create /var/home/garrett/.var/app/org.cockpit_project.CockpitClient/cache for shader cache (No such file or directory)---disabling.

** (cockpit-client:2): WARNING **: 15:10:10.576: atk-bridge: get_device_events_reply: unknown signature
asyncio-DEBUG: Using selector: EpollSelector
__main__-DEBUG: Hi. How are you today?
cockpit.router-DEBUG: Freezing endpoint <__main__.SshPeer object at 0x7f0d6967cfd0>
cockpit.transports-DEBUG: Created transport <cockpit.transports.StdioTransport object at 0x7f0d69687900> for protocol <__main__.SshBridge object at 0x7f0d6967d0c0>, fds 0 1
cockpit.protocol-DEBUG: connection_made(<cockpit.transports.StdioTransport object at 0x7f0d69687900>)
cockpit.beipack-DEBUG: Got pre-built cockpit-bridge.beipack.xz
__main__-DEBUG: Checking if /var/home/garrett/.var/app/org.cockpit_project.CockpitClient/cache/cockpit-client-askpass exists...
__main__-DEBUG: Launching command: cmd=('flatpak-spawn', '--host', '--env=SSH_ASKPASS=/var/home/garrett/.var/app/org.cockpit_project.CockpitClient/cache/cockpit-client-askpass', '--env=DISPLAY=x', '--env=SSH_ASKPASS_REQUIRE=force', 'ssh', 'pi@pihole', "python3 -ic '# cockpit-bridge'") env=()
cockpit.transports-DEBUG: Created transport <cockpit.transports.SubprocessTransport object at 0x7f0d696aad40> for protocol <__main__.SshPeer object at 0x7f0d6967cfd0>, fds 10 9
cockpit.protocol-DEBUG: connection_made(<cockpit.transports.SubprocessTransport object at 0x7f0d696aad40>)
__main__-DEBUG: Scanning for manifest files under /var/home/garrett/.var/app/org.cockpit_project.CockpitClient/data
__main__-DEBUG: Scanning for manifest files under /app/share
__main__-DEBUG: Considering file /app/share/cockpit/apps/manifest.json
__main__-DEBUG: Considering file /app/share/cockpit/base1/manifest.json
__main__-DEBUG: Considering file /app/share/cockpit/cockpit-ostree/manifest.json
__main__-DEBUG: Considering file /app/share/cockpit/kdump/manifest.json
__main__-DEBUG: Considering file /app/share/cockpit/machines/manifest.json
__main__-DEBUG: Considering file /app/share/cockpit/metrics/manifest.json
__main__-DEBUG: Considering file /app/share/cockpit/networkmanager/manifest.json
__main__-DEBUG: Considering file /app/share/cockpit/packagekit/manifest.json
__main__-DEBUG: Considering file /app/share/cockpit/playground/manifest.json
__main__-DEBUG: Considering file /app/share/cockpit/podman/manifest.json
__main__-DEBUG: Considering file /app/share/cockpit/selinux/manifest.json
__main__-DEBUG: Considering file /app/share/cockpit/shell/manifest.json
__main__-DEBUG: Considering file /app/share/cockpit/sosreport/manifest.json
__main__-DEBUG: Considering file /app/share/cockpit/static/manifest.json
__main__-DEBUG: Considering file /app/share/cockpit/storaged/manifest.json
__main__-DEBUG: Considering file /app/share/cockpit/systemd/manifest.json
__main__-DEBUG: Considering file /app/share/cockpit/users/manifest.json
__main__-DEBUG: Scanning for manifest files under /usr/share
__main__-DEBUG: Scanning for manifest files under /usr/share/runtime/share
__main__-DEBUG: Scanning for manifest files under /run/host/user-share
__main__-DEBUG: Scanning for manifest files under /run/host/share
cockpit.transports-DEBUG: Read ready on <cockpit.transports.SubprocessTransport object at 0x7f0d696aad40> <__main__.SshPeer object at 0x7f0d6967cfd0> 10
cockpit.transports-DEBUG:   got EOF
cockpit.peer-DEBUG: Peer SshPeer received unexpected EOF
cockpit.transports-DEBUG: Process exited with status 255
cockpit.peer-DEBUG: Peer SshPeer exited, status 255
cockpit.protocol-DEBUG: connection_lost
cockpit.transports-DEBUG: won't attempt Signals.SIGTERM to process 57.  It exited already.
cockpit.peer-DEBUG: Peer SshPeer connection lost <class 'cockpit.peer.PeerExited'> 255
cockpit.router-DEBUG: shutdown_endpoint(<__main__.SshPeer object at 0x7f0d6967cfd0>, {'problem': 'terminated', 'message': 'Peer exited with status 255'}) will close set()
cockpit.transports-DEBUG: won't attempt Signals.SIGTERM to process 57.  It exited already.
>>> >>> >>> >>> >>> >>> ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...
dpkg --list | grep -i cockpit
ii  cockpit                        239-1~bpo10+1                       all          Web Console for Linux servers
ii  cockpit-bridge                 239-1~bpo10+1                       armhf        Cockpit bridge server-side component
ii  cockpit-networkmanager         239-1~bpo10+1                       all          Cockpit user interface for networking
ii  cockpit-packagekit             239-1~bpo10+1                       all          Cockpit user interface for packages
ii  cockpit-storaged               239-1~bpo10+1                       all          Cockpit user interface for storage
ii  cockpit-system                 239-1~bpo10+1                       all          Cockpit admin interface for a system
ii  cockpit-ws                     239-1~bpo10+1                       armhf        Cockpit Web Service

Version of Cockpit

No response

Where is the problem in Cockpit?

None

Server operating system

other

Server operating system version

Raspbian 10

What browsers are you using?

Cockpit Client / Cockpit Desktop

System log

No response

garrett commented 1 year ago

Once I removed Cockpit (the old 239 version), then it would send the payload over and work.