[Support] Linuxserver.io - Nextcloud


Recommended Posts

I have Nextcloud setup in unraid. I am also trying to go through Nginx Proxy Manager and to Cloudflare but I am having troubles.

In the Nextcloud config.php what ip is supposed to go in the config for trusted proxies.

I currently have the following

  'trusted_proxies' => 
  array (
    0 => '192.168.1.90',
  ),

where 192.168.1.90 is the ip of my unraid server.

Is this ip or another supposed to go there. Out of about a dozen posts on redit and the nextcloud forum, there are lots of different suggestions.

Can somone please set me straight.

Thanks

Link to comment

I have, for months, been trying to upgrade from NC20 to NC21.  Whenever I give it another go, I always get stumped here:

 

image.png.df249bdf6639cd62844d6921039e6f57.png

 

This is what I see in the WebUI after I restart NC:

 

image.png.b4133d51f653420660eecd41e1530025.png

 

Something about OC_App.php.  I've looked everywhere for a solution to no avail.  Anybody have a solution?  Thanks in advanced!!

Edited by GitBoxer
Link to comment
4 hours ago, GitBoxer said:

I have, for months, been trying to upgrade from NC20 to NC21.  Whenever I give it another go, I always get stumped here:

 

image.png.df249bdf6639cd62844d6921039e6f57.png

 

This is what I see in the WebUI after I restart NC:

 

image.png.b4133d51f653420660eecd41e1530025.png

 

Something about OC_App.php.  I've looked everywhere for a solution to no avail.  Anybody have a solution?  Thanks in advanced!!

I don't understand why you copy your backup config to current nextcloud .

maybe config was mentioned an older version and migration script runs wrong things?

Mention all steps please but tbh. this has nothing to do with the container and probably is better to ask for help in https://help.nextcloud.com/

Link to comment
7 hours ago, GitBoxer said:

I have, for months, been trying to upgrade from NC20 to NC21.  Whenever I give it another go, I always get stumped here:

 

image.png.df249bdf6639cd62844d6921039e6f57.png

 

This is what I see in the WebUI after I restart NC:

 

image.png.b4133d51f653420660eecd41e1530025.png

 

Something about OC_App.php.  I've looked everywhere for a solution to no avail.  Anybody have a solution?  Thanks in advanced!!

I updated also month ago from NC20 to NC21 without any problem.

 

Just to get it right, you followed the instructions of the first post of a thread which is 5 years old?

This is a long time and many things have changed and improved.

 

I made a backup of all files, configs and databases and made an inplace upgrade within the NC WebGUI. Logged in as admin and upgraded to the newest version without any issue.

After this i ran the suggested commands from NC to fix some DB warnings and done.

 

no console or anything else needed.

 

Edited by Harlequin42
Link to comment

Just a weird quirk I noticed when to configuring the nextcloud container to use my postgresql database was that if you fail to enter a port number with the IP address the container locks up and you have to remove the container and manually delete the folder containing the docker files.

 

rm -rf /mnt/user/appdata/nextcloud

 

Link to comment

Hi all,

 

So suddenly neither I or the other Nextcloud admin user with an account on my unraid server cannot login through the browser or android/IOS app. I have seen other threads here with this issue but no posted solutions.

 

Can someone please point me in the right direction to troubleshoot this issue? Thanks!

Link to comment
52 minutes ago, Killabee44 said:

Hi all,

 

So suddenly neither I or the other Nextcloud admin user with an account on my unraid server cannot login through the browser or android/IOS app. I have seen other threads here with this issue but no posted solutions.

 

Can someone please point me in the right direction to troubleshoot this issue? Thanks!

Well, what does cannot login mean? Nextcloud webui not loading? It says wrong password? It says user not found?
Is there any errors? Any logs in /data/nextcloud.log?

  • Like 1
Link to comment
2 hours ago, skois said:

Well, what does cannot login mean? Nextcloud webui not loading? It says wrong password? It says user not found?
Is there any errors? Any logs in /data/nextcloud.log?

Thanks for your reply!

The nextcloud web gui does load ok. But gives me "Wrong username or password."  Same in the ios and android phone apps.

My apologies. I did not post the logs because I wasn't sure which or where they were located (kept looking in the appdata folder but wasn't finding it).

 

So, nextcloud.log is 85.5MB. Kind of ridiculous I think. Ill have to figure out how to limit it later Here is the last portion of the log:

 

{"reqId":"HBiiWGkj4IxW2xZRWOwW","level":2,"time":"2021-06-14T02:37:17+00:00","remoteAddr":"192.168.1.1","user":"--","app":"no app in context","method":"POST","url":"/login","message":"Login failed: lmari87 (Remote IP: 192.168.1.1)","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/3.4.2","version":"18.0.6.0"}
{"reqId":"sWOk3fygAaJAlXhDUHCq","level":2,"time":"2021-06-14T02:38:00+00:00","remoteAddr":"192.168.1.1","user":"--","app":"no app in context","method":"POST","url":"/login","message":"Login failed: lmari87 (Remote IP: 192.168.1.1)","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/3.4.2","version":"18.0.6.0"}
{"reqId":"iA2BTDeA3y7KgivDp6Cz","level":2,"time":"2021-06-14T02:39:18+00:00","remoteAddr":"192.168.1.1","user":"--","app":"core","method":"POST","url":"/lostpassword/email","message":"Could not send password reset email: Could not find user","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/3.4.2","version":"18.0.6.0"}
{"reqId":"6Zt6TNsJAwOdEkByldEa","level":2,"time":"2021-06-14T02:41:43+00:00","remoteAddr":"192.168.1.1","user":"--","app":"no app in context","method":"POST","url":"/login","message":"Login failed: RLogan44 (Remote IP: 192.168.1.1)","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0","version":"18.0.6.0"}
{"reqId":"HM0snBZXkRoRJvfn2ES0","level":2,"time":"2021-06-14T02:43:24+00:00","remoteAddr":"192.168.1.1","user":"--","app":"no app in context","method":"POST","url":"/login","message":"Login failed: RLogan44 (Remote IP: 192.168.1.1)","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0","version":"18.0.6.0"}
{"reqId":"9YNp3yY9iDM8j9wayWZ8","level":2,"time":"2021-06-14T02:44:50+00:00","remoteAddr":"192.168.1.1","user":"--","app":"no app in context","method":"POST","url":"/login","message":"Login failed: RLogan44 (Remote IP: 192.168.1.1)","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0","version":"18.0.6.0"}
{"reqId":"rp8G5XuURuXkDPvG8sUR","level":2,"time":"2021-06-17T05:00:24+00:00","remoteAddr":"","user":"--","app":"appstoreFetcher","method":"","url":"--","message":"Could not connect to appstore: cURL error 28: Operation timed out after 10000 milliseconds with 73738 bytes received (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)","userAgent":"--","version":"18.0.6.0"}
{"reqId":"OYIfR8zpEvQ8ij4951vk","level":2,"time":"2021-06-19T05:05:21+00:00","remoteAddr":"","user":"--","app":"appstoreFetcher","method":"","url":"--","message":"Could not connect to appstore: cURL error 28: Operation timed out after 10000 milliseconds with 1385628 bytes received (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)","userAgent":"--","version":"18.0.6.0"}
{"reqId":"Ck9PKXhwU8mpfy6nriIK","level":2,"time":"2021-06-23T16:52:22+00:00","remoteAddr":"192.168.1.1","user":"--","app":"no app in context","method":"POST","url":"/login","message":"Login failed: RLogan44 (Remote IP: 192.168.1.1)","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0","version":"18.0.6.0"}

I originally set it up using spaceinvaderone's videos. Was using letsencrypt but now using swag. This set up has been working without issues for months until now. Thanks!

Link to comment
13 hours ago, Killabee44 said:

Thanks for your reply!

The nextcloud web gui does load ok. But gives me "Wrong username or password."  Same in the ios and android phone apps.

My apologies. I did not post the logs because I wasn't sure which or where they were located (kept looking in the appdata folder but wasn't finding it).

 

So, nextcloud.log is 85.5MB. Kind of ridiculous I think. Ill have to figure out how to limit it later Here is the last portion of the log:

 


{"reqId":"HBiiWGkj4IxW2xZRWOwW","level":2,"time":"2021-06-14T02:37:17+00:00","remoteAddr":"192.168.1.1","user":"--","app":"no app in context","method":"POST","url":"/login","message":"Login failed: lmari87 (Remote IP: 192.168.1.1)","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/3.4.2","version":"18.0.6.0"}
{"reqId":"sWOk3fygAaJAlXhDUHCq","level":2,"time":"2021-06-14T02:38:00+00:00","remoteAddr":"192.168.1.1","user":"--","app":"no app in context","method":"POST","url":"/login","message":"Login failed: lmari87 (Remote IP: 192.168.1.1)","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/3.4.2","version":"18.0.6.0"}
{"reqId":"iA2BTDeA3y7KgivDp6Cz","level":2,"time":"2021-06-14T02:39:18+00:00","remoteAddr":"192.168.1.1","user":"--","app":"core","method":"POST","url":"/lostpassword/email","message":"Could not send password reset email: Could not find user","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/3.4.2","version":"18.0.6.0"}
{"reqId":"6Zt6TNsJAwOdEkByldEa","level":2,"time":"2021-06-14T02:41:43+00:00","remoteAddr":"192.168.1.1","user":"--","app":"no app in context","method":"POST","url":"/login","message":"Login failed: RLogan44 (Remote IP: 192.168.1.1)","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0","version":"18.0.6.0"}
{"reqId":"HM0snBZXkRoRJvfn2ES0","level":2,"time":"2021-06-14T02:43:24+00:00","remoteAddr":"192.168.1.1","user":"--","app":"no app in context","method":"POST","url":"/login","message":"Login failed: RLogan44 (Remote IP: 192.168.1.1)","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0","version":"18.0.6.0"}
{"reqId":"9YNp3yY9iDM8j9wayWZ8","level":2,"time":"2021-06-14T02:44:50+00:00","remoteAddr":"192.168.1.1","user":"--","app":"no app in context","method":"POST","url":"/login","message":"Login failed: RLogan44 (Remote IP: 192.168.1.1)","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0","version":"18.0.6.0"}
{"reqId":"rp8G5XuURuXkDPvG8sUR","level":2,"time":"2021-06-17T05:00:24+00:00","remoteAddr":"","user":"--","app":"appstoreFetcher","method":"","url":"--","message":"Could not connect to appstore: cURL error 28: Operation timed out after 10000 milliseconds with 73738 bytes received (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)","userAgent":"--","version":"18.0.6.0"}
{"reqId":"OYIfR8zpEvQ8ij4951vk","level":2,"time":"2021-06-19T05:05:21+00:00","remoteAddr":"","user":"--","app":"appstoreFetcher","method":"","url":"--","message":"Could not connect to appstore: cURL error 28: Operation timed out after 10000 milliseconds with 1385628 bytes received (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)","userAgent":"--","version":"18.0.6.0"}
{"reqId":"Ck9PKXhwU8mpfy6nriIK","level":2,"time":"2021-06-23T16:52:22+00:00","remoteAddr":"192.168.1.1","user":"--","app":"no app in context","method":"POST","url":"/login","message":"Login failed: RLogan44 (Remote IP: 192.168.1.1)","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0","version":"18.0.6.0"}

I originally set it up using spaceinvaderone's videos. Was using letsencrypt but now using swag. This set up has been working without issues for months until now. Thanks!

https://docs.nextcloud.com/server/19/admin_manual/configuration_user/reset_admin_password.html
You could try that. 

In the logs above there isn't much to use, other than you tried and failed to login.

Here is another post for things to check https://help.nextcloud.com/t/cannot-login-to-nextcloud-with-correct-admin-password-and-no-browser-errors/85892/5

  • Like 1
Link to comment
13 hours ago, skois said:

https://docs.nextcloud.com/server/19/admin_manual/configuration_user/reset_admin_password.html
You could try that. 

In the logs above there isn't much to use, other than you tried and failed to login.

Here is another post for things to check https://help.nextcloud.com/t/cannot-login-to-nextcloud-with-correct-admin-password-and-no-browser-errors/85892/5

Tried your links but have not been able to reset the pw. Keep getting errors saying that the user does not exist.

Edit:

I removed the docker and re-installed it with the same settings but still getting the same error. Thanks for your help.

Edited by Killabee44
Link to comment
5 hours ago, Killabee44 said:

Tried your links but have not been able to reset the pw. Keep getting errors saying that the user does not exist.

Edit:

I removed the docker and re-installed it with the same settings but still getting the same error. Thanks for your help.

Reinstalling sometimes help if you configure the setting again but reinstalling using the same config files and hoping something would change is mostly not working out.


What is with this? Did you get an error? What happened?

 

$ sudo -u www-data php /var/www/nextcloud/occ user:resetpassword admin
Enter a new password:
Confirm the new password:
Successfully reset password for admin

 

maybe try a simpler password with less or no special character, you can change it later.

I think I had a similar issue somewhen (not sure if it was Nextcloud User or mariadb user) and figured out some character didn’t work. 

Edited by Harlequin42
Link to comment

hi, can anyone please help with this fix, i did a update to nexcloud 20.0.11 and i get this error

Some files have not passed the integrity check

Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.

Results
=======
- contacts
    - INVALID_HASH
        - appinfo/app.php

Raw output
==========
Array
(
    [contacts] => Array
        (
            [INVALID_HASH] => Array
                (
                    [appinfo/app.php] => Array
                        (
                            [expected] => ecd6dbda1c2759006a6f2c43856bcfeb64274d4f5e8a0821f4aef9adbfa835d01d4d90143cf8960b7e2e70d6eca0cf444a244b3d06bc861067a852575799410e
                            [current] => 73c10c4bdef249f3b59e97a3992270e01bdd0aa547b715909fe8822a35f9e9423a81654eeca571c1cc1c83acab5ca4052d96f387df1cf869ce442c3da3499cc2

 

any idea on how i can fix this please

Link to comment
On 1/7/2021 at 1:51 PM, skois said:

Note to everyone.. DO NOT UPDATE collabora docker. For some reason it does not work when updated. Poked a bit in the xml config file, and saw some changes in the domains. Instead of the domains i had in docker template it was listing "localhost". Tried to copy the config from the previous docker version but still didn't work.

In case you updated and now it doesn't work for you. Open docker template and change repository field from "collabora/code" to "collabora/code:6.4.2.2"

Collabora stopped working for me after updating the container. I spent most of the day trying to fix, uninstall, re-install the container. looking at config files. This fixed it for me. Why does this happen? Where did you find the answer?

 

And thank you!

Link to comment
8 minutes ago, elco1965 said:

Collabora stopped working for me after updating the container. I spent most of the day trying to fix, uninstall, re-install the container. looking at config files. This fixed it for me. Why does this happen? Where did you find the answer?

 

And thank you!

I don't really remember where I saw it. But now I'm puzzled :D 
Did you upgraded to 6.4.10, and it works? 
Because I upgraded to 6.4.10 and looks like is totally broken :D (At least when trying to open a file within NC.

Link to comment

Skois, I see quote above about not update Collabora; sure as fire mine didn’t work. I see where your quoted saying go back to 6.4.2.2; I did, it worked. When was that post made by you? Can’t seem to find its origination. Has anyone figured out what’s wrong with 6.4.10 yet by chance?

Do any versions after 6.4.2.2 work before getting all the way to the broke 6.4.10?

Link to comment
6 hours ago, blaine07 said:

Skois, I see quote above about not update Collabora; sure as fire mine didn’t work. I see where your quoted saying go back to 6.4.2.2; I did, it worked. When was that post made by you? Can’t seem to find its origination. Has anyone figured out what’s wrong with 6.4.10 yet by chance?

Do any versions after 6.4.2.2 work before getting all the way to the broke 6.4.10?

6.4.9.3 works fine and i can say have become faster!
About 6.4.10, i can't figure it out, but i made a post in their forums today, waiting for reply
https://forum.collaboraonline.com/t/code-6-4-10-docker-nextcloud-not-working/440

*The post from the fix after 6.4.2.2 was a ~5 months back :D

Edited by skois
  • Like 1
Link to comment
6.4.9.3 works fine and i can say have become faster!
About 6.4.10, i can't figure it out, but i made a post in their forums today, waiting for reply
https://forum.collaboraonline.com/t/code-6-4-10-docker-nextcloud-not-working/440

*The post from the fix after 6.4.2.2 was a ~5 months back

So at moment it IS safe to change tag to 6.4.9.3 for now?

Can you please keep us posted on your findings with them, Please? :-)

Edit: thank you man; appreciate it!!! All the thanks.
  • Like 1
Link to comment

So at moment it IS safe to change tag to 6.4.9.3 for now?

Can you please keep us posted on your findings with them, Please? :-)
Yes, 6.4.9.3 is safe and working.
If I forget to post here what is the problem with 6.4.10, make sure you follow the link I posted

Sent from my Mi 10 Pro using Tapatalk

  • Like 1
Link to comment
On 1/16/2020 at 6:32 PM, Bob1215 said:

I kept getting a 504 code when attempting to update form the webUI. Now I can't access nextcloud at all. I posted and issue here

 

Expected Behavior
When navigating to the NextCloud instance through the web browser, the application should be shown.

 

Current Behavior
The following message is shown "Update in process." and has persisted for multiple hours, including after reboot and using multiple browsers (FireFox ESR and Brave Browser)

 

Steps to Reproduce
1. Open web browser
2. Type in NextCloud URL
3. See message

 

Environment
OS:      unRAID 6.8.0
CPU architecture: x86_64

Docker logs


[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 10-adduser: executing...

-------------------------------------
          _         ()
         | |  ___   _    __
         | | / __| | |  /  \
         | | \__ \ | | | () |
         |_| |___/ |_|  \__/


Brought to you by linuxserver.io
We gratefully accept donations at:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

User uid:    1000
User gid:    100
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 20-config: executing...
[cont-init.d] 20-config: exited 0.
[cont-init.d] 30-keygen: executing...
using keys found in /config/keys
[cont-init.d] 30-keygen: exited 0.
[cont-init.d] 40-config: executing...
[cont-init.d] 40-config: exited 0.
[cont-init.d] 50-install: executing...
[cont-init.d] 50-install: exited 0.
[cont-init.d] 60-memcache: executing...
[cont-init.d] 60-memcache: exited 0.
[cont-init.d] 99-custom-files: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-files: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Could not open input file: /config/www/nextcloud/cron.php
Could not open input file: /config/www/nextcloud/cron.php
....

....

....
Could not open input file: /config/www/nextcloud/cron.php
Could not open input file: /config/www/nextcloud/cron.php
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 10-adduser: executing...
usermod: no changes

-------------------------------------
          _         ()
         | |  ___   _    __
         | | / __| | |  /  \
         | | \__ \ | | | () |
         |_| |___/ |_|  \__/


Brought to you by linuxserver.io
We gratefully accept donations at:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

User uid:    1000
User gid:    100
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 20-config: executing...
[cont-init.d] 20-config: exited 0.
[cont-init.d] 30-keygen: executing...
using keys found in /config/keys
[cont-init.d] 30-keygen: exited 0.
[cont-init.d] 40-config: executing...
[cont-init.d] 40-config: exited 0.
[cont-init.d] 50-install: executing...
[cont-init.d] 50-install: exited 0.
[cont-init.d] 60-memcache: executing...
[cont-init.d] 60-memcache: exited 0.
[cont-init.d] 99-custom-files: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-files: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Could not open input file: /config/www/nextcloud/cron.php
Could not open input file: /config/www/nextcloud/cron.php
Could not open input file: /config/www/nextcloud/cron.php
Could not open input file: /config/www/nextcloud/cron.php

 

 

Do you remember how you fixed this? I am trying to update and I'm experiencing the exact same. 

Link to comment
On 5/20/2021 at 6:33 AM, Jessie said:

I presume you are talking about updating nextcloud itself vs updating the docker in unraid.

I'm also going to guess you are going to v21 from 20

In unraid open a console from the nextcloud icon

Then run these commands one at a time.

sudo -u abc php /config/www/nextcloud/occ db:add-missing-indices
sudo -u abc php /config/www/nextcloud/occ db:convert-filecache-bigint

sudo -u abc php /config/www/nextcloud/occ db:add-missing-columns
sudo -u abc php /config/www/nextcloud/occ db:add-missing-primary-keys

 

Then

sudo -u abc php /config/www/nextcloud/occ maintenance:repair

then

sudo -u abc php /config/www/nextcloud/occ upgrade

then

sudo -u abc php /config/www/nextcloud/occ maintenance:repair

(again for good measure)

Then turn maintenance mode off

sudo -u abc php /config/www/nextcloud/occ maintenance:mode --off

Then see if you can get back to the logon screen

 

I'm having major issues getting Nextcloud to update. I tried to update through the GUI and eventually had to restore my appdata from a backup as Nextcloud became inoperable. Now I'm trying through the CLI. Option 2 from the first page of this forum results in:

Step 6 is currently in process. Please call this command later.

 So, I tried Option 3 (manual upgrade using occ) when I run the perform upgrade step, I am presented with:

Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Setting log level to debug
Turned on maintenance mode
Exception: Updates between multiple major versions and downgrades are unsupported.
Update failed
Maintenance mode is kept active
Resetting log level

Then I found your post and I tried the first command you mention and I get:

sudo: unknown user: abc
sudo: unable to initialize policy plugin

It seems way too complicated to update Nextcloud. Any idea what my options are now? 

Link to comment
On 6/27/2021 at 3:29 AM, Harlequin42 said:

Reinstalling sometimes help if you configure the setting again but reinstalling using the same config files and hoping something would change is mostly not working out.


What is with this? Did you get an error? What happened?

 


$ sudo -u www-data php /var/www/nextcloud/occ user:resetpassword admin
Enter a new password:
Confirm the new password:
Successfully reset password for admin

 

maybe try a simpler password with less or no special character, you can change it later.

I think I had a similar issue somewhen (not sure if it was Nextcloud User or mariadb user) and figured out some character didn’t work. 

Hi,

 

Yes I tried the resetpassword and the error I get is:

sudo: unknown user: yourusername
sudo: error initializing audit plugin sudoers_audit

 

So I am still at a loss as to what is going on. Thanks!

 

 

Link to comment
On 7/2/2021 at 8:24 AM, Danuel said:

hi, can anyone please help with this fix, i did a update to nexcloud 20.0.11 and i get this error

Some files have not passed the integrity check

Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.

Results
=======
- contacts
    - INVALID_HASH
        - appinfo/app.php

Raw output
==========
Array
(
    [contacts] => Array
        (
            [INVALID_HASH] => Array
                (
                    [appinfo/app.php] => Array
                        (
                            [expected] => ecd6dbda1c2759006a6f2c43856bcfeb64274d4f5e8a0821f4aef9adbfa835d01d4d90143cf8960b7e2e70d6eca0cf444a244b3d06bc861067a852575799410e
                            [current] => 73c10c4bdef249f3b59e97a3992270e01bdd0aa547b715909fe8822a35f9e9423a81654eeca571c1cc1c83acab5ca4052d96f387df1cf869ce442c3da3499cc2

 

any idea on how i can fix this please

 

 

anyone any fix ?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.