nextcloud-filelink
nextcloud-filelink copied to clipboard
Setup account failed
Bug report
It is not possible to setup the account with my nextcloud instance. It looks like the problem is that my nextcloud is running in a subfolder: https://mydomain.de/nextcloud
Steps to reproduce
- Add account in thunderbird preferences
- Use the following settings:
ServerURL: https://mydomain.de/nextcloud Port: 443 Storagepath: /Mail-attachments
Result: "An error occurred while setting up the account!"
The error log shows this:
POST https://mydomain.de/nextcloud:443/ocs/v1.php/person/check HTTP/1.1 404 Not Found
As you can see the port number is added to the wrong location.
So I tried these settings:
ServerURL: https://mydomain.de Port: 443 Storagepath: /nextcloud/Mail-attachments
Result: now I get prompted for a password, but then again the same error message: "An error occurred while setting up the account!"
The error log shows this: POST: https://gappycloud.goip.de/ocs/v1.php/person/check HTTP/1.1 404 Not Found
Here the nextcloud folder is missing.
Expected Behavior: it should work with having installed nextcloud in a subfolder.
I think this might be related to this bug:
https://help.nextcloud.com/t/filelink-for-nextcloud-ng-not-working-with-custom-port/15561
I tried using a custom port, though. My server also runs in a subfolder. I do not have this problem if the server runs in the root.
As a temporary workaround, I installed "Owncloud for Filelink" version 1.4 which works well. It does not specifically ask for a port, which seems to be a problem. The port field was added in later versions.
The old version 1.4 works also for me. Thx for that tip. I keep this issue open, though. Because the problem in the current version still exists.
Thank you for your bug report. Can one of you check if the latest code of this github repository fixes this ? I believe I fixed this issue in my latest commit, but if one of you can make sure...
@e-alfred: may I ask where you found version 1.4? I haven't yet transitioned from ownCloud to nextCloud (waiting for nextCloud to be bundled into a .deb file) but I'd like to keep using filelink in the meantime. Nextcloud-filelink doesn't seem to be backwards compatible with ownCloud, unfortunately. Thanks!
@guillaumev I zipped the latest files in the src folder to an *.xpi, this works now. I have to omit the port from the address field though and insert it separately into the port input field. A bit awkward, but it works that way. It was a bit more intuitive before with without the separate port field. With the old one I was able to simply copy/paste the address.
@mach-o I have a very long running Thunderbird installation where I had that "Filelink for Owncloud" addon installed a long time ago. It still works with Nextcloud 12, so much for longevity and stability. :) I attached the old addon as a *.zip file, you have to rename it to *.xpi after downloading:
By the way, I switched to Nextcloud too even though there are no official Debian packages (though there is an unofficial repository now). The new update process makes up for that "disadvantage" really well, no crazy update marathons anymore like in the old days with Owncloud. I don't miss Debian packages at all, but they are a nice accessory too. An alternative would be Snap packages, Debian supports them now too and there are official ones supplied by Nextcloud.
None of the above solutions worked for me : Got
ill67-4-78-225-115-104.fbx.proxad.net:443 uses an invalid security certificate.
The certificate is not trusted because the issuer certificate is unknown. The server might not be sending the appropriate intermediate certificates. An additional root certificate may need to be imported. The certificate is not valid for the name ill67-4-78-225-115-104.fbx.proxad.net.
Error code: SEC_ERROR_UNKNOWN_ISSUER
Next cloud is running on an Raspberry PI 3 at home and is auto signed. But I can't add an exception as in Firefox
I use a certificate from a trusted CA, which works. You should either change to something like Letsencrypt or add the certificate to the trusted certificate store.
Alternatively, this could be handled by the addon in the future?
Same error here. Specifying http instead https on the server URL, ask me for a password, but also fails. Using LE certificate here. Furthermore, I can't install old owncloud for filelink renaming the zip to xpi, it says the extension is corrupted. Some have it for me to try?
I am also unable to setup my Nextcloud instance in this addon. My Nextcloud is setup at https://myaddress.com/nextcloud. When I try to add it, it says "An error occurred while setting up the account!" I can get it to prompt for my password by changing the URL to "https://myaddress.com/nextcloud:443" but it will still not successfully add my server to the list.
I am running Nextcloud 12.0.1, Thunderbird 52.2.1 (64-bit), and Nextcloud for Filelink 1.5 (downloaded from this repo 8/11/2017).
I'm also unable to setup nextcloud-filelink.
My setup: Installed in https://cloud.****.net/nextcloud/ Version: 12.0.0
Thunderbird 52.2.1 (64-bit) on Ubuntu 16.04 LTS Nextcloud-filelink from https://addons.mozilla.org/en-US/thunderbird/addon/nextcloud-filelink/
Addon settings:
Provider: Cloud ***
Server url: http://cloud.***.net/nextcloud/index.php
Port number: 443
Username:
Error: GET XHR https://cloud.***.net/nextcloud/index.php:443/ocs/v1.php/cloud/user?format=json [HTTP/1.1 404 Not Found 22ms]
Version 1.6 is on its way in addons.mozilla.org, which should solve the issue with nextcloud instances located in subdirectories (see #21 )