Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Which version of nextcloud is supported by this app #114

Open
Qintiy opened this issue Jun 12, 2024 · 5 comments
Open

Which version of nextcloud is supported by this app #114

Qintiy opened this issue Jun 12, 2024 · 5 comments

Comments

@Qintiy
Copy link

Qintiy commented Jun 12, 2024

i am trying to install this app on NextCloud 26.0.1 and in readme is written that it supports 12 and 13. I am just wondering if this app is out of date??

I get this error in Loggs
`[no app in context] Error: Error: Class "OCP\App" not found at <>

  1. /var/www/nextcloud/apps/twofactor_privacyidea/appinfo/app.php line 25
    OCA\TwoFactor_privacyIDEA\AppInfo\Application->registerSettings()
  2. /var/www/nextcloud/lib/private/legacy/OC_App.php line 316
    require_once("/var/www/nextcl ... p")
  3. /var/www/nextcloud/lib/private/legacy/OC_App.php line 192
    OC_App::requireAppFile()
  4. /var/www/nextcloud/lib/private/legacy/OC_App.php line 141
    OC_App::loadApp()
  5. /var/www/nextcloud/lib/private/legacy/OC_User.php line 128
    OC_App::loadApps()
  6. /var/www/nextcloud/lib/base.php line 758
    OC_User::setupBackends()
  7. /var/www/nextcloud/lib/base.php line 1165
    OC::init()
  8. /var/www/nextcloud/index.php line 34
    require_once("/var/www/nextcloud/lib/base.php")
    `

and the file /var/www/nextcloud/apps/twofactor_privacyidea/appinfo/app.php has thic content:
`<?php

/**

  • @author Cornelius K lbel [email protected]
  • @author Lukas Matusiewicz [email protected]
  • @license AGPL-3.0
  • This code is a free software: You can redistribute it and/or modify
  • it under the terms of the GNU Affero General Public License, version 3,
  • as published by the Free Software Foundation.
  • This program is distributed in the hope that it will be useful,
  • but WITHOUT ANY WARRANTY; without even the implied warranty of
  • MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  • GNU Affero General Public License for more details.
  • You should have received a copy of the GNU Affero General Public License, version 3,
  • along with this program. If not, see http://www.gnu.org/licenses/
    */

use OCA\TwoFactor_privacyIDEA\AppInfo\Application;
$app = new Application();
// register the configuration settings templates
$app->registerSettings();`

@nilsbehlen
Copy link
Member

Sir, this is an owncloud app ;)

From what i know, the internals on owncloud and nextcloud are not the same anymore (and that is what is probably causing the Class not found error), so this app does not work with nextcloud.

We are currently working on a nextcloud app, which should then be available from the nextcloud store. But i do not have an ETA yet.

@Qintiy
Copy link
Author

Qintiy commented Jun 12, 2024

Thanks for the information. For the nextcloud app release information will be probably on official privacyidea website or is there a news or relase website for privacyidea and apps?

@nilsbehlen
Copy link
Member

yes, or when a repo is added to the github org you could try it earlier, since i guess you know what you are doing, you dont need it to be in the store.

@Qintiy
Copy link
Author

Qintiy commented Jun 13, 2024

so for now to make it work on nextcloud the only solution is simplesamlphp am I right?

@nilsbehlen
Copy link
Member

or keycloak, which is way better than ssp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants