# NextcloudPi App - icon does not link to ncp install

**URL:** <https://help.nextcloud.com/t/nextcloudpi-app-icon-does-not-link-to-ncp-install/174760>\
**Category:** ℹ️ Support\
**Tags:** ncp\
**Created:** [November 20, 2023, 10:30pm UTC](https://help.nextcloud.com/t/nextcloudpi-app-icon-does-not-link-to-ncp-install/174760 "2023-11-20T22:30:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![panca](https://help.nextcloud.com/user_avatar/help.nextcloud.com/panca/32/71138_2.png) [@panca](https://help.nextcloud.com/u/panca)\
**Post date:** [November 20, 2023, 10:30pm UTC](https://help.nextcloud.com/t/nextcloudpi-app-icon-does-not-link-to-ncp-install/174760/1 "2023-11-20T22:30:41Z")

</div>

Nextcloud version : `27.3.2`  
Operating system and version: `Debian bookworm (RPIOS bookworm`  
Apache or nginx version: `2.4.56`  
PHP version: `8.1.25`

The issue you are facing:

I installed ncp and nextcloud through the Raspberry Pi image and have in running well (a bit slow 😉 ) on a RPI4 4GB. I access it through a local custom domain (with a self-generated certificate) and can access nextcloud on [https://mydomain](https://mydomain) and ncp on [https://mydomain:4443](https://mydomain:4443). That’s great and was pretty easy to install!

I also installed the nextcloudpi-App in nextcloud. My problem is that the app-icon does not point to the ncp-install which is already running. Instead of the ncp install (which is accessible through [https://mydomain:4443](https://mydomain:4443)), I get an empty page with: `{"message":"CORS requires basic auth"}`. The adress-bar contains `https://mydomain/apps/nextcloudpi/`

Is there a configuration file, in which I can enter the required link, to which this icon should point - or is there another way to get the “ncp-app-button” open ncp (if necessary a fresh install?). I like the concept of accessing both nc and ncp from the same link.  
Thanks for suggestions.

Is this the first time you’ve seen this error?:  
I think it’s always been there. It’s not an error, I think, just a missing configuration.

Steps to replicate it:  
Press the nextcloudpi button/icon in an install that was started from an RPI-image.

---

<div class="post-metadata">

**Author:** ![AlbertoCaneteDj](https://help.nextcloud.com/letter_avatar/albertocanetedj/32/5_5575768a8748004e209b776fc1b2916d.png) [@AlbertoCaneteDj](https://help.nextcloud.com/u/AlbertoCaneteDj)\
**Post date:** [November 21, 2023, 7:24am UTC](https://help.nextcloud.com/t/nextcloudpi-app-icon-does-not-link-to-ncp-install/174760/2 "2023-11-21T07:24:15Z")

</div>

Yes that it is because you don’t have the 4443 port open on your router I think, I am in the same situation. You can open this port but it better less port open outside your internal net

---

<div class="post-metadata">

**Author:** ![OliverV](https://help.nextcloud.com/user_avatar/help.nextcloud.com/oliverv/32/5741_2.png) [@OliverV](https://help.nextcloud.com/u/OliverV)\
**Post date:** [November 21, 2023, 7:26am UTC](https://help.nextcloud.com/t/nextcloudpi-app-icon-does-not-link-to-ncp-install/174760/3 "2023-11-21T07:26:39Z")

</div>

Afaik ncp admin page :4443 is only accessible from within LAN for security reasons.  
So one should always use localIP:4443  
Best to use ssh and use ncp-config to access from outside.

---

<div class="post-metadata">

**Author:** ![panca](https://help.nextcloud.com/user_avatar/help.nextcloud.com/panca/32/71138_2.png) [@panca](https://help.nextcloud.com/u/panca)\
**Post date:** [November 21, 2023, 3:11pm UTC](https://help.nextcloud.com/t/nextcloudpi-app-icon-does-not-link-to-ncp-install/174760/4 "2023-11-21T15:11:48Z")

</div>

I am tryin to access ncp from inside my LAN, and ports can’t be closed, as I can access ncp by running `https://mydomain:4443` within the lan - provided the host I am accessing _from_ knows which ip to resolve `mydomain` to, which - for the time being - I achieve with a manual entry in the hosts file.

However, now that I come to think of it: what kind of link or “connection” does the nextcloudpi app use to access ncp? Does it internally use a http-link, or does it expect ncp to reside in a certain filesystem-position relative to the nextcloud site? I’d expect it to use `localhost:4443`, which should be domain-name independent. But likely this works in an entirrly different way anyhow?

---

<div class="post-metadata">

**Author:** ![treesMcGees](https://help.nextcloud.com/user_avatar/help.nextcloud.com/treesmcgees/32/65509_2.png) [@treesMcGees](https://help.nextcloud.com/u/treesMcGees)\
**Post date:** [December 7, 2024, 3:21pm UTC](https://help.nextcloud.com/t/nextcloudpi-app-icon-does-not-link-to-ncp-install/174760/5 "2024-12-07T15:21:40Z")

</div>

After much searching, the “CORS REQUIRES BASIC AUTH” error when you click the nextcloudpi button appears to be a bug. The workaround is to not use that button. Hopefully they fix it someday or at least remove the button.

> <https://github.com/nextcloud/nextcloudpi/issues/1840>
>
> uBlockOrigin blocks https://ownyourbits.com/category/nextcloudpi/ so I couldn't …look there.
> 
> https://github.com/nextcloud/nextcloudpi/wiki/FAQ makes no mention of CORS
> 
> the documentation page at https://apps.nextcloud.com/apps/nextcloudpi is a 404, but the link to report leads to here, and I could find no mention of the app called nextcloudpi, this appears to be about the distro nextcloudpi (which I am enjoying). So I don't even know what that app would do if it worked, however it appears by default on the dashboard, and when clicked it displays a text page with only a CORS error, the user is then locked out and sometimes the server is left in a locked state.
> 
> considering the /settings/apps/installed/nextcloudpi shows this app as version 0.0.1 I'm hoping I can just remove it.

I am going through and replying to all these CORS threads with a message pointing to this bug report so people will have an answer.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [May 22, 2025, 5:52am UTC](https://help.nextcloud.com/t/nextcloudpi-app-icon-does-not-link-to-ncp-install/174760/6 "2025-05-22T05:52:10Z")

</div>


