Giter VIP home page Giter VIP logo

Comments (15)

binsky08 avatar binsky08 commented on May 23, 2024 2

I was able to identify it as a problem with the ShareMiddleware and APIMiddleware.
But if I don't find a solution quickly, I won't be able to try again until next week.

from passman.

binsky08 avatar binsky08 commented on May 23, 2024 1

thanks for the feedback
migration namespace in nc27 branch should be fixed

there will be a release as soon as one of the maintainers @animalillo @brantje has time for a review and merge

from passman.

binsky08 avatar binsky08 commented on May 23, 2024 1

@lcuis um, that's kinda bad. Usually it should work with that kind of snapshot version from the repo.
Please try again with the current nc27 version (added a commit some hours ago).
Make sure there are correct file+folder permissions (or set chmod -R 775 apps/passman, but for testing only!)

Could you provide some specs about your installation (system, database, php version, nextcloud version)

from passman.

lcuis avatar lcuis commented on May 23, 2024 1

Thanks a lot @binsky08 , my issue was simply with the permissions. I forgot this step:

chown -R www-data:www-data passman

I don't have any problematic logs anymore regarding passman.

I can now access my passwords from the NC27 web interface and from the app. Your NC27 branch worked like a charm for me.

Just for completion, here are the details:
kernel 6.1.0-9-amd64
Debian GNU/Linux 12 (bookworm)
mariadb Ver 15.1 Distrib 10.11.3-MariaDB, for debian-linux-gnu (x86_64)
Server version: Apache/2.4.57 (Debian)
Server built: 2023-04-13T03:26:51
PHP 8.2.7
Nextcloud 27.0.0

from passman.

binsky08 avatar binsky08 commented on May 23, 2024

nc27 is not yet supported by Passman.
It might be a few weeks before I deal with it though.

from passman.

OsiMood avatar OsiMood commented on May 23, 2024

I unfortunately did the move and now can not access passwords.... my mistake but extremely painful lesson

from passman.

binsky08 avatar binsky08 commented on May 23, 2024

The problem is that nc27 enforces PSR-4 autoloading / naming convention.

from passman.

OsiMood avatar OsiMood commented on May 23, 2024

is there any easy fix ? is there anything I can help with ?

from passman.

WN1188 avatar WN1188 commented on May 23, 2024

Any updates on when 27.0.0 support will be added? Need any help on this one?

from passman.

binsky08 avatar binsky08 commented on May 23, 2024

Hey @WN1188, currently trying to migrate Passman to nc27, but i have a blocking problem.

I already migrated that autoloading stuff.
After that, the frontend is kind of empty. (also in nc26 - so that's not a problem with nc27)
image

Thats the only error I get:
image

It has to be something with css or js, but that shouldn't have anything to do with the PHP controller logic.

The current state (checkout with nc26 (for dev reasons) should work as well): https://github.com/nextcloud/passman/tree/nc27

from passman.

olodar avatar olodar commented on May 23, 2024

Same problem here.
Repair error: Autoload path not allowed: /var/www/html/apps/passman/migration/serversideencryption.php

sudo -u www-data php occ maintenance:repair
Failed to load repair step for passman: Autoload path not allowed: /var/www/html/apps/passman/migration/serversideencryption.php

from passman.

binsky08 avatar binsky08 commented on May 23, 2024

@olodar are you using the current app release from the nextcloud app store or the nc27 branch of this repo?

from passman.

olodar avatar olodar commented on May 23, 2024

@olodar are you using the current app release from the nextcloud app store or the nc27 branch of this repo?

From NX app store. Before upgrade to NX 27 I have upgraded passman to 2.4.5.

from passman.

OsiMood avatar OsiMood commented on May 23, 2024

@olodar , same result here. Still Passman is loading and working in the frontend

from passman.

lcuis avatar lcuis commented on May 23, 2024

Hi @binsky08 ,

Thanks a lot for looking into this issue.

I wanted to try your solution on my NC27 installation but this gives me new errors. Here is what I did:

  1. I downloaded your branch code from https://github.com/nextcloud/passman/archive/refs/heads/nc27.zip
  2. I unzipped
  3. rm -rf .d* .gitignore .jshintrc .scrutinizer.yml .travis.yml .tx/
  4. Replaced my installation of passman with this folder in nextcloud/apps
  5. Load /apps/passman/

I got the internal server error and the following log in the NextCloud admin logs page:

[index] Error: OC\AppFramework\Utility\QueryNotFoundException: Could not resolve OCA\Passman\Controller\PageController! Class "OCA\Passman\Controller\PageController" does not exist at <<closure>>

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 /apps/passman/

There must be a process to prepare a release but I couldn't find it.

from passman.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.