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

Breaks WebUI with installation from App Store of NC 20 #50

Open
laatzener opened this issue Jan 7, 2021 · 6 comments
Open

Breaks WebUI with installation from App Store of NC 20 #50

laatzener opened this issue Jan 7, 2021 · 6 comments

Comments

@laatzener
Copy link

laatzener commented Jan 7, 2021

Hello,
First I would like to thank you for project. Problem I found seem to be an Interface change in NextCloud where other „files_external“ Apps have the same problem:
So I tried to install the App from NextCloud 20 Appstore. But afterwards the whole web interface is broken, only an empty page will be displayed.

When trying to deactivating the app, following happen:

pi@raspberrypi:~ $ sudo -u www-data php /var/www/nextcloud/occ app:list
PHP Fatal error: Interface 'OCA\Files_External\Lib\Config\IBackendProvider' not found in /var/www/nextcloud/apps/files_external_onedrive/lib/AppInfo/Application.php on line 38

pi@raspberrypi:~ $ sudo -u www-data php /var/www/nextcloud/occ app:disable files_external_onedrive
PHP Fatal error: Interface 'OCA\Files_External\Lib\Config\IBackendProvider' not found in /var/www/nextcloud/apps/files_external_onedrive/lib/AppInfo/Application.php on line 38

Work around to fix the Web UI is to remove the folder of the app:
/var/www/nextcloud/apps/files_external_onedrive

Does anyone have an idea how to fix?

Thank you
Christian

@cazee
Copy link

cazee commented Jan 16, 2021

Same here.

@Donatzsky
Copy link

Had the same problem. Turns out it's because I hadn't installed the External storage support app first.

As a first step, this requirement really needs to be added to the app description.

@cazee
Copy link

cazee commented Jan 16, 2021

good to know. For me, External storage support was installed before but still had the problems

@Donatzsky
Copy link

good to know. For me, External storage support was installed before but still had the problems

Have you tried reinstalling it?

@laatzener
Copy link
Author

Thank you, now I was able to activate it after I activated “external storage support” and reinstalled the App. Web UI was not broken and I was also able to activate OneDrive for the users of NextCloud.

But in the User Settings, when trying to login to Microsoft, after adding my User-ID the following error came from the Microsoft page:

“unauthorized_client: The client does not exist or is not enabled for consumers. If you are the application developer, configure a new application through the App Registrations in the Azure Portal at https://go.microsoft.com/fwlink/?linkid=2083908.”

@Donatzsky
Copy link

“unauthorized_client: The client does not exist or is not enabled for consumers. If you are the application developer, configure a new application through the App Registrations in the Azure Portal at https://go.microsoft.com/fwlink/?linkid=2083908.”

You need to use the Application (client) ID, which you'll find on the Overview page for your app. I was also banging my head against that same wall for a few days, before figuring out what I was doing wrong (I tried using the Client ID found under Client Secrets).

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

3 participants