[11:01:52]
<Fritjof> my nexcloud-app upgrade failed.
What has gone wrong and how do I go about un-wronging it?
Here is the log: https://paste.yunohost.org/raw/uziwolomuq
[11:05:56]
<Aleks (he/him/il/lui)> >Error: App "Splash" cannot be installed because the following dependencies are not fulfilled: Server version 28 or lower is required.
[11:06:12]
<Aleks (he/him/il/lui)> the app 'Slash' aint compatible with Nextcloud 29
[11:06:17]
<Aleks (he/him/il/lui)> Splash*
[11:06:32]
<Fritjof> I didn't know I had such an app.
[11:07:00]
<Fritjof> > <@Alekswag:matrix.org> Splash*
do I just ssh in and remove it from www ?
[11:07:19]
<Aleks (he/him/il/lui)> you should rather do it from Nextcloud's admin interface
[11:19:31]
<Fritjof> the page is still showing: Internal Server Error
The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.
[11:20:16]
<Fritjof> It only lets me actiovate/de-activate maintenance mode. Not mess with any apps
[11:20:41]
<Aleks (he/him/il/lui)> not sure you're realling looking at Nextcloud's admin interface ... I mean Nextcloud has an admin interface - not the config panel for Nextcloud in *Yunohost*'s interface
[11:20:55]
<Fritjof> ah - sorry!
[11:22:00]
<Fritjof> but I can't get in to that one now. I just get: Internal Server Error
The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.
[11:22:20]
<Fritjof> just tried in a new broser, and got the same after the initial login-window
[11:22:37]
<Aleks (he/him/il/lui)> 😐️
[11:23:00]
<Aleks (he/him/il/lui)> can you try reverting the "maintenance mode" thing ?
[11:24:45]
<Fritjof> already did that. it got me the login window, but no further.
[11:25:14]
<Fritjof> Also, in /var/www/nextcloud/apps/ i can't find anything other than unsplash, with the name splash
[14:19:22]
<p> hi all, getting an error trying to upgrade Synapse - 'the URL is unavailable or conflicts with already installed apps' - for whatever reason right now Synapse is listening on my tld which i don't know how to fix
[16:30:47]
<Fritjof> > <@fritjof:deepfunk.dk> my nexcloud-app upgrade failed.
> What has gone wrong and how do I go about un-wronging it?
> Here is the log: https://paste.yunohost.org/raw/uziwolomuq
What do I do when I can't find the app Splash to uninstall/deactivate under /var/www/Nextcloud/apps ?
[16:35:14]
<Aleks (he/him/il/lui)> you're not supposed to yolo-rm files manually, you're supposed to disable/uninstall it from nextcloud's admin interface...
[16:36:46]
<Fritjof> > <@Alekswag:matrix.org> you're not supposed to yolo-rm files manually, you're supposed to disable/uninstall it from nextcloud's admin interface...
OK, but what if I can't get to that because of maintenance mode not being able to being shut off?
[16:36:57]
<Aleks (he/him/il/lui)> then first we should fix the maintenance mode issue ...
[16:38:20]
<Aleks (he/him/il/lui)> can you run `sudo yunohost app shell nextcloud` and then `php occ maintenance:mode --off` ?
[16:40:57]
<Fritjof> yes, and it gets me no changes to the message of internal server error
[16:41:29]
<Fritjof> it just says:
Maintenance mode already disabled -
in the app shell
[16:50:19]
<Aleks (he/him/il/lui)> mokay so it's not a maintenance mode, it's an internal server error ... let's check `sudo tail -n 30 /home/yunohost.app/nextcloud/data/nextcloud.log` to try to obtain the error message soup
[16:52:02]
<Fritjof> sorry. In the meantime, I actually did "yolo rm" the unsplash app from my nextcloud, and re-ran the update, and now it works.
But will still try to discover what went wrong with maintenance mode, since it's not the first nor second time I've had issues
[16:58:43]
<Aleks (he/him/il/lui)> @_@
[17:15:24]
<Anmol> I am unable to get the permissions to the admins group for my account after restoring my server. Earlier I was the admins group(before restore), and the admin web shows that I am in the admin group(I can even login to admin web ). If I add app permission to my username from admin web it works. But when I try to login from the ssh, I am unable to login. What can I do here?
[17:15:41]
<Anmol> I am thinking of deleting my account and restoring it.
[17:16:10]
<Anmol> but how can retain all my mail-allias and the mails, permissions.
[17:16:15]
<Aleks (he/him/il/lui)> ... as discussed on the forum, this is related to the confusion with the pre-existing unix account with the same name ...
[17:16:44]
<Anmol> > <@Alekswag:matrix.org> ... as discussed on the forum, this is related to the confusion with the pre-existing unix account with the same name ...
Ok, can I change the uid to previous Yuno?
[17:17:03]
<Aleks (he/him/il/lui)> why would you want to change the uid ?
[17:17:23]
<Aleks (he/him/il/lui)> you just need to delete the pre-exiting unix user which is creating the confusion ..
[17:19:10]
<Anmol> so, you mean that I should delete the unix user, and then everything would work? or do I need to delete both UNIX and the YUNO user and then recreate the user?
[17:37:43]
<Aleks (he/him/il/lui)> just the unix user
[17:38:44]
<Aleks (he/him/il/lui)> i think that would ~roughly work, there might be some stuff that sort of broke such as if some piece of code ran `chown $user` because then `$user` is ambiguous as it could refer to either the unix user or ldap user ..
[17:40:34]
<Anmol> I deleted the unix user....... and😱
[17:40:40]
<Anmol> https://aria.im/_matrix/media/v1/download/im.anmol.net.in/CPQpuLZuJGKMXJUonhMPMiOr
[17:40:51]
<Anmol> all the permissons are gone.
[17:41:28]
<Anmol> What should I do? recreate the user ?
[17:44:20]
<Anmol> ok, I recreated the user in unix and deleted again. But some how magicaly the permissions are back.
[17:44:51]
<Anmol> `sudo userdel anmol
userdel: user 'anmol' does not exist`
[17:45:29]
<Anmol> now the user is not there. But problem is still there. I am not able to login through ssh.
[17:47:18]
<Aleks (he/him/il/lui)> does `groups anmol` list the admins group ?
[17:47:46]
<Anmol> groups anmol
anmol : anmol
[17:47:46]
<Anmol> no
[17:47:57]
<Anmol> it only has anmol as a group
[17:50:51]
<Anmol> I am trying to add the groups from admin web but its not working. The admin web shows I am admin. I can login to admin web, but cannot ssh.
[17:51:57]
<Aleks (he/him/il/lui)> and to double check that the unix user doesnt exists anymore : `grep anmol /etc/passwd` returns nothing, right ?
[17:52:55]
<Anmol> now,
`grep anmol /etc/passwd` is empty.
[17:54:13]
<Aleks (he/him/il/lui)> maybe let's run `nscd -i groups` and `nscd -i passwd` to clear the system user cache
[17:54:18]
<Aleks (he/him/il/lui)> and retry `groups anmol`
[17:56:20]
<Anmol> `nscd -i groups` and `nscd -i passwd` are empty and `groups anmol` has `anmol : anmol`
[17:56:34]
<Aleks (he/him/il/lui)> @_@
[17:56:47]
<Aleks (he/him/il/lui)> in doubt, reboot then
[17:56:54]
<Anmol> ok brb
[17:58:49]
<Aleks (he/him/il/lui)> (just to be clear i meant the server, not your computer)
[18:00:01]
<Anmol> 😅 everything worksss
[18:00:14]
<Anmol> > <@Alekswag:matrix.org> (just to be clear i meant the server, not your computer)
of course
[18:00:22]
<Anmol> 😄
[18:00:37]
<Anmol> reboot worked...all groups are back.
[18:00:41]
<Anmol> Thanks
[18:00:53]
<Aleks (he/him/il/lui)> 👌
[18:37:36]
<philientaylor> Yay, Anmol: and Aleks (he/him/il/lui): and Yuno 😊