# App not working

**URL:** <https://help.nextcloud.com/t/app-not-working/21858>\
**Category:** ℹ️ Support\
**Tags:** filelink-app\
**Created:** [October 3, 2017, 8:30pm UTC](https://help.nextcloud.com/t/app-not-working/21858 "2017-10-03T20:30:28Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rydem\_Storm](https://help.nextcloud.com/user_avatar/help.nextcloud.com/rydem_storm/32/5962_2.png) [@Rydem\_Storm](https://help.nextcloud.com/u/Rydem_Storm)\
**Post date:** [October 3, 2017, 8:30pm UTC](https://help.nextcloud.com/t/app-not-working/21858/1 "2017-10-03T20:30:28Z")

</div>

Nextcloud: nextcloud-12.0.3.zip  
Mail client: Thunderbird Setup 52.3.0.exe  
Add-on: nextcloud\_for\_filelink-1.7-tb.xpi (from [https://addons.mozilla.org/en-US/thunderbird/addon/nextcloud-filelink/?src=search](https://addons.mozilla.org/en-US/thunderbird/addon/nextcloud-filelink/?src=search))  
Provider: xxx  
Server URL: [https://10.5.1.200/nextcloud/remote.php/webdav/](https://10.5.1.200/nextcloud/remote.php/webdav/)  
Port number: 443  
Username: yyy  
Storage path in Nextcloud: /Mail-attachments (this folder was created)  
Password for uploadeds files: (blank)  
Error message: An error ocurred while setting up the account!  
Developer Tools error message:  
2017-10-03 16:09:14 Nextcloud ERROR Could not retrieve password  
log4moz.js:691

Version 1.6 nextcloud\_for\_filelink did not work either.  
If you need some extra information, you can request it, I will cooperate in what they need to solve the problem.

---

<div class="post-metadata">

**Author:** ![moretocome](https://help.nextcloud.com/user_avatar/help.nextcloud.com/moretocome/32/6113_2.png) [@moretocome](https://help.nextcloud.com/u/moretocome)\
**Post date:** [October 3, 2017, 9:07pm UTC](https://help.nextcloud.com/t/app-not-working/21858/2 "2017-10-03T21:07:02Z")

</div>

I don’t think “remote.php/webdav/” is necessary in the server URL. I’m not sure that is your problem though, but at least I don’t have it in my settings, and my file link for Nextcloud is working.

Earlier I have had problems with (wrong) saved credentials in Thunderbird though. Try deleting any saved credentials for 10.5.1.200/nextcloud/ in you Thunderbird preferences (Security tab \> Saved Passwords) and save the settings again to re-open the password prompt.

---

<div class="post-metadata">

**Author:** ![Rydem\_Storm](https://help.nextcloud.com/user_avatar/help.nextcloud.com/rydem_storm/32/5962_2.png) [@Rydem\_Storm](https://help.nextcloud.com/u/Rydem_Storm)\
**Post date:** [October 9, 2017, 1:50pm UTC](https://help.nextcloud.com/t/app-not-working/21858/3 "2017-10-09T13:50:02Z")

</div>

Sorry for the delay but I’ve had personal problems.  
Server URL: [https://10.5.1.200/nextcloud/](https://10.5.1.200/nextcloud/)  
I do a new test, just changing “Server URL” as Moretocome suggested. I got the following errors:

2017-10-09 09:29:48 Nextcloud ERROR Could not retrieve password  
log4moz.js:691  
CApp\_append resource:///modules/gloda/log4moz.js:691:7  
Logger\_log resource:///modules/gloda/log4moz.js:380:7  
Logger\_error resource:///modules/gloda/log4moz.js:388:5  
nsNc\_logon jar:file:///C:/Users/Vos/AppData/Roaming/Thunderbird/Profiles/yc3788bb.default/extensions/owncloud@viguierjust.com.xpi!/components/nsNextcloud.js:430:4  
nsNc\_createExistingAccount jar:file:///C:/Users/Vos/AppData/Roaming/Thunderbird/Profiles/yc3788bb.default/extensions/owncloud@viguierjust.com.xpi!/components/nsNextcloud.js:310:3  
cloudFileAccounts.createAccount resource:///modules/cloudFileAccounts.js:111:9  
AAD\_onOK chrome://messenger/content/cloudfile/addAccountDialog.js:229:20  
anonymous chrome://global/content/bindings/dialog.xml%20line%20380%20%3E%20Function:1:8  
\_fireButtonEvent chrome://global/content/bindings/dialog.xml:381:28  
\_doButtonCommand chrome://global/content/bindings/dialog.xml:349:28  
\_handleButtonCommand chrome://global/content/bindings/dialog.xml:337:18  
CFA\_addAccountDialog resource:///modules/cloudFileAccounts.js:193:5  
CFT\_addCloudFileAccount chrome://messenger/content/preferences/applications.js:759:22  
gCloudFileController.commands.cmd\_addCloudfileAccount.doCommand chrome://messenger/content/preferences/applications.js:445:9  
gCloudFileController.doCommand chrome://messenger/content/preferences/applications.js:489:5  
goDoCommand chrome://global/content/globalOverlay.js:100:7  
oncommand chrome://messenger/content/preferences/preferences.xul:1:1  
gViewController.commands.cmd\_showItemPreferences.doCommand chrome://mozapps/content/extensions/extensions.js:1193:9  
gViewController.doCommand chrome://mozapps/content/extensions/extensions.js:1530:5  
showPreferences chrome://mozapps/content/extensions/extensions.xml:1555:11  
oncommand about:addons:1:1  
NS\_ERROR\_UNEXPECTED: Component returned failure code: 0x8000ffff (NS\_ERROR\_UNEXPECTED) [nsIPrefBranch.getCharPref] cloudFileAccounts.js:154  
cloudFileAccounts.getAccount resource:///modules/cloudFileAccounts.js:154:16  
get accounts/\< resource:///modules/cloudFileAccounts.js:175:44  
filter self-hosted:301:17  
get accounts resource:///modules/cloudFileAccounts.js:175:12  
CFT\_rebuildView chrome://messenger/content/preferences/applications.js:585:9  
CFT\_addCloudFileAccount chrome://messenger/content/preferences/applications.js:763:5  
gCloudFileController.commands.cmd\_addCloudfileAccount.doCommand chrome://messenger/content/preferences/applications.js:445:9  
gCloudFileController.doCommand chrome://messenger/content/preferences/applications.js:489:5  
goDoCommand chrome://global/content/globalOverlay.js:100:7  
oncommand chrome://messenger/content/preferences/preferences.xul:1:1  
gViewController.commands.cmd\_showItemPreferences.doCommand chrome://mozapps/content/extensions/extensions.js:1193:9  
gViewController.doCommand chrome://mozapps/content/extensions/extensions.js:1530:5  
showPreferences chrome://mozapps/content/extensions/extensions.xml:1555:11  
oncommand about:addons:1:1  
An error occurred executing the cmd\_addCloudfileAccount command: [Exception… “Component returned failure code: 0x8000ffff (NS\_ERROR\_UNEXPECTED) [nsIPrefBranch.getCharPref]” nsresult: “0x8000ffff (NS\_ERROR\_UNEXPECTED)” location: “JS frame :: resource:///modules/cloudFileAccounts.js :: cloudFileAccounts.getAccount :: line 154” data: no] globalOverlay.js:103  
goDoCommand chrome://global/content/globalOverlay.js:103:5  
oncommand chrome://messenger/content/preferences/preferences.xul:1:1  
gViewController.commands.cmd\_showItemPreferences.doCommand chrome://mozapps/content/extensions/extensions.js:1193:9  
gViewController.doCommand chrome://mozapps/content/extensions/extensions.js:1530:5  
showPreferences chrome://mozapps/content/extensions/extensions.xml:1555:11  
oncommand about:addons:1:1

---

<div class="post-metadata">

**Author:** ![Rydem\_Storm](https://help.nextcloud.com/user_avatar/help.nextcloud.com/rydem_storm/32/5962_2.png) [@Rydem\_Storm](https://help.nextcloud.com/u/Rydem_Storm)\
**Post date:** [October 9, 2017, 2:03pm UTC](https://help.nextcloud.com/t/app-not-working/21858/4 "2017-10-09T14:03:27Z")

</div>

After attempting to add Nextcloud, the lightning-5.4-sm + tb-windows.xpi add-in is corrupted. When trying to add a new storage service there is no option available to add.  
I have to delete the profile folder to get the add-in to be restored.

---

<div class="post-metadata">

**Author:** ![anon87376550](https://help.nextcloud.com/letter_avatar/anon87376550/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon87376550](https://help.nextcloud.com/u/anon87376550)\
**Post date:** [October 13, 2017, 7:15pm UTC](https://help.nextcloud.com/t/app-not-working/21858/5 "2017-10-13T19:15:12Z")

</div>

I had the same issue.  
Check your Nextcloud configuration in the “Sharing” section of the admin page of your Nextcloud installation. The option “Allow users to share via link” must be enabled. “Enforce password protection” may be enabled. If so, you have to enter exactly this password in the plugin configuration (“Password for uploaded files”).  
If you disable “Enforce password protection” in the Nextcloud configuration, you have to leave the option blank in the plugin configuration.  
If you do not want to delete and recreate your Plugin configuration, you can set (and check) the values in about:config.  
mail.cloud\_files.accounts.account1.displayName  
mail.cloud\_files.accounts.account1.port  
mail.cloud\_files.accounts.account1.server  
mail.cloud\_files.accounts.account1.type  
mail.cloud\_files.accounts.account1.username  
mail.cloud\_files.accounts.account1.protectUploads

---

<div class="post-metadata">

**Author:** ![Rydem\_Storm](https://help.nextcloud.com/user_avatar/help.nextcloud.com/rydem_storm/32/5962_2.png) [@Rydem\_Storm](https://help.nextcloud.com/u/Rydem_Storm)\
**Post date:** [October 23, 2017, 5:40pm UTC](https://help.nextcloud.com/t/app-not-working/21858/6 "2017-10-23T17:40:39Z")

</div>

I put the password as you indicate, without quotes, with quotes and with the parentisis in addition and nothing, it keeps giving error.

2017-10-23 13:33:27 Nextcloud ERROR Could not retrieve password  
log4moz.js:691  
CApp\_append resource:///modules/gloda/log4moz.js:691:7  
Logger\_log resource:///modules/gloda/log4moz.js:380:7  
Logger\_error resource:///modules/gloda/log4moz.js:388:5  
nsNc\_logon jar:file:///C:/Users/Vos/AppData/Roaming/Thunderbird/Profiles/outnpehs.default/extensions/owncloud@viguierjust.com.xpi!/components/nsNextcloud.js:430:4  
nsNc\_createExistingAccount jar:file:///C:/Users/Vos/AppData/Roaming/Thunderbird/Profiles/outnpehs.default/extensions/owncloud@viguierjust.com.xpi!/components/nsNextcloud.js:310:3  
cloudFileAccounts.createAccount resource:///modules/cloudFileAccounts.js:111:9  
AAD\_onOK chrome://messenger/content/cloudfile/addAccountDialog.js:229:20  
anonymous chrome://global/content/bindings/dialog.xml%20line%20380%20%3E%20Function:1:8  
\_fireButtonEvent chrome://global/content/bindings/dialog.xml:381:28  
\_doButtonCommand chrome://global/content/bindings/dialog.xml:349:28  
\_handleButtonCommand chrome://global/content/bindings/dialog.xml:337:18  
CFA\_addAccountDialog resource:///modules/cloudFileAccounts.js:193:5  
CFT\_addCloudFileAccount chrome://messenger/content/preferences/applications.js:759:22  
gCloudFileController.commands.cmd\_addCloudfileAccount.doCommand chrome://messenger/content/preferences/applications.js:445:9  
gCloudFileController.doCommand chrome://messenger/content/preferences/applications.js:489:5  
goDoCommand chrome://global/content/globalOverlay.js:100:7  
oncommand chrome://messenger/content/preferences/preferences.xul:1:1  
gViewController.commands.cmd\_showItemPreferences.doCommand chrome://mozapps/content/extensions/extensions.js:1193:9  
gViewController.doCommand chrome://mozapps/content/extensions/extensions.js:1530:5  
showPreferences chrome://mozapps/content/extensions/extensions.xml:1555:11  
oncommand about:addons:1:1  
NS\_ERROR\_UNEXPECTED: Component returned failure code: 0x8000ffff (NS\_ERROR\_UNEXPECTED) [nsIPrefBranch.getCharPref] cloudFileAccounts.js:154  
cloudFileAccounts.getAccount resource:///modules/cloudFileAccounts.js:154:16  
get accounts/\< resource:///modules/cloudFileAccounts.js:175:44  
filter self-hosted:301:17  
get accounts resource:///modules/cloudFileAccounts.js:175:12  
CFT\_rebuildView chrome://messenger/content/preferences/applications.js:585:9  
CFT\_addCloudFileAccount chrome://messenger/content/preferences/applications.js:763:5  
gCloudFileController.commands.cmd\_addCloudfileAccount.doCommand chrome://messenger/content/preferences/applications.js:445:9  
gCloudFileController.doCommand chrome://messenger/content/preferences/applications.js:489:5  
goDoCommand chrome://global/content/globalOverlay.js:100:7  
oncommand chrome://messenger/content/preferences/preferences.xul:1:1  
gViewController.commands.cmd\_showItemPreferences.doCommand chrome://mozapps/content/extensions/extensions.js:1193:9  
gViewController.doCommand chrome://mozapps/content/extensions/extensions.js:1530:5  
showPreferences chrome://mozapps/content/extensions/extensions.xml:1555:11  
oncommand about:addons:1:1  
An error occurred executing the cmd\_addCloudfileAccount command: [Exception… “Component returned failure code: 0x8000ffff (NS\_ERROR\_UNEXPECTED) [nsIPrefBranch.getCharPref]” nsresult: “0x8000ffff (NS\_ERROR\_UNEXPECTED)” location: “JS frame :: resource:///modules/cloudFileAccounts.js :: cloudFileAccounts.getAccount :: line 154” data: no] globalOverlay.js:103  
goDoCommand chrome://global/content/globalOverlay.js:103:5  
oncommand chrome://messenger/content/preferences/preferences.xul:1:1  
gViewController.commands.cmd\_showItemPreferences.doCommand chrome://mozapps/content/extensions/extensions.js:1193:9  
gViewController.doCommand chrome://mozapps/content/extensions/extensions.js:1530:5  
showPreferences chrome://mozapps/content/extensions/extensions.xml:1555:11  
oncommand about:addons:1:1

---

<div class="post-metadata">

**Author:** ![Rydem\_Storm](https://help.nextcloud.com/user_avatar/help.nextcloud.com/rydem_storm/32/5962_2.png) [@Rydem\_Storm](https://help.nextcloud.com/u/Rydem_Storm)\
**Post date:** [October 23, 2017, 5:48pm UTC](https://help.nextcloud.com/t/app-not-working/21858/7 "2017-10-23T17:48:29Z")

</div>

If I disable the “Enforce password protection” option and do not specify any password, it gives an error.

2017-10-23 13:40:46 Nextcloud ERROR Could not retrieve password  
log4moz.js:691  
CApp\_append resource:///modules/gloda/log4moz.js:691:7  
Logger\_log resource:///modules/gloda/log4moz.js:380:7  
Logger\_error resource:///modules/gloda/log4moz.js:388:5  
nsNc\_logon jar:file:///C:/Users/Vos/AppData/Roaming/Thunderbird/Profiles/outnpehs.default/extensions/owncloud@viguierjust.com.xpi!/components/nsNextcloud.js:430:4  
nsNc\_createExistingAccount jar:file:///C:/Users/Vos/AppData/Roaming/Thunderbird/Profiles/outnpehs.default/extensions/owncloud@viguierjust.com.xpi!/components/nsNextcloud.js:310:3  
cloudFileAccounts.createAccount resource:///modules/cloudFileAccounts.js:111:9  
AAD\_onOK chrome://messenger/content/cloudfile/addAccountDialog.js:229:20  
anonymous chrome://global/content/bindings/dialog.xml%20line%20380%20%3E%20Function:1:8  
\_fireButtonEvent chrome://global/content/bindings/dialog.xml:381:28  
\_doButtonCommand chrome://global/content/bindings/dialog.xml:349:28  
\_handleButtonCommand chrome://global/content/bindings/dialog.xml:337:18  
CFA\_addAccountDialog resource:///modules/cloudFileAccounts.js:193:5  
CFT\_addCloudFileAccount chrome://messenger/content/preferences/applications.js:759:22  
gCloudFileController.commands.cmd\_addCloudfileAccount.doCommand chrome://messenger/content/preferences/applications.js:445:9  
gCloudFileController.doCommand chrome://messenger/content/preferences/applications.js:489:5  
goDoCommand chrome://global/content/globalOverlay.js:100:7  
oncommand chrome://messenger/content/preferences/preferences.xul:1:1  
gViewController.commands.cmd\_showItemPreferences.doCommand chrome://mozapps/content/extensions/extensions.js:1193:9  
gViewController.doCommand chrome://mozapps/content/extensions/extensions.js:1530:5  
showPreferences chrome://mozapps/content/extensions/extensions.xml:1555:11  
oncommand about:addons:1:1  
NS\_ERROR\_UNEXPECTED: Component returned failure code: 0x8000ffff (NS\_ERROR\_UNEXPECTED) [nsIPrefBranch.getCharPref] cloudFileAccounts.js:154  
cloudFileAccounts.getAccount resource:///modules/cloudFileAccounts.js:154:16  
get accounts/\< resource:///modules/cloudFileAccounts.js:175:44  
filter self-hosted:301:17  
get accounts resource:///modules/cloudFileAccounts.js:175:12  
CFT\_rebuildView chrome://messenger/content/preferences/applications.js:585:9  
CFT\_addCloudFileAccount chrome://messenger/content/preferences/applications.js:763:5  
gCloudFileController.commands.cmd\_addCloudfileAccount.doCommand chrome://messenger/content/preferences/applications.js:445:9  
gCloudFileController.doCommand chrome://messenger/content/preferences/applications.js:489:5  
goDoCommand chrome://global/content/globalOverlay.js:100:7  
oncommand chrome://messenger/content/preferences/preferences.xul:1:1  
gViewController.commands.cmd\_showItemPreferences.doCommand chrome://mozapps/content/extensions/extensions.js:1193:9  
gViewController.doCommand chrome://mozapps/content/extensions/extensions.js:1530:5  
showPreferences chrome://mozapps/content/extensions/extensions.xml:1555:11  
oncommand about:addons:1:1  
An error occurred executing the cmd\_addCloudfileAccount command: [Exception… “Component returned failure code: 0x8000ffff (NS\_ERROR\_UNEXPECTED) [nsIPrefBranch.getCharPref]” nsresult: “0x8000ffff (NS\_ERROR\_UNEXPECTED)” location: “JS frame :: resource:///modules/cloudFileAccounts.js :: cloudFileAccounts.getAccount :: line 154” data: no] globalOverlay.js:103  
goDoCommand chrome://global/content/globalOverlay.js:103:5  
oncommand chrome://messenger/content/preferences/preferences.xul:1:1  
gViewController.commands.cmd\_showItemPreferences.doCommand chrome://mozapps/content/extensions/extensions.js:1193:9  
gViewController.doCommand chrome://mozapps/content/extensions/extensions.js:1530:5  
showPreferences chrome://mozapps/content/extensions/extensions.xml:1555:11  
oncommand about:addons:1:1

---

<div class="post-metadata">

**Author:** ![anon87376550](https://help.nextcloud.com/letter_avatar/anon87376550/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon87376550](https://help.nextcloud.com/u/anon87376550)\
**Post date:** [October 23, 2017, 6:41pm UTC](https://help.nextcloud.com/t/app-not-working/21858/8 "2017-10-23T18:41:28Z")

</div>

My issue reappeared. No configuration changes, just a day later on Thunderbird/Ubuntu and Thunderbird portable/Windows 7.

---

<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 2, 2024, 2:44pm UTC](https://help.nextcloud.com/t/app-not-working/21858/9 "2024-12-02T14:44:07Z")

</div>



---

<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 4, 2024, 1:59pm UTC](https://help.nextcloud.com/t/app-not-working/21858/10 "2024-12-04T13:59:32Z")

</div>


