marius-wieschollek / passwords

A simple, yet feature rich password manager for Nextcloud
GNU Affero General Public License v3.0
210 stars 43 forks source link

[BUG]: Cant share password on NC 9 (30.0.1) #677

Open cuseeme opened 1 week ago

cuseeme commented 1 week ago

⚠️ This issue respects the following points: ⚠️

Server Information

{
    "version": {
        "server": "30.0.1.2",
        "app": "2024.9.20",
        "lsr": false,
        "php": "8.2.23",
        "cronPhp": "8.2.23"
    },
    "environment": {
        "os": "Linux",
        "architecture": "x86_64",
        "bits": 64,
        "database": "mysql",
        "cron": "cron",
        "proxy": false,
        "sslProxy": false,
        "subdirectory": false
    },
    "services": {
        "images": "imagick",
        "favicons": "local",
        "previews": "default",
        "security": "hibp",
        "words": "leipzig",
        "previewApi": false,
        "faviconApi": false
    },
    "status": {
        "autoBackupRestored": false
    },
    "settings": {
        "channel": "stable",
        "nightlies": false,
        "handbook": false,
        "performance": 5
    },
    "encryption": {
        "sse": {
            "SSEv1r1": false,
            "SSEv1r2": true,
            "SSEv2r1": false,
            "SSEv3r1": false,
            "none": false,
            "default": "SSEv1r2"
        },
        "cse": {
            "CSEv1r1": false,
            "none": true,
            "default": "none"
        }
    }
}

Client Information

Browser and Version: Firefox 131.0.3 Client OS and Version: Win 11

Bug description

When i try to share a password the user icon is spinning on the share tab and the message "Some data is waiting to be synchronized" is displayed in hover.

The nc log reports multi entrys wit Passwords runs /index.php/apps/passwords/cron/sharing in global mode

The password is only shared when run the folowing command: php ./occ config:app:delete passwords cron/sharing/time

Steps to reproduce

  1. Share a password with another user
  2. The user icon is spinnig and the password is not shared

Expected behavior

The password should be shared immediately

Nextcloud Logs

Information passwords   
Passwords runs /index.php/apps/passwords/cron/sharing in global mode
22.10.2024, 10:31:04    
Information passwords   
Passwords runs /index.php/apps/passwords/cron/sharing in global mode
22.10.2024, 10:31:00    
Information passwords   
Passwords runs /index.php/apps/passwords/cron/sharing in global mode
22.10.2024, 10:30:58    
Information passwords   
Passwords runs /index.php/apps/passwords/cron/sharing in global mode
22.10.2024, 10:30:55    
Information passwords   
Passwords runs /index.php/apps/passwords/cron/sharing in global mode
22.10.2024, 10:30:53    
Information passwords   
Passwords runs /index.php/apps/passwords/cron/sharing in global mode
22.10.2024, 10:30:50    
Information passwords   
Passwords runs /index.php/apps/passwords/cron/sharing in global mode
22.10.2024, 10:30:47    
Information passwords   
Passwords runs /index.php/apps/passwords/cron/sharing in global mode
22.10.2024, 10:30:45    
Information passwords   
Passwords runs /index.php/apps/passwords/cron/sharing in global mode
22.10.2024, 10:30:41    
Information passwords   
Passwords runs /index.php/apps/passwords/cron/sharing in global mode
22.10.2024, 10:30:40    
Information passwords   
Passwords runs /index.php/apps/passwords/cron/sharing in global mode
22.10.2024, 10:30:35    
Information passwords   
Passwords runs /index.php/apps/passwords/cron/sharing in global mode
22.10.2024, 10:30:35    
Information passwords   
Passwords runs /index.php/apps/passwords/cron/sharing in global mode
22.10.2024, 10:30:29    
Information passwords   
Passwords runs /index.php/apps/passwords/cron/sharing in global mode
22.10.2024, 10:30:29    
Information passwords   
Passwords runs /index.php/apps/passwords/cron/sharing in global mode
22.10.2024, 10:30:23    
Information passwords   
Passwords runs /index.php/apps/passwords/cron/sharing in global mode
22.10.2024, 10:30:23    
Information passwords   
Passwords runs /index.php/apps/passwords/cron/sharing in global mode
22.10.2024, 10:30:18    
Information passwords   
Passwords runs /index.php/apps/passwords/cron/sharing in global mode
22.10.2024, 10:30:17

Browser Logs

No response

lucentwolf commented 1 day ago

All my Instances are also affected after update from NC 29.x to NC 30.0.1 - also the ones running as ubuntu snaps. I noticed that after some hours, the password will eventually be shared & "spinning" stops ... wild guess: probably some cron job fixes it?