nextcloud / nextcloud/activity

Activity is empty for files in shared folder

Open
#828 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug feature: sidebar
Dominant language
JavaScript
Stars
145
Forks
72
Avg merge
6d 9h
Merged PRs (30d)
42

Description

Hello,
I face exactly that same issue
https://github.com/nextcloud/server/issues/26065
image

Steps to reproduce
  1. Create a share folder
  2. Create a file in
  3. Review activity box : this is empty
Expected behaviour

I would like to have activity data

I want to mention that activity page is working : page is not empty -> activity by date
But to follow a file and what's happened on one file it is not appropriate
image

Server configuration

Operating system:ubuntu 20.04
**Web server:**apache 2.4
**Database:**mariadb Ver 15.1 Distrib 10.3.34-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
**PHP version:**php 8.0.20
Nextcloud version: nc 23.0.5
Where did you install Nextcloud from: install by cli. Running on several instances
Signing status:

Nothing failed

List of activated apps:

Enabled:
  - accessibility: 1.9.0
  - activity: 2.15.0
  - admin_audit: 1.13.0
  - apporder: 0.15.0
  - auto_groups: 1.4.0
  - bruteforcesettings: 2.4.0
  - calendar: 3.3.1
  - circles: 23.1.1
  - cloud_federation_api: 1.6.0
  - comments: 1.13.0
  - contacts: 4.1.1
  - contactsinteraction: 1.4.0
  - dashboard: 7.3.0
  - data_request: 1.10.0
  - dav: 1.21.0
  - deck: 1.6.1
  - duplicatefinder: 0.0.14
  - epubreader: 1.4.7
  - event_update_notification: 1.5.0
  - extract: 1.3.5
  - federatedfilesharing: 1.13.0
  - federation: 1.13.0
  - files: 1.18.0
  - files_accesscontrol: 1.13.0
  - files_automatedtagging: 1.13.0
  - files_downloadactivity: 1.13.0
  - files_external: 1.15.0
  - files_linkeditor: 1.1.10
  - files_pdfviewer: 2.4.0
  - files_retention: 1.12.0
  - files_rightclick: 1.2.0
  - files_sharing: 1.15.0
  - files_texteditor: 2.14.0
  - files_trashbin: 1.13.0
  - files_versions: 1.16.0
  - files_videoplayer: 1.12.0
  - groupfolders: 11.1.4
  - groupquota: 0.1.8
  - listman: 20.1.1
  - logreader: 2.8.0
  - lookup_server_connector: 1.11.0
  - mail: 1.12.1
  - metadata: 0.16.0
  - nextcloud_announcements: 1.12.0
  - notes: 4.3.1
  - notifications: 2.11.1
  - oauth2: 1.11.0
  - password_policy: 1.13.0
  - passwords: 2022.5.20
  - photos: 1.5.0
  - polls: 3.6.1
  - privacy: 1.7.0
  - provisioning_api: 1.13.0
  - quickaccesssorting: 1.1.3
  - quota_warning: 1.14.0
  - ransomware_protection: 1.13.0
  - recommendations: 1.2.0
  - richdocuments: 5.0.5
  - settings: 1.5.0
  - sharebymail: 1.13.0
  - side_menu: 2.3.5
  - spreed: 13.0.6
  - survey_client: 1.11.0
  - suspicious_login: 4.1.0
  - systemtags: 1.13.0
  - tasks: 0.14.4
  - terms_of_service: 1.9.3
  - text: 3.4.1
  - theming: 1.14.0
  - theming_customcss: 1.11.0
  - twofactor_admin: 3.2.0
  - twofactor_backupcodes: 1.12.0
  - twofactor_email: 2.4.0
  - twofactor_nextcloud_notification: 3.4.0
  - updatenotification: 1.13.0
  - user_ldap: 1.13.1
  - user_retention: 1.6.0
  - user_status: 1.3.1
  - user_usage_report: 1.7.0
  - viewer: 1.7.0
  - w2g2: 3.3.8
  - weather_status: 1.3.0
  - workflow_ocr: 1.23.3
  - workflow_pdf_converter: 1.8.0
  - workflowengine: 2.5.0
Disabled:
  - drop_account: 2.0.0
  - encryption
  - files_trackdownloads: 1.10.0
  - firstrunwizard: 2.10.0
  - flow_notifications: 1.1.0
  - ldap_contacts_backend: 1.1.0
  - ldap_write_support: 1.3.0
  - ldapcontacts: 2.0.5
  - majordomo: 1.0.3
  - previewgenerator: 5.0.0
  - registration: 1.5.0
  - serverinfo: 1.11.0
  - socialsharing_email: 2.5.0
  - socialsharing_facebook: 2.5.0
  - socialsharing_twitter: 2.5.0
  - support: 1.4.0

Nextcloud configuration:

config.php
<?php
$CONFIG = array (
  'passwordsalt' => 'hidden',
  'secret' => 'hidden',
  'trusted_domains' =>
  array (
    0 => 'localhost',
    1 => 'nc.mydom.com',
  ),
  'datadirectory' => '/mypath',
  'dbtype' => 'mysql',
  'version' => '23.0.5.1',
  'overwrite.cli.url' => 'https://nc.mydom.com/',
  'dbname' => 'mydb_db',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'myuser',
  'dbpassword' => 'hidden',
  'installed' => true,
  'instanceid' => 'hidden',
  'default_language' => 'fr',
  'default_locale' => 'fr',
  'default_phone_region' => 'fr',
  'defaultapp' => 'dashboard,files,mail,contacts,calendar,notes,deck,tasks,spreed,passwords,photos,fulltextsearch,duplicatefinder,activity',
  'knowledgebaseenabled' => true,
  'remember_login_cookie_lifetime' => 1296000,
  'session_lifetime' => 86400,
  'session_keepalive' => true,
  'filesystem_check_changes' => 0,
  'mail_from_address' => 'contact',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'mydom.com',
  'mail_smtpsecure' => 'tls',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'mail1.server.fr',
  'mail_smtpport' => '587',
  'mail_smtpname' => 'contact@mydom.com',
  'mail_smtppassword' => 'hidden,
  'htaccess.RewriteBase' => '/',
  'trashbin_retention_obligation' => 'auto, 7',
  'versions_retention_obligation' => 'auto, 7',
  'log_type' => 'file',
  'logfile' => '/mypth/log.log',
  'log_rotate_size' => 20971520,
  'logfilemode' => 640,
  'loglevel' => 3,
  'syslog_tag' => 'nc.mydom.com',
  'logtimezone' => 'Europe/Paris',
  'redis' =>
  array (
    'host' => '127.0.0.1',
    'port' => 6379,
    'password' => 'hidden',
    'dbindex' => '2',
  ),
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'upgrade.disable-web' => true,
  'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
  'enable_previews' => false,
  'preview_max_x' => '512',
  'preview_max_y' => '512',
  'preview_max_filesize_image' => '5',
  'preview_libreoffice_path' => '/usr/bin/libreoffice',
  'enabledPreviewProviders' =>
  array (
    1 => 'OC\\Preview\\PNG',
    2 => 'OC\\Preview\\HEIC',
    3 => 'OC\\Preview\\GIF',
    4 => 'OC\\Preview\\TIFF',
    5 => 'OC\\Preview\\BMP',
    6 => 'OC\\Preview\\XBitmap',
    7 => 'OC\\Preview\\MP3',
    8 => 'OC\\Preview\\TXT',
    9 => 'OC\\Preview\\MarkDown',
    10 => 'OC\\Preview\\Krita',
    11 => 'OC\\Preview\\MSOffice2003',
    12 => 'OC\\Preview\\MSOffice2007',
    13 => 'OC\\Preview\\MSOfficeDoc',
    14 => 'OC\\Preview\\PDF',
    15 => 'OC\\Preview\\SVG',
    16 => 'OC\\Preview\\Movie',
    17 => 'OC\\Preview\\Font',
    18 => 'OC\\Preview\\MKV',
    19 => 'OC\\Preview\\MP4',
    20 => 'OC\\Preview\\AVI',
    21 => 'OC\\Preview\\Photoshop',
    22 => 'OC\\Preview\\CSV',
  ),
  'log.condition' => '[\'apps\' => [\'admin_audit\'],]',
  'activity_expire_days' => 15,
  'appstoreenabled' => false,
  'maintenance' => false,
  'skeletondirectory' => '/mypth/skeletonNC',
  'templatedirectory' => '/mypth/skeletonNC/Modèles',
  'theme' => '',
);
and activity apps
        "activity": {
            "enable_email": "no",
            "enabled": "yes",
            "installed_version": "2.15.0",
            "notify_email_calendar": "0",
            "notify_email_calendar_event": "0",
            "notify_email_calendar_todo": "0",
            "notify_email_comments": "0",
            "notify_email_contacts": "0",
            "notify_email_deck": "0",
            "notify_email_deck_card_description": "0",
            "notify_email_deck_comment": "0",
            "notify_email_file_changed": "0",
            "notify_email_file_downloaded": "0",
            "notify_email_group_settings": "0",
            "notify_email_public_links": "0",
            "notify_email_remote_share": "0",
            "notify_email_shared": "0",
            "notify_email_spreed": "0",
            "notify_email_systemtags": "0",
            "notify_email_w2g2": "0",
            "notify_notification_calendar": "0",
            "notify_notification_calendar_event": "0",
            "notify_notification_calendar_todo": "0",
            "notify_notification_comments": "0",
            "notify_notification_contacts": "0",
            "notify_notification_deck": "0",
            "notify_notification_deck_card_description": "0",
            "notify_notification_deck_comment": "0",
            "notify_notification_favorite": "0",
            "notify_notification_file_changed": "0",
            "notify_notification_file_downloaded": "0",
            "notify_notification_file_favorite_changed": "0",
            "notify_notification_group_settings": "0",
            "notify_notification_personal_settings": "0",
            "notify_notification_public_links": "0",
            "notify_notification_remote_share": "0",
            "notify_notification_security": "1",
            "notify_notification_shared": "0",
            "notify_notification_spreed": "0",
            "notify_notification_systemtags": "0",
            "notify_notification_w2g2": "0",
            "notify_setting_batchtime": "3600",
            "notify_setting_self": "0",
            "notify_setting_selfemail": "0",
            "types": "filesystem"
        },

Are you using an external user-backend, if yes which one:
slapd backend active and working

Client configuration

Browser:
firefox and chrome => same behavior
Operating system:
windows

Logs
Nextcloud log (data/nextcloud.log)
Nothing related to activity

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue from the listed steps in a shared folder, then compare the file's activity box with the activity page and review the referenced Nextcloud server issue 26065. Done means activity for files in shared folders appears in the file-specific activity view as well as the activity page.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
full-stack
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.