• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

File Sharing broken?

cyberjunk

New Pleskian
System:
Parallels Plesk v12.0.18_build1200140610.21 os_Ubuntu 14.04

Symptoms:
Whenever I click "File Sharing" in Plesk, I get the following error and no content is visible:
Internal error: Error in cURL request: IPv6 numerical address used in URL without brackets

It sounds like something is passing an IPv6 URL incorrectly without the [..]

From /var/log/plesk/panel.log:
[11-Dec-2014 19:23:52 Europe/Berlin] PHP Notice: Undefined index: port; File: /opt/psa/admin/plib/functions.php, Line: 435

[11-Dec-2014 19:23:52 Europe/Berlin] Exception: PHP Notice: Undefined index: port; File: /opt/psa/admin/plib/functions.php, Line: 435

file: /opt/psa/admin/plib/Smb/Exception/Syntax.php
line: 56
code: 0
trace: #0 /opt/psa/admin/plib/functions.php(435): Smb_Exception_Syntax::handleError(8, 'Undefined index...', '/opt/psa/admin/...', 435, Array)
#1 /opt/psa/admin/plib/functions.php(397): restore_url('/smb/')
#2 /opt/psa/admin/htdocs/index.php(211): go_to('/smb/')
#3 {main}

[2014-12-11 19:23:56] ERR [panel] File sharing list retrieval failed: sharing type=private, error=Error in cURL request: IPv6 numerical address used in URL without brackets

I've gone through any apache/plesk configuration file I could think of, but I could not find a single occurence of a IPv6 address without [..]. Any idea what might go wrong here? Anything seems to work just fine, except the file-sharing... PS: Also tried moving the File-Sharing feature to different domains - no success.
 
If I set the "IPv6 address" of the domain that is hosting the "File Sharing" to "None", it will work again as expected.. of course that is no solution :)
It does not make any difference which domain I use or which IPv6 address. As soon as the "File Share" hosting domain has an IP6v6 adress "File Sharing" gives me the error above... :(
 
No one? :(

Here is an image of the error in the UI:

plesk_error.PNG


After more testing I really feel like this is a bug in plesk and not my fault :rolleyes:

Is anyone here running the latest Plesk 12.0.18 Update #28 on Ubuntu 14.04.1 with File-Sharing set to a webspace with IPv6 address assigned?
Does it work for you? I definitely can't get the integrated plesk UI for "File-Sharing" to work on IPv6 enabled webspace.
However I can access the File-Sharing URLs from external hosts/browsers without any issues (no matter if IPv4/IPv6).

PS: As mentioned everything is fine as long as the File-Sharing webspace does not have an IPv6 address assigned.
 
I have exactly the same problem. I am using exactly the same set up as you - Plesk 12.0.18 Update 28 and Ubunti 14.04.1

If I set an IPv6 for the domain I want to use for file sharing, I get exactly the same error as you. When I remove the IPV6 from that domain, file sharing works perfectly.

I have checked all my settings, nothing is wrong. My service provider has also checked and they can't find anything wrong either.

So this looks like a bug.
 
At least it's good to know I am not alone :)

Do we have to fill out a bug report somewhere or is this thread already noticed by some officials?
I am still hoping for some kind of response like "Hey we're gonna check it and let you know..."
 
Try to fix it with

# /usr/local/psa/admin/sbin/file-sharing --sync
# /usr/local/psa/admin/sbin/httpdmng --reconfigure-all

Also as possible workaround change preferred domain to domain.tld instead of www.domain.tld
 
Hey Igor,

# /usr/local/psa/admin/sbin/file-sharing --sync
# /usr/local/psa/admin/sbin/httpdmng --reconfigure-all

Also as possible workaround change preferred domain to domain.tld instead of www.domain.tld

thanks for feedback, but I usually do extensive searchs before I start posting :)
And all these "workarounds" pop up in a search, but unfortunately don't help...

I also tried other suggestions from the forum like:
1) Try reassign admin password
2) Move file-sharing to other hosts (not only between www and tld)

This issue is definitely related to a File-Sharing webspace having an IPv6 address assigned.
It starts the moment I assign an IPv6 address to it and it's gone as soon as I remove the IPv6 address assignment from it again.
Everything else (typical workarounds here) seem totally irrelevant, also there is absolutelty no other issue with the File-Sharing except it can't be accessed by the Plesk UI.

So honestly: I believe it's either an issue with the Plesk UI code, which is NOT passing an IPv6 address in brackets correctly somewhere,
or it may be related to some special ubuntu packages/versions of dependencies it is using. But these are just assumptions, please investigate.
 
Back
Top