Open AlBundy33 opened 2 weeks ago
Does the user you logged into cockpit as have administrative access (e.g. a sudoer)? Check the top right part of the cockpit window to see if it says "Administrative access" or " :lock: Limited access"
yes, of course - downgrading to the previous version works as expected (no error message and global settings are visible)
in terminal I can run net conf commands without error.
@AlBundy33 same issue here with debian 12 on bare metal, which version did you use to get rid of the error?
on rocky the latest working version is 3.3.7-1
on rocky the latest working version is 3.3.7-1
This worked for me on Alma Linux 9.4 as well.
Needed to block updates to the package to prevent pulling back in 4.2.5 (until new features are fully functional in a few weeks)
wget https://github.com/45Drives/cockpit-file-sharing/releases/download/v3.3.7/cockpit-file-sharing-3.3.7-1.el8.noarch.rpm sudo dnf install -y cockpit-file-sharing-3.3.7-1.el8.noarch.rpm
cp /etc/dnf/dnf.conf /etc/dnf/dnf.conf.bak #backup the original dnf config file if ! grep -q '^exclude=cockpit-file-sharing' /etc/dnf/dnf.conf; then echo 'exclude=cockpit-file-sharing' | sudo tee -a /etc/dnf/dnf.conf > /dev/null fi
# exclude=cockpit-file-sharing
I was having the same issue. The exact same error when opening the samba page, and no global settings available for configuration in the gui. Rolling back to 3.3.7 worked for me as well. Logged in as root on brand new LXC container in proxmox.
The same problem also occurred on Ubuntu 24.04.1 LTS. This is my solution. I hope it will be helpful to those in need.
Steps to solve the error problem of cockpit-file-sharing plugin version 4.2.5. Affected plug-in version: Cockpit File Sharing 4.2.5
Error message: ProcessError (exited non-zero) localhost: net: (255)
Solution steps:
The terminal returns the following information: ubuntu:~$ sudo apt list -a cockpit-file-sharing Listing... Done cockpit-file-sharing/focal,now 4.2.5-2focal all [installed] cockpit-file-sharing/focal 4.2.5-1focal all cockpit-file-sharing/focal 3.3.7-1focal all cockpit-file-sharing/focal 3.3.6-1focal all cockpit-file-sharing/focal 3.3.5-1focal all
According to the output, there are multiple versions of cockpit-file-sharing available in the system. The currently installed version is 4.2.5-2focal
Uninstall the current version sudo apt remove cockpit-file-sharing
Install the specified version sudo apt install cockpit-file-sharing=3.3.7-1focal
Verify the installation sudo apt list --installed cockpit-file-sharing
The terminal returns the following information: ubuntu:~$ sudo apt list --installed cockpit-file-sharing Listing... Done cockpit-file-sharing/focal,now 3.3.7-1focal all [installed,upgradable to: 4.2.5-2focal] N: There are 30 additional versions. Please use the '-a' switch to see them.
The 3.3.7-1focal version has been successfully installed, and the system also prompts that a new version is available (4.2.5-2focal). Since there is a problem with the current version 4.2.5, you can lock the current version to avoid automatic upgrade to 4.2.5.
Lock the current version: sudo apt-mark hold cockpit-file-sharing
Confirm the lock. You can run the following command to confirm that it has been locked: sudo apt-mark showhold
If the problem is solved in the future and you want to upgrade again, just run the following command to unlock: sudo apt-mark unhold cockpit-file-sharing
The same problem also occurred on Ubuntu 24.04.1 LTS. This is my solution. I hope it will be helpful to those in need.
Steps to solve the error problem of cockpit-file-sharing plugin version 4.2.5. Affected plug-in version: Cockpit File Sharing 4.2.5
Error message: ProcessError (exited non-zero) localhost: net: (255)
Solution steps:
- Query the available plug-in version sudo apt list -a cockpit-file-sharing
The terminal returns the following information: ubuntu:~$ sudo apt list -a cockpit-file-sharing Listing... Done cockpit-file-sharing/focal,now 4.2.5-2focal all [installed] cockpit-file-sharing/focal 4.2.5-1focal all cockpit-file-sharing/focal 3.3.7-1focal all cockpit-file-sharing/focal 3.3.6-1focal all cockpit-file-sharing/focal 3.3.5-1focal all
According to the output, there are multiple versions of cockpit-file-sharing available in the system. The currently installed version is 4.2.5-2focal
- Uninstall the current version sudo apt remove cockpit-file-sharing
- Install the specified version sudo apt install cockpit-file-sharing=3.3.7-1focal
- Verify the installation sudo apt list --installed cockpit-file-sharing
The terminal returns the following information: ubuntu:~$ sudo apt list --installed cockpit-file-sharing Listing... Done cockpit-file-sharing/focal,now 3.3.7-1focal all [installed,upgradable to: 4.2.5-2focal] N: There are 30 additional versions. Please use the '-a' switch to see them.
The 3.3.7-1focal version has been successfully installed, and the system also prompts that a new version is available (4.2.5-2focal). Since there is a problem with the current version 4.2.5, you can lock the current version to avoid automatic upgrade to 4.2.5.
- Lock the current version: sudo apt-mark hold cockpit-file-sharing
- Confirm the lock. You can run the following command to confirm that it has been locked: sudo apt-mark showhold
- If the problem is solved in the future and you want to upgrade again, just run the following command to unlock: sudo apt-mark unhold cockpit-file-sharing
Isnt this just installing an older version to fix the issue temporarily?
The same problem also occurred on Ubuntu 24.04.1 LTS. This is my solution. I hope it will be helpful to those in need.
Steps to solve the error problem of cockpit-file-sharing plugin version 4.2.5. Affected plug-in version: Cockpit File Sharing 4.2.5
Error message: ProcessError (exited non-zero) localhost: net: (255)
Solution steps:
- Query the available plug-in version sudo apt list -a cockpit-file-sharing
The terminal returns the following information: ubuntu:~$ sudo apt list -a cockpit-file-sharing Listing... Done cockpit-file-sharing/focal,now 4.2.5-2focal all [installed] cockpit-file-sharing/focal 4.2.5-1focal all cockpit-file-sharing/focal 3.3.7-1focal all cockpit-file-sharing/focal 3.3.6-1focal all cockpit-file-sharing/focal 3.3.5-1focal all
According to the output, there are multiple versions of cockpit-file-sharing available in the system. The currently installed version is 4.2.5-2focal
- Uninstall the current version sudo apt remove cockpit-file-sharing
- Install the specified version sudo apt install cockpit-file-sharing=3.3.7-1focal
- Verify the installation sudo apt list --installed cockpit-file-sharing
The terminal returns the following information: ubuntu:~$ sudo apt list --installed cockpit-file-sharing Listing... Done cockpit-file-sharing/focal,now 3.3.7-1focal all [installed,upgradable to: 4.2.5-2focal] N: There are 30 additional versions. Please use the '-a' switch to see them.
The 3.3.7-1focal version has been successfully installed, and the system also prompts that a new version is available (4.2.5-2focal). Since there is a problem with the current version 4.2.5, you can lock the current version to avoid automatic upgrade to 4.2.5.
- Lock the current version: sudo apt-mark hold cockpit-file-sharing
- Confirm the lock. You can run the following command to confirm that it has been locked: sudo apt-mark showhold
- If the problem is solved in the future and you want to upgrade again, just run the following command to unlock: sudo apt-mark unhold cockpit-file-sharing
Isnt this just installing an older version to fix the issue temporarily?
Yes, fix the problem by installing an older version. If you need to use the new feature iSCSI, this is not a good solution.
Bug Info
Describe the bug Installed latest version in Rocky 9.4 with cockpit 311.2 and now I get this error when opening the samba-page
this is a new lxc container - so I don't have any shares configured