help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version (eg, 12.0.2): 18
Operating system and version (eg, Ubuntu 17.04): Cpanel Webhosting Linux
Apache or nginx version (eg, Apache 2.4.25): ?
PHP version (eg, 7.1): 7.3
The issue you are facing:
I didnt enter the port at external sftp storage conf, but i cant change the parameter in the web-config as there is noch “change” icon.
I cant issue occ commands as it is a webhosting account with only cpanel and file-manager access.
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
ownlcloud configure external storage
try to change config
try to make new external storage: no possibility in web config
The output of your Nextcloud log in Admin > Logging:
PASTE HERE
The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):
PASTE HERE
The output of your Apache/nginx/system log in /var/log/____:
I’m sorry but I cannot replicate your problem. It is an easy task to e.g. modify the settings of an external storage under Settings > Personal > External storage. You only have to klick on the tick sign to apply the changes:
You already wrote you used ip:port and it didn’t work, but that’s not a reason for being rude.
You should instead post more details to your setup and maybe screenshots.
j-ed is trying to help you by pointing out which doc to look at. It shows correctly how to add ports (what you seemingly did).
If this does not work for you it might be an issue in your setup or a bug. Both need more information to be diagnosed.
What is the actual problem? Still not showing the option?
What did you mean by “wrong menu point”? Personal settings instead of system settings?
As others are not looking over your shoulder they need very detailed info about what is happening to be able to recreate the issue and find the cause of it.
What kind of browser do you use? Something out of the ordinary? Any ad blockers active?
How is the port doubled? Where do you see this?
Can you switch the port on the sftp server to standard port 22 and test again?
thx good point, maybe ssh connections are blocked by a security setting. iwill get back to your post when back @the setup but the error indicates imo theres no route to host.
worthwile:
does anyone know in which file the port is given to the sftp routine? i tried changing it in the sftp1 and 2 .php files but no effect?
I have just tried (on Nextcloud 16.0.7, 18.0.1 RC2 and 18.0.1) to access an sftp server using an alternate port in the notation ip:port (xxx.xxx.xxx.xxx:xxxx) with username/password authentication.
It works fine, seems to be a specific issue in your setup.
Did you open the shell and connect from the same machine as the nextcloud setup is located?
Sounds like some firewall/webserver misconfiguration to me.
There is no hint that you are not allowed to add/edit external storage settings and that it is limited to admin users. The configuration field is just empty.
The bug (16.0.7 and 18.0.1) is pretty irritating and will lead you to wrong conclusions:
You can still click the checkmark, which triggers a red flag, although the storage is functional and green in admin settings.
thanks that was a problem, yes, but i think the admin user got that screen too, i never could find anything to edit those settings after thy were confirmed. but i have occ web now.
p.s.: new thing comes up, i cant login to the server, it says “storage not available”.
does anyone know whete those external storage settings are stored, so i can just deactivate external storage in php?