Libre Office = Unkown User

Hi

I have had this problem from the start, but now Nextcloud Office doesn’t want to work either. :frowning_face:

All I get from Nextcloud office is “try again later”.

Libre Office also has an issue with Unknown User???

If I can get one or the other working properly, that would be good.

Everything else is working good, I can browse the files, calendar, notes, etc working, just this problem with Office.

Bare metal install on a Raspberry Pi5, everything updated to the latest stable packages.

Operating system: Linux 6.6.31+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64

Webserver: Apache/2.4.61 (Debian) (apache2handler)

Database: mysql 10.11.6

PHP version: 8.2.20

Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, random, Reflection, SPL, session, standard, sodium, apache2handler, mysqlnd, PDO, xml, apcu, bcmath, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, intl, exif, mysqli, pdo_mysql, Phar, posix, readline, redis, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Zend OPcache

Nextcloud version: 29.0.4 - 29.0.4.1

Updated from an older Nextcloud: Yes, new install about 6 months old.
Nextcloud version (eg, 29.0.5):
OS: Debian GNU/Linux 12 (bookworm) aarch64
Host: Raspberry Pi 5 Model B Rev 1.0
Kernel: 6.6.31+rpt-rpi-2712
SSL working.

I don’t really get you issue… seem Nextcloud Office doesn’t start? please work through Collabora integration guide …but I don’t understand what/where you have an issue with Libre Office, please explain further… especially what does it mean:

to make troubleshooting easier please open one discussion for each topic (you can link them in case issues are related).

Hi

I have decided to remove Collabora from my installation. More hassle than what it is worth.

After more investigation, and experimentation, I have found a work around for Libreoffice.

So to explain a bit further.

My laptop is running Ubuntu 24.04, and has Nextcloud desktop sync installed and working correctly.

If I open the file browser, navigate to my Nextcloud/Documents folder, select a documents which I want to edit in Libreoffce, I get the error above, i.e can only open in read-only mode, User Unknown.

If I open Libreoffice first, then go to File → Open select the same file it opens no problem.

I discovered the second option of opening a file yesterday.

The question is why the difference?

there are 2 different use-cases:

  • opening an office file using “edit locally” from web-browser
    • AFAIK this will “lock” the file in the Nextcloud DB so only one person can edit the file and avoid conflicts
    • likely such previously added lock is the reason for the error - but I can’t repro the problem on my system so no idea why this files locked and who created the lock…
  • local file open using native operating system file picker
    • no control from Nextcloud, local copy of the file is available for local editing using local LO application, simultaneous changes by different users might cause conflicts/data loss