This should display the notifications in a pop-up dialog
The pop-up is blank if there are notifications. If there are no notifications a message is displayed saying "No notifications"
Operating system: debian 9
Web server: nginx
Database: mariadb
PHP version: 7.2
Nextcloud version: 15.0.0
Updated from an older Nextcloud/ownCloud or fresh install: Updated from 14.0.4
Where did you install Nextcloud from: tarball
Signing status:
Signing status
No errors have been found.
List of activated apps:
App list
Enabled:
Nextcloud configuration:
Config report
{
"system": {
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"xxx",
"xxx"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"overwrite.cli.url": "http:\/\/localhost",
"dbtype": "mysql",
"version": "15.0.0.10",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"logtimezone": "UTC",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"memcache.local": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"htaccess.RewriteBase": "\/",
"loglevel": 0,
"theme": "gibberfish",
"mail_smtpmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"skeletondirectory": "\/opt\/nextcloud-data\/skeleton_files",
"enable_previews": true,
"token_auth_enforced": true,
"filelocking.enabled": true,
"updatechecker": false,
"upgrade.disable-web": true,
"enabledPreviewProviders": [
"OC\\Preview\\Image"
],
"default_language": "en",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "25",
"mysql.utf8mb4": true,
"log_rotate_size": 104857600,
"mail_smtpauthtype": "LOGIN",
"mail_smtpauth": false,
"maintenance": false,
"defaultapp": "dashboard,files",
"knowledgebaseenabled": false,
"overwriteprotocol": "http",
"remember_login_cookie_lifetime": 86400
}
}
Are you using external storage, if yes which one: No
Are you using encryption: Yes
Are you using an external user-backend, if yes which one: No
Browser: Firefox or Vivaldi
Operating system: Fedora 29
Web server error log
No logs
Nextcloud log
{"reqId":"K0Ajkhkyuv0FQxjtcgqp","level":3,"time":"2018-12-21T14:59:23+00:00","remoteAddr":"172.18.0.11","user":"xxx","app":"PHP","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v2\/notifications","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/opt\/nextcloud\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:64.0) Gecko\/20100101 Firefox\/64.0","version":"15.0.0.10"}
Browser log
Content Security Policy: Ignoring duplicate source 'unsafe-inline'
Content Security Policy: Couldn’t parse invalid host 'unsafe-inline'
Content Security Policy: Directive ‘child-src’ has been deprecated. Please use directive ‘worker-src’ to control workers, or directive ‘frame-src’ to control frames respectively.
JQMIGRATE: Migrate is installed, version 1.4.0 core.js:7:542
State changed to INITIATING jsxc.min.js:1:2054
Try to relogin jsxc.min.js:1:2054
I am not able to relogin jsxc.min.js:1:2054
State changed to SUSPEND jsxc.min.js:1:2054
TypeError: "this.userRemoteTemplate is not a function"
parseParameter https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:7:89179
parseMessage https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:7:88921
forEach https://inc.gibber.fish/core/vendor/core.js?v=71e1b20b:18:2350
parseMessage https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:7:88866
renderedSubject https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:14:23425
get https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:7:15827
evaluate https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:7:16984
Re https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:7:18879
s https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:14:20633
_render https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:7:32580
r https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:7:63966
get https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:7:15827
Me https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:7:15752
mount https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:7:63982
mount https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:7:63844
mount https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:7:86637
init https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:7:22357
f https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:7:52459
f https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:7:52348
$/< https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:7:55533
$ https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:7:55108
$/< https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:7:55258
$ https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:7:55108
$/< https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:7:55258
$ https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:7:55108
i https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:7:56860
_update https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:7:31552
r https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:7:63956
get https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:7:15827
run https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:7:16718
Ee https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:7:14856
te https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:7:11328
Xt https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b:7:10834
notifications.js:7:10714
New search handler registered search.js:67:4
Source map error: TypeError: NetworkError when attempting to fetch resource.
Resource URL: https://inc.gibber.fish/apps/ojsxc/js/jsxc/jsxc.min.js?v=71e1b20b
Source Map URL: jsxc.min.js.map[Learn More]
Source map error: TypeError: NetworkError when attempting to fetch resource.
Resource URL: https://inc.gibber.fish/apps/notifications/js/notifications.js?v=71e1b20b
Source Map URL: notifications.js.map[Learn More]
This belongs under the notifications app.
@rev138 not so sure this is a notifications app error. Wasn't the notification related to a share you received? Can you actually see the received share?
@rev138 In my case, yes same issue... but only with sharing folder or files via federation.
I'm not convinced this is a notifications app issue, it could be either at this point.
The notifications app issue is at https://github.com/nextcloud/notifications/issues/232
Notifications not related to shares work just fine for me, like notification:generate ones.
On IRC @r3pek said the federated shares are also inaccessible without the notification even though they are shown in the Activity app as created and removed. Is this also the case for you @victordariovera and the shares are not shown?
I have to admit to not having used federation myself but it sounds like they shouldn't be tied to a single notification to be accessible since it can as shown here break. (Also notifications can be dismissed?)
Agreed with @Lartza above. I could not find any mention of shares or alternatives to accepting or rejecting them other than through a notification. This means that if the notification is somehow dismissed without action, the share request might get stuck in limbo.
The notifications work fine in both the desktop client and the Android app, meaning the bug is only present in the web interface itself. I do not know enough about the inner workings of the notifications app to know if the fault lies within it.
My browser output is the same as https://github.com/nextcloud/notifications/issues/232. There is no server-side error whatsoever.
@Lartza yes! exactly. I can't access federated resources at all (I'm using a fresh NC v.15 installation). I try to share from another NC installation, receive the notification (I only see them via web browser native notification) but when I click over the notification bell on NC Web there's not notification at all. Well, the bell shows a tiny red circle (like it showing pendent notifications).
I try to accept the federated item in NC App (iOS) but notification does not appear. In activity there is a register for that sharing, but I cant accept it!
As a workaround: Use the android app to see the notification an to accept or refuse the shared federated resource.
Hi @brknkfr! I tried to accept federated resource from android..but I can't access it. Notifications appears in Android, and I can accept it, but the resource doesn't appear.
The "sender" instance is running in a home server on port 8088 (https). This is because my ISP blocks port 80. The "receiving instance" is running in AWS at port 443 (https). It can be a problem?
By other hand, I can't configure same NC instance (sender) as an external storage (nextcloud type). It seems that NC search the connection in port 80/443 and I don't have any option to configure a non standard port (8088 in this case).
Same problem here.
just stumbled upon the same... to summarize and conclude what I can reproduce myself:

<div class="notification-wrapper"><!----> <!----></div>
The notification is shown in nc-android and from there I can accept the share successfully.
the console shows this.userRemoteTemplate is not a function:
TypeError: "this.userRemoteTemplate is not a function"
parseParameter https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:7:89179
parseMessage https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:7:88921
forEach https://nc.violoncello.ch/core/vendor/core.js?v=999c80fa-34:18:2350
parseMessage https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:7:88866
renderedSubject https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:14:23425
get https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:7:15827
evaluate https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:7:16984
Re https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:7:18879
s https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:14:20633
_render https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:7:32580
r https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:7:63966
get https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:7:15827
Me https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:7:15752
mount https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:7:63982
mount https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:7:63844
mount https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:7:86637
init https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:7:22357
f https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:7:52459
f https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:7:52348
$/< https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:7:55533
$ https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:7:55108
$/< https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:7:55258
$ https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:7:55108
$/< https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:7:55258
$ https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:7:55108
i https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:7:56860
_update https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:7:31552
r https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:7:63956
get https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:7:15827
run https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:7:16718
Ee https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:7:14856
te https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:7:11328
Xt https://nc.violoncello.ch/apps/notifications/js/notifications.js?v=999c80fa-34:7:10834
notifications.js:7:10714
cc @nextcloud/server-triage @nextcloud/sharing
I guess that's a javascript problem?
If this problem is only in the notification part and not in the server we can switch to nextcloud/notifications#232.
Duplicate of the above issue