What type of hardware are you using: Old laptop or computer What YunoHost version are you running: 12.1.17.1 (stable) What app is this about: cockpit
Describe your issue
I’ve been raving about self hosting with YNH to my friends and family as I’m such a big fan! Consequently some have now asked me to prepare a server for their use, in return I have asked them to make a one-off donation to YNH. In building this latest one for my son I installed Cockpit but then needed to remove it and re-install it, I mistakenly ran an archive restore but got the wrong file and it failed. After removing the Cockpit app via the web UI I am unable to re-install a clean version. It still thinks that Cockpit is installed and of course you can only install one copy of this app at a time. Is there a directory or a file somewhere that I need to delete to ensure it knows the app has been removed? Any advice or guidance welcomed and appreciated as ever. Cheers, Neil.
Share relevant logs or error messages
I dont get any logs, just the statement that Cockpit is still installed,
You have fixed my problem, many thanks but I do have a related side question. When I try to open Cockpit on this new server, it asks me to login with server credentials, which is expected but it never recognises them. I know th id and password are correct and I have made sure the user is in the allowed groups. Could this be related to me installing this app on a local domain rather than a ‘real’ one?
I fixed it. I compared my working server settings with the settings of the new YNH server I was creating. Cockpit worked fine on the former but not on the new one. The only difference was a YNH setting on the App page for Cockpit. In the section where “Group/Users allowed to access” are set. The working version only had one group “all_users”. The new server also had “admins” and “visitors” included. I removed the latter two and BINGO, it all started working perfectly. Seems odd that removing two groups makes it work better, seems counter intuative to me but for the record the answer is to just have “all_users” set and no others. Looks like the YNH Cockpit install adds the extra groups that are not necessary. It could be a bug as I’m sure the install did not do that in the past.
Thanks,
Neil.