Insufficient data: No login credentials saved

When I connect the AD domain controller and NAS in NextCloud, I am unable to collaboratively edit files when my authentication uses login credentials saved in the database. Additionally, in the background, I can see the message “No login credentials saved”, which is undoubtedly a bug. How can I solve this?

Hello @RORZE,
welcome to the community of Nextcloud :handshake:

You started a topic in support category. Unfortunately you ignored the template and a lot of information to help you is missing. Please edit your original post and add all required details like Nextcloud version, webserver type and version, os version, related log file content. Use the support template.

Without additional information the community members cannot help you.

From the screenshot you the problem seems related to external storage. do you have this issue using local storage? if you login using credential provider you don’t use internal application password - this might be the reason why external storage doesn’t work as expected. I would recommend you test with completely fresh user who never use internal password but only login and configure external storage using AD login.

Regards,
wwe

I’m very sorry. The problem occurred so suddenly that I didn’t upload the corresponding log file in time. Here are my configuration information and log file.
My NextCloud version is Nextcloud Hub 10 (31.0.7).

My Nginx version is Nginx 1.26.1.

My PHP version is PHP 8.3.21.

The installed extensions are: apcu
bcmath
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
igbinary
imagick
intl
json
ldap
libsmbclient
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
random
redis
Reflection
session
shmop
SimpleXML
smbclient
soap
sockets
sodium
SPL
sqlite3
standard
sysvsem
tokenizer
xml
xmlreader
xmlwriter
Zend OPcache
zip
zlib
zstd
[Zend Modules]
Zend OPcache
The version of MySQL is MySQL 8.0.24.
My overall deployment is NextCloud + LDAP + NAS + OnlyOffice.

The issue I’ve discovered is that when I use the extended storage and the authentication method is “username:password”, the NAS folder I see is actually determined by the account and password I entered during the background mounting, rather than by the user I logged in as. When User A and User B open the same file, the collaborative editing function of Only Office can be triggered, meaning that User A and User B can see each other’s real-time edits in the file. However, due to incorrect folder permissions, User A cannot see the folders they should be able to. So I switched to “Save login credentials to the database”, at which point the NAS folder permissions for User A and User B were correct. I authorized the same folder in the NAS for my NextCloud User A and User B to view, but when opening the file simultaneously, the collaborative editing function does not trigger. After some attempts, I saw “No login credentials saved”. The problem is most likely here. How should I solve this issue?

I could imagine NC can’t recognize the file is the same as it open from different “mount points”. other issues could arise as well e.g. bad lock handling - I would recommend you avoid external storage in multi-user scenario.

Hello, developer.
Because I need to save the data files in the NAS to prevent file loss in case of a failure of my NextCloud server. P.S. (As I have encountered this situation before)
When I mount the NAS using the “Password:Password” authentication mode, my two users can trigger the collaborative editing function.
However, this approach will allow users who originally couldn’t access this folder to see folders they shouldn’t be able to see, because the folder directory is provided by the user password I used during mounting to log in and list the file directory.
When I tried to use the “login data saved in the database” authentication method, I was surprised to find that the folder permissions seen by my user A were consistent with what I set in the NAS, because the user accessing the NAS at this time was the user I was currently logged in as. However, this raised a problem: if user A doesn’t share the folder with user B through the sharing function (because user B and user A have the same permissions and can see the same files in the folder), then when user A opens file A and user B opens file A, the collaborative editing function won’t be triggered. I have already checked my system, and I suspect the problem lies in the backend prompt of “login credentials not saved”.
Since my NextCloud actually doesn’t mount external storage, it can’t trigger the collaborative editing function.
Do you think my understanding is correct?
I wonder if it’s possible to add in the “login credentials saved in the database” authentication mode which user NextCloud uses to mount external storage?
I have already set a global account password, but NextCloud doesn’t seem to use the global account password to mount external storage.
I don’t know if my explanation is clear enough for you to understand my problem. I’m looking forward to your reply at any time.

this forum is rarely visited by devs. if you want something to change feel free to file a bug report at github.
once you file a report please share the reference here as well.

This topic was automatically closed after 90 days. New replies are no longer allowed.