# Label "add to your Nextcloud HanssonIT VM" is confusing people

**URL:** <https://help.nextcloud.com/t/label-add-to-your-nextcloud-hanssonit-vm-is-confusing-people/142101>\
**Category:** 📦 Appliances (Docker, Snappy, VM, NCP, AIO)\
**Tags:** github\_issue\_exists, vm\
**Created:** [July 12, 2022, 5:50am UTC](https://help.nextcloud.com/t/label-add-to-your-nextcloud-hanssonit-vm-is-confusing-people/142101 "2022-07-12T05:50:05Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luc.buzenavl](https://help.nextcloud.com/letter_avatar/luc.buzenavl/32/6_22734026db12803ebb3e059622ac3534.png) [@Luc.buzenavl](https://help.nextcloud.com/u/Luc.buzenavl)\
**Post date:** [July 12, 2022, 5:50am UTC](https://help.nextcloud.com/t/label-add-to-your-nextcloud-hanssonit-vm-is-confusing-people/142101/1 "2022-07-12T05:50:05Z")

</div>

Hello, we are using a Nextcloud VM, users who receive sharing links see (image attached) that the message displayed in the download console is “ **add to your Nextcloud HanssonIT VM** ” instead of “ **add to your Nextcloud** ”

Users who have public “Nextcloud” accounts believe that this feature is only valid for those who are on “HanssonIT VM” instances!

Is this limitation real? how to personalize this message please?

best regards  
Luke

![CaptureHanssonIT](https://help.nextcloud.com/uploads/default/original/3X/9/6/9693eeb787ffaf5890fa8cbe2c8d5c63fa31e241.gif)

---

<div class="post-metadata">

**Author:** ![devnull](https://help.nextcloud.com/user_avatar/help.nextcloud.com/devnull/32/27793_2.png) [@devnull](https://help.nextcloud.com/u/devnull)\
**Post date:** [July 12, 2022, 6:29am UTC](https://help.nextcloud.com/t/label-add-to-your-nextcloud-hanssonit-vm-is-confusing-people/142101/2 "2022-07-12T06:29:44Z")

</div>

I think you find it in  
`server/apps/files_sharing/l10n`

Example normal Nextcloud:  
`"Add to your Nextcloud" : "Add to your Nextcloud",`  
[en\_GB.js](https://github.com/nextcloud/server/blob/f41c45878fd3800a355da4dbcbeba8133f418326/apps/files_sharing/l10n/en_GB.js)  
[en\_GB.json](https://github.com/nextcloud/server/blob/f41c45878fd3800a355da4dbcbeba8133f418326/apps/files_sharing/l10n/en_GB.json)

In other languages there is additional:  
`"Add to your %s" : "Hinzufügen zu Deiner %s",`  
[de.js](https://github.com/nextcloud/server/blob/master/apps/files_sharing/l10n/de.js)  
[de.json](https://github.com/nextcloud/server/blob/master/apps/files_sharing/l10n/de.json)

Maybe **Nextcloud HanssonIT VM** is a text or a variable **%s**.

Is it not possible to surf through the [source code](https://github.com/nextcloud/vm/releases)? I do not want to download a tarball of the code.

---

<div class="post-metadata">

**Author:** ![SysKeeper](https://help.nextcloud.com/letter_avatar/syskeeper/32/6_22734026db12803ebb3e059622ac3534.png) [@SysKeeper](https://help.nextcloud.com/u/SysKeeper)\
**Post date:** [July 12, 2022, 6:54am UTC](https://help.nextcloud.com/t/label-add-to-your-nextcloud-hanssonit-vm-is-confusing-people/142101/3 "2022-07-12T06:54:51Z")

</div>

Have a look at the theming settings under `/settings/admin/theming`

The part in the installation script is at [vm/nextcloud\_install\_production.sh at 961c3862dfffbf3dfc001b73bda90414e09123fb · nextcloud/vm · GitHub](https://github.com/nextcloud/vm/blob/961c3862dfffbf3dfc001b73bda90414e09123fb/nextcloud_install_production.sh#L615-L627) (also the corresponding occ command)

---

<div class="post-metadata">

**Author:** ![devnull](https://help.nextcloud.com/user_avatar/help.nextcloud.com/devnull/32/27793_2.png) [@devnull](https://help.nextcloud.com/u/devnull)\
**Post date:** [July 12, 2022, 7:04am UTC](https://help.nextcloud.com/t/label-add-to-your-nextcloud-hanssonit-vm-is-confusing-people/142101/4 "2022-07-12T07:04:23Z")

</div>

@SysKeeper  
Thank you.

Perhaps the wrong configuration entry has been made here. But still the text is nonsense when sharing. Correct is a text without the name of the VM-Nextcloud. Correct is “Add to your Nextcloud” because it is a different Nextcloud. Can you create an issue?

---

<div class="post-metadata">

**Author:** ![SysKeeper](https://help.nextcloud.com/letter_avatar/syskeeper/32/6_22734026db12803ebb3e059622ac3534.png) [@SysKeeper](https://help.nextcloud.com/u/SysKeeper)\
**Post date:** [July 12, 2022, 12:01pm UTC](https://help.nextcloud.com/t/label-add-to-your-nextcloud-hanssonit-vm-is-confusing-people/142101/5 "2022-07-12T12:01:14Z")

</div>

> [@devnull](#):
>
> Correct is “Add to your Nextcloud” because it is a different Nextcloud.

Not so sure tbh, when you look at [server/apps/files\_sharing/lib/Controller/ShareController.php at b2017cd5574fa2a4b4812ad5fa5c89dd9cd4dc7a · nextcloud/server · GitHub](https://github.com/nextcloud/server/blob/b2017cd5574fa2a4b4812ad5fa5c89dd9cd4dc7a/apps/files_sharing/lib/Controller/ShareController.php#L562-L563) it is intended that way.

I guess the other string comes from the test at [server/apps/files\_sharing/tests/Controller/ShareControllerTest.php at b2017cd5574fa2a4b4812ad5fa5c89dd9cd4dc7a · nextcloud/server · GitHub](https://github.com/nextcloud/server/blob/b2017cd5574fa2a4b4812ad5fa5c89dd9cd4dc7a/apps/files_sharing/tests/Controller/ShareControllerTest.php#L371) for example. But I haven’t spent too much time looking into this.

---

<div class="post-metadata">

**Author:** ![Luc.buzenavl](https://help.nextcloud.com/letter_avatar/luc.buzenavl/32/6_22734026db12803ebb3e059622ac3534.png) [@Luc.buzenavl](https://help.nextcloud.com/u/Luc.buzenavl)\
**Post date:** [July 12, 2022, 10:01pm UTC](https://help.nextcloud.com/t/label-add-to-your-nextcloud-hanssonit-vm-is-confusing-people/142101/6 "2022-07-12T22:01:06Z")

</div>

Thanks @devnull @SysKeeper !

I changed the productName setting with the command  
_occ config:app:set theming **productName** --value **Nextcloud** _

The display is now good … but I guess this setting will be wrong again in the next NextcloudVM update

---

<div class="post-metadata">

**Author:** ![devnull](https://help.nextcloud.com/user_avatar/help.nextcloud.com/devnull/32/27793_2.png) [@devnull](https://help.nextcloud.com/u/devnull)\
**Post date:** [July 13, 2022, 5:37am UTC](https://help.nextcloud.com/t/label-add-to-your-nextcloud-hanssonit-vm-is-confusing-people/142101/7 "2022-07-13T05:37:28Z")

</div>

Yes. This solves your problem.

But the real error is that in the dialog the mentioned (external) nextcloud is not the nextcloud you specify in the variable **productName**. It is any Nextcloud (“Add to **your** Nextcloud”). Maybe someone can create an issue for the VM. The used variable is wrong.

---

<div class="post-metadata">

**Author:** ![szaimen](https://help.nextcloud.com/user_avatar/help.nextcloud.com/szaimen/32/63019_2.png) [@szaimen](https://help.nextcloud.com/u/szaimen)\
**Post date:** [July 13, 2022, 7:49am UTC](https://help.nextcloud.com/t/label-add-to-your-nextcloud-hanssonit-vm-is-confusing-people/142101/8 "2022-07-13T07:49:58Z")

</div>

No, the setting is correct. I think this needs a discussion from the Design perspective.

Cc @jan

---

<div class="post-metadata">

**Author:** ![devnull](https://help.nextcloud.com/user_avatar/help.nextcloud.com/devnull/32/27793_2.png) [@devnull](https://help.nextcloud.com/u/devnull)\
**Post date:** [July 13, 2022, 8:06am UTC](https://help.nextcloud.com/t/label-add-to-your-nextcloud-hanssonit-vm-is-confusing-people/142101/9 "2022-07-13T08:06:10Z")

</div>

> [@szaimen](#):
>
> No, the setting is correct. I think this needs a discussion from the Design perspective.

No. It is totally wrong. Setting variable or programming.

**Example with other values:**  
source Nextcloud: `mycloud.example.com`  
destination Nextcloud: `cloud.example.com`

`Add to your Nextcloud mycloud.example.com` makes also no sense  
Correct is only `Add to your Nextcloud`

[![](https://docs.nextcloud.com/server/latest/user_manual/_images/share-federation-3-public.png) ](https://docs.nextcloud.com/server/latest/user_manual/_images/share-federation-3-public.png)

image source / documentation:  
[https://docs.nextcloud.com/server/latest/user\_manual/en/files/sharing.html](https://docs.nextcloud.com/server/latest/user_manual/en/files/sharing.html)

---

<div class="post-metadata">

**Author:** ![SysKeeper](https://help.nextcloud.com/letter_avatar/syskeeper/32/6_22734026db12803ebb3e059622ac3534.png) [@SysKeeper](https://help.nextcloud.com/u/SysKeeper)\
**Post date:** [July 13, 2022, 11:36am UTC](https://help.nextcloud.com/t/label-add-to-your-nextcloud-hanssonit-vm-is-confusing-people/142101/10 "2022-07-13T11:36:34Z")

</div>

> [@devnull](#):
>
> image source / documentation

Sure, because that’s the default product name. Still you’re free to change to product name from Nextcloud to anything different. In case of the VM “Nextcloud” is still part of the product name, that’s why it’s “Add to your Nextcloud HanssonIT VM”.

I agree with @szaimen that the productname at this specific label might (not) make sense, but I wouldn’t say it’s totally wrong either. When looking at bigger deployments with branding there shouldn’t be the name “Nextcloud” anywhere I guess.

---

<div class="post-metadata">

**Author:** ![devnull](https://help.nextcloud.com/user_avatar/help.nextcloud.com/devnull/32/27793_2.png) [@devnull](https://help.nextcloud.com/u/devnull)\
**Post date:** [July 13, 2022, 12:54pm UTC](https://help.nextcloud.com/t/label-add-to-your-nextcloud-hanssonit-vm-is-confusing-people/142101/11 "2022-07-13T12:54:52Z")

</div>

I don’t think you want to understand my problem. The product name of the Source-Nextcloud is used here for the Destination-Nextcloud. And that is complete nonsense.

[![](https://i.imgur.com/jyoFV91.gif) ](https://i.imgur.com/jyoFV91.gif)

vs.

[![](https://docs.nextcloud.com/server/latest/user_manual/_images/share-federation-3-public.png) ](https://docs.nextcloud.com/server/latest/user_manual/_images/share-federation-3-public.png)

---

<div class="post-metadata">

**Author:** ![jan](https://help.nextcloud.com/user_avatar/help.nextcloud.com/jan/32/75_2.png) [@jan](https://help.nextcloud.com/u/jan)\
**Post date:** [July 13, 2022, 2:04pm UTC](https://help.nextcloud.com/t/label-add-to-your-nextcloud-hanssonit-vm-is-confusing-people/142101/12 "2022-07-13T14:04:18Z")

</div>

> [@SysKeeper](#):
>
> I agree with @szaimen that the productname at this specific label might (not) make sense, but I wouldn’t say it’s totally wrong either. When looking at bigger deployments with branding there shouldn’t be the name “Nextcloud” anywhere I guess.

This is exactly the point indeed. What is shown here is simply what is pulled from the theming of the Nextcloud which people are looking at, so it might say anything, like “Jan’s cloud”, so it would say “Add to your Jan’s cloud”, which actually makes 0 sense indeed.  
On the other hand, as you said, for a branded cloud, you probably don’t want it to say “Nextcloud” anywhere. Then again, the feature should possibly be disabled completely then as a label saying “Add to your [company name which you don’t work at]” does not make sense either.

So I’d say it indeed makes sense to call the label “Add to your Nextcloud” here, and offer a way to disable the entry. What do you think @szaimen @Andy?

---

<div class="post-metadata">

**Author:** ![szaimen](https://help.nextcloud.com/user_avatar/help.nextcloud.com/szaimen/32/63019_2.png) [@szaimen](https://help.nextcloud.com/u/szaimen)\
**Post date:** [July 13, 2022, 3:10pm UTC](https://help.nextcloud.com/t/label-add-to-your-nextcloud-hanssonit-vm-is-confusing-people/142101/13 "2022-07-13T15:10:39Z")

</div>

I would simply rename the entry to indeed use `Nextcloud` here always.

As for disabling: I think there is already a way to disable this feature when federated sharing is disable on the server…

---

<div class="post-metadata">

**Author:** ![szaimen](https://help.nextcloud.com/user_avatar/help.nextcloud.com/szaimen/32/63019_2.png) [@szaimen](https://help.nextcloud.com/u/szaimen)\
**Post date:** [July 13, 2022, 3:16pm UTC](https://help.nextcloud.com/t/label-add-to-your-nextcloud-hanssonit-vm-is-confusing-people/142101/14 "2022-07-13T15:16:56Z")

</div>

Created a PR: [fix `Add to your Nextcloud` by szaimen · Pull Request #33227 · nextcloud/server · GitHub](https://github.com/nextcloud/server/pull/33227)

---

<div class="post-metadata">

**Author:** ![Andy](https://help.nextcloud.com/user_avatar/help.nextcloud.com/andy/32/76730_2.png) [@Andy](https://help.nextcloud.com/u/Andy)\
**Post date:** [July 13, 2022, 5:07pm UTC](https://help.nextcloud.com/t/label-add-to-your-nextcloud-hanssonit-vm-is-confusing-people/142101/15 "2022-07-13T17:07:45Z")

</div>

I agree 👍

---

<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:** [December 13, 2024, 2:28pm UTC](https://help.nextcloud.com/t/label-add-to-your-nextcloud-hanssonit-vm-is-confusing-people/142101/16 "2024-12-13T14:28:12Z")

</div>


