Comments (7)
This works in 11.0.2 and later
from activity.
Hi nickvergessen,
negative: Just verified with 11.0.2 RC1:
No notification received after anonymous or authentificated user uploads to public shared folder (via public link).
bg umgfoin.
from activity.
I just tested this again and it works fine. However it requires changes in multiple parts. So make sure you updated all parts (server and all the shipped apps)
from activity.
Joas,
server was updated by updater-app.
No pending apps-updates visible.
Activity is v2.4.1
I'm seeing one related (?) issue in the logs:
{"reqId":"**hidden**","remoteAddr":"**hidden**","app":"no app in context","message":"Exception: {\"Exception\":\"OC\\\\User\\\\NoUserException\",\"Message\":\"Attempted to initialize mount points for null user and no user in session\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/vhosts\\\/**hidden**\\\/**hidden**\\\/apps\\\/activity\\\/lib\\\/FilesHooks.php(527): OC\\\\Files\\\\Filesystem::initMountPoints(false)\\n#1
\\\/var\\\/www\\\/vhosts\\\/**hidden**\\\/**hidden**\\\/apps\\\/activity\\\/lib\\\/FilesHooks.php(161): OCA\\\\Activity\\\\FilesHooks->getSourcePathAndOwner('\\\/AEGAEON\\\/PUBLIC...')\\n#2
\\\/var\\\/www\\\/vhosts\\\/**hidden**\\\/**hidden**\\\/apps\\\/activity\\\/lib\\\/FilesHooks.php(119): OCA\\\\Activity\\\\FilesHooks->addNotificationsForFileAction('\\\/AEGAEON\\\/PUBLIC...', 'file_created', '', 'created_public')\\n#3
\\\/var\\\/www\\\/vhosts\\\/**hidden**\\\/**hidden**\\\/apps\\\/activity\\\/lib\\\/FilesHooksStatic.php(45): OCA\\\\Activity\\\\FilesHooks->fileCreate('\\\/AEGAEON\\\/PUBLIC...')\\n#4
\\\/var\\\/www\\\/vhosts\\\/**hidden**\\\/**hidden**\\\/lib\\\/private\\\/legacy\\\/hook.php(106): OCA\\\\Activity\\\\FilesHooksStatic::fileCreate(Array)\\n#5 \\\/var\\\/www\\\/vhosts\\\/**hidden**\\\/**hidden**\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(283): OC_Hook::emit('OC_Filesystem', 'post_create', Array)\\n#6
\\\/var\\\/www\\\/vhosts\\\/**hidden**\\\/**hidden**\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(215): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->emitPostHooks(false)\\n#7
\\\/var\\\/www\\\/vhosts\\\/**hidden**\\\/**hidden**\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php(137): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->put(Resource id #418)\\n#8
\\\/var\\\/www\\\/vhosts\\\/**hidden**\\\/**hidden**\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1072): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile('folder.jpg', Resource id #418)\\n#9
\\\/var\\\/www\\\/vhosts\\\/**hidden**\\\/**hidden**\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(525): Sabre\\\\DAV\\\\Server->createFile('folder.jpg', Resource id #418, NULL)\\n#10 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#11
\\\/var\\\/www\\\/vhosts\\\/**hidden**\\\/**hidden**\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#12
\\\/var\\\/www\\\/vhosts\\\/**hidden**\\\/**hidden**\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:PUT', Array)\\n#13
\\\/var\\\/www\\\/vhosts\\\/**hidden**\\\/**hidden**\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#14
\\\/var\\\/www\\\/vhosts\\\/**hidden**\\\/**hidden**\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/publicwebdav.php(104): Sabre\\\\DAV\\\\Server->exec()\\n#15
\\\/var\\\/www\\\/vhosts\\\/**hidden**\\\/**hidden**\\\/public.php(77): require_once('\\\/var\\\/www\\\/vhosts...')\\n#16
{main}\",\"File\":\"\\\/var\\\/www\\\/vhosts\\\/**hidden**\\\/**hidden**\\\/lib\\\/private\\\/Files\\\/Filesystem.php\",\"Line\":399}","level":3,"time":"2017-02-14T12:22:24+00:00","method":"PUT","url":"\/public.php\/webdav\/folder.jpg","user":"--","version":"11.0.2.0"}
{"reqId":"**hidden**","remoteAddr":"**hidden**","app":"admin_audit","message":"File created: \"\/**hidden**\/PUBLIC UPLOAD\/\/folder.jpg\"","level":1,"time":"2017-02-14T12:22:24+00:00","method":"PUT","url":"\/public.php\/webdav\/folder.jpg","user":"--","version":"11.0.2.0"}
{"reqId":"**hidden**","remoteAddr":"**hidden**","app":"admin_audit","message":"File written to: \"\/**hidden**\/PUBLIC UPLOAD\/\/folder.jpg\"","level":1,"time":"2017-02-14T12:22:25+00:00","method":"PUT","url":"\/public.php\/webdav\/folder.jpg","user":"--","version":"11.0.2.0"}
PUBLIC_UPLOAD resides on an external SMB-share.
Any ideas?
from activity.
External storage might be the cause here.
Will test later
from activity.
Thanks for the hint.
Confirmed:
Notifications work for "native" nextcloud-folders (within the nextcloud-data-path)
but fail for shared folders on external storage.
Verified for:
- local (external server-local mounted folders)
- SMB (CIFS to localhost)
- Dropbox
from activity.
Issue exists with 11.0.2 RC2, too.
Should I report to /nextcloud/server or is this the right place?
from activity.
Related Issues (20)
- Add searching through the activities
- Sidebar stream sharing icon is cropped HOT 5
- Implement user ip and/or user agent especially in public links
- Scrollbar is hanging in mid-air instead of being on the right edge of the container
- Icons of selected entries in navigation are not inverted according to background highlight HOT 1
- Heading shows "Your activities" for all sections HOT 1
- [BITV]: Adapt visual "Your activities" `<h1>` which remains the same through all activities pages HOT 5
- Activities with E2EE (encrypted) files to display or to hide? HOT 3
- [BITV]: Remove horizontal scrolling for activity view HOT 1
- [BITV]: focused links are truncated on 400% zoom
- ActivityTab fails to load: undefined `error` var reference in JS catch statement HOT 1
- Errors caused by widget after upgrading to NC28.0.1 HOT 13
- empty notification emails HOT 12
- Activity does not load (blank screen) although dashboard widget loads HOT 5
- OC\Group\Manager::getUserIdGroupIds(): Argument #1 ($uid) must be of type string, null given HOT 1
- Digest cron jobs is broken: $time must not be accessed before initialization
- Activating the Activity app prevents deleting/moving of files in groupfolders HOT 1
- Error while parsing activity event: log gets flooded with "InvalidArgumentException: Unknown app" errors for each e-mail notification HOT 2
- Exception thrown: OCP\\RichObjectStrings\\InvalidObjectExeption
- teams icon in the left sidebar has wrong color HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from activity.