Comments (7)
I had a similar issue with one of my test instances, but was not able to reproduce it.
I think it could be a cache problem.
- Make sure you have the latest Nextcloud version for 26 or 27 installed.
- Please try to disable and enable the Passman app.
- Try to clear PHP cache. Method depends on the installation.
Reloading / Restarting apache2 or php-fpm could help. systemctl reload apache2
or systemctl reload php-fpm
See https://serverguy.com/magento/flush-php-opcache/
When using Nextcloud in docker, try it with a container restart
from passman.
Thanks for the super quick follow-up, @binsky08. Of course, I skipped the simplest troubleshooting step 😂 Restarting my container fleet fixed this issue, and no more errors are thrown in server logs.
from passman.
We had the same problem after updating to NC 26.0.3.
Problem solved by restarting the php8.0-fpm and php8.1-fpm services.
NC log error message was:
{"reqId":"Zbj5ko9muarhj1hS9fzX","level":3,"time":"2023-06-26T17:47:59+02:00","remoteAddr":"10.8.2.100","user":"username","app":"index","method":"GET","url":"/apps/passman/","message":"Could not resolve OCA\Passman\Controller\PageController! Class "OCA\Passman\Controller\PageController" does not exist","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/113.0","version":"26.0.3.2","exception":{"Exception":"OC\AppFramework\Utility\QueryNotFoundException","Message":"Could not resolve OCA\Passman\Controller\PageController! Class "OCA\Passman\Controller\PageController" 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":"--"},"id":"6499b362d43d6"}
from passman.
I have a similar issue, also after upgrading Nextcloud from 26 to 27 and Passman from 2.4.5 to 2.4.6:
[index] Error: OC\AppFramework\Utility\QueryNotFoundException: Could not resolve OCA\Passman\Controller\PageController! Class "OCA\Passman\Controller\PageController" does not exist
0. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 142
OC\AppFramework\Utility\SimpleContainer->resolve()
1. /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php line 494
OC\AppFramework\Utility\SimpleContainer->query()
2. /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php line 466
OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
3. /var/www/nextcloud/lib/private/AppFramework/App.php line 162
OC\AppFramework\DependencyInjection\DIContainer->query()
4. /var/www/nextcloud/lib/private/Route/Router.php line 315
OC\AppFramework\App::main()
5. /var/www/nextcloud/lib/base.php line 1064
OC\Route\Router->match()
6. /var/www/nextcloud/index.php line 36
OC::handleRequest()
GET /nextcloud/index.php/
from 192.168.254.210 by thomas at 2023-06-26T07:15:03+00:00
from passman.
Thank you, @binsky08. Clearing the cache and restarting the webserver made Passman working again for me.
from passman.
simple solution if using fpm would be reloading php-fpm, or restarting it.
with apache php module, restart apache would do the trick as well.
The problem of using opcache hehehe
from passman.
I've seen this issue this morning, and I'm gathering all information, but refresh before posting and discover THE solution: "turn it off and on"
So simple that I feel ashamed to not tried it before...
thanks you for your prompt and accurate answer
from passman.
Related Issues (20)
- changing vault password fails if contains credentials with files
- KeePass XC Import fails on KeePassXC data export; Generic CSV Imports Partial Data HOT 1
- [feature request] Ability to share a password that someone else shared HOT 1
- Prevent Passman on offline Nextcloud instance sending request to GitHub HOT 1
- [feature request] filter to show only compromised entries
- NC25 - the app disables itself after being enabled HOT 2
- Upgrade from NC 26.0.1 to 27 beta1 - Autoload path not allowed HOT 15
- [feature request] ability to modify tags directly, instead of modifing each credential
- Internal Server Error with 26.0.0 HOT 4
- [SOLVED] Passman 2.4.6 update HOT 3
- Export to CSV reports errors HOT 4
- Buttons in headerbar overlap each other HOT 1
- [FEATURE REQUEST] Reset forgotten vault password or export credentials on an inaccessible vault HOT 3
- Place requests for vault destruction in activity feed for administrators
- Password change requires re-encryption
- No option to show vault password when entering
- No means to switch vaults without logging out
- Add option to export & import passwords HOT 2
- passman.cc is down HOT 2
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 passman.