notes icon indicating copy to clipboard operation
notes copied to clipboard

Cannot share a note in Nextcloud webui

Open MichaelTorfs opened this issue 8 months ago • 18 comments

Please make a clear and concise description of what the bug is.

Steps to reproduce

  1. go to the notes web ui
  2. click "+ New note"
  3. enter some text
  4. click 3 dots at the right side of the note
  5. click share from the menu that appeared
  6. nothing happens

Expected behaviour

a share screen should appear were users can be selected

Actual behaviour

nothing happens

Screenshots

Image

Server

Please complete the following information.

  • Notes app version: 4.13.1
  • Nextcloud version: 33.0.1
  • OS: Ubuntus Server with Docker (Linux 6.8.0-106-generic x86_64)
  • Web server: Apache
  • PHP version: 8.4.19
  • Database: PostgreSQL 18.3 on x86_64-pc-linux-musl, compiled by gcc (Alpine 15.2.0) 15.2.0, 64-bit

Nextcloud configuration:

Client

Please complete the following information.

  • Browser (incl. version): Brave 1.88.136
  • OS: Windows 11

Log files

Around the time I try to click Share the follwing appears in the logs (I'm not sure it's related):

Image

MichaelTorfs avatar Mar 29 '26 11:03 MichaelTorfs

Same here. I see the share-link, but clicking it does nothing.

Notes app version: 4.13.1 Nextcloud version: 33.0.2 OS: Ubuntus Server 24.04.4 Web server: Apache PHP version: 8.3 Database: MySQL 8.0.45

guilegatan avatar Apr 09 '26 09:04 guilegatan

Same here, very frustrating Web server: Apache Notes app version: 4.13.1 Nextcloud version: 33.0.2

GuillaumeEvrard avatar Apr 14 '26 20:04 GuillaumeEvrard

fixing at https://github.com/nextcloud/notes/pull/1827

enjeck avatar Apr 23 '26 05:04 enjeck

I just upgraded to Notes from version 4.13.1 to 5.0.0, and sharing seems not to be working (obviously I cleared the browser cache, and tried with different browsers and user accounts):

Image

I find nothing in the log when I click on the "share" button. I'm running Nextcloud 32.0.8 on PHP 8.2.30.

andrewhotlab avatar Apr 25 '26 10:04 andrewhotlab

H

I just upgraded to Notes from version 4.13.1 to 5.0.0, and sharing seems not to be working (obviously I cleared the browser cache, and tried with different browsers and user accounts):

I find nothing in the log when I click on the "share" button. I'm running Nextcloud 32.0.8 on PHP 8.2.30.

Are there errors in the browser console?

enjeck avatar Apr 25 '26 10:04 enjeck

Nothing in the web browser console's log either (just tested with Firefox 150.0 on my FreeBSD desktop).

andrewhotlab avatar Apr 25 '26 11:04 andrewhotlab

Hmm, I wonder if anyone else is facing problems 🤔

enjeck avatar Apr 25 '26 11:04 enjeck

I was able to reproduce the same problem on two NC 32 instances, with latest Firefox and Chrome browsers running on different operating systems (FreeBSD and macOS), and with different NC user accounts.

andrewhotlab avatar Apr 25 '26 14:04 andrewhotlab

for me the sharing works again with version 5.0

MichaelTorfs avatar Apr 25 '26 15:04 MichaelTorfs

@MichaelTorfs, can you detail if and how your NC instances setup differs from what I wrote?

andrewhotlab avatar Apr 25 '26 15:04 andrewhotlab

@andrewhotlab sure, here is all the info:

Server configuration detail

Operating system: Linux 6.8.0-110-generic #110-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 19 15:09:20 UTC 2026 x86_64

Webserver: Apache/2.4.66 (Debian) (apache2handler)

Database: pgsql PostgreSQL 18.3 on x86_64-pc-linux-musl, compiled by gcc (Alpine 15.2.0) 15.2.0, 64-bit

PHP version: 8.4.20

Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, ctype, curl, dom, fileinfo, filter, hash, iconv, json, mbstring, SPL, session, PDO, pdo_sqlite, standard, posix, random, Reflection, Phar, SimpleXML, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, apache2handler, apcu, bcmath, exif, ftp, gd, gmp, igbinary, imagick, intl, ldap, memcached, pcntl, pdo_mysql, pdo_pgsql, redis, sodium, sysvsem, zip, Zend OPcache

Nextcloud version: 33.0.2 - 33.0.2.2 Notes version: 5.0

Client: Windows 11 Browser: [Brave 1.89.143 (Official Build) (64-bit)] Nexcloud Desktop Client: 33.0.2

MichaelTorfs avatar Apr 26 '26 04:04 MichaelTorfs

@MichaelTorfs , it looks like the major difference between our setups is the NC branch. I just upgraded to version 33.0.2 one testing instance of us, and the 5.0 version of Notes now works as expected when I click the "share" button:

Image

So the problem shows up with the 32 branch of Nextcloud. Since it's a supported release, may I ask to reopen this issue and further investigate it?

andrewhotlab avatar Apr 26 '26 18:04 andrewhotlab

I'm sure this is because I used v4 of the nextcloud-files library, and it supports only 33+: https://github.com/nextcloud-libraries/nextcloud-files?tab=readme-ov-file#compatibility . Whoops 😬

enjeck avatar Apr 26 '26 18:04 enjeck

fixing on older versions at https://github.com/nextcloud/notes/pull/1853

enjeck avatar May 09 '26 03:05 enjeck

Hello. Exactly the same problem as @andrewhotlab with v5.0.0 and Nextcloud 32.0.9.

@enjeck When will the fix be available? If not quickly, does rolling back to v4.x will work?

Thanks

michel-thomas avatar May 20 '26 07:05 michel-thomas

@enjeck When will the fix be available?

Whenever https://github.com/nextcloud/notes/pull/1853 is reviewed and merged

If not quickly, does rolling back to v4.x will work?

Hmm, I don't think so? Given the changes above I made to make it work again

enjeck avatar May 20 '26 07:05 enjeck

Whenever https://github.com/nextcloud/notes/pull/1853 is reviewed and merged

I see this above! By "available" I meant "published and released".

Given the changes above I made to make it work again

Ok, I wait v5.0.1 👍️

michel-thomas avatar May 20 '26 07:05 michel-thomas

Now fixed and released

enjeck avatar Aug 14 '26 19:08 enjeck