nextcloud / passman

🔐 Open source password manager with Nextcloud integration
https://passman.cc
GNU Affero General Public License v3.0
789 stars 108 forks source link

[SOLVED] Passman 2.4.6 update #789

Open kriskillerz opened 1 year ago

kriskillerz commented 1 year ago

Bug report

Hello everybody,

My issue arrive after upgrade of Passman in nextcloud. After updating Passman extension to 2.4.6 yesterday. This morning my vault isn't visible in the frontend with a white page and the link + Create a new vault.

Steps to reproduce

  1. Update Passman from admin panel in nextcloud.
  2. In nextcloud frontend acces to passman and white page load without theme with : + Create a new vault.
  3. Webexxtension no vault too.
  4. Android App the vault is functional (or in cache ?).

Expected behaviour

Open the vault

Actual behaviour

White page with +Create a new vault

Configuration

Operating system:
Windows 11 22H2 Browser:
Vivaldi 6.1.3035.100 (Stable channel) (64 bits) Extensions that might cause interference:
No Passman version:
2.4.6 Operating system: Ubuntu Server 22.04.2 LTS Web server: nginx version: nginx/1.23.2 Database: mysql Ver 15.1 Distrib 10.6.12-MariaDB PHP version: PHP 8.1.14
cloud server: Nextcloud or ownCloud Nextcloud cloud version: (see admin page or version.php) Hub 4 26.0.3

Cloud log ``` `{"reqId":"NXDOgq6ufzevlDuuUXIb","level":2,"time":"2023-06-27T09:07:04+02:00","remoteAddr":"***.***.***.***","user":"kriskiller","app":"no app in context","method":"GET","url":"/apps/passman/","message":"Invalid active-app data provided to provideInitialState by core","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36","version":"26.0.3.2","data":[]} {"reqId":"yDdye0sV8IrCbMUp8ipi","level":3,"time":"2023-06-27T09:07:05+02:00","remoteAddr":"***.***.***.***","user":"kriskiller","app":"index","method":"GET","url":"/apps/passman/api/v2/vaults","message":"Could not resolve OCA\\Passman\\Controller\\VaultController! Class \"OCA\\Passman\\Controller\\VaultController\" does not exist","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36","version":"26.0.3.2","exception":{"Exception":"OC\\AppFramework\\Utility\\QueryNotFoundException","Message":"Could not resolve OCA\\Passman\\Controller\\VaultController! Class \"OCA\\Passman\\Controller\\VaultController\" does not exist","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":142,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":493,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":465,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":162,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1060,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","Line":131,"CustomMessage":"--"}}` ```

Thank guys for you answers !

binsky08 commented 1 year ago

please try that https://github.com/nextcloud/passman/issues/787#issuecomment-1607019046

juergen852 commented 1 year ago

Same as https://github.com/nextcloud/passman/issues/787 Problem solved by restarting the php8.0-fpm and php8.1-fpm services

kriskillerz commented 1 year ago

Thank you guys !

The restart of php8.1-fpm work !