• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Issue Plesk update failing because of ftp in package lists?

maniacos

New Pleskian
Server operating system version
Ubuntu 18
Plesk version and microupdate number
18.0.56
Hello I am currently trying to update my server with the help of this page


However when I run 28. plesk repair installation I get the following problem. Apparently it tries to access some ftp on a stratoserver but it's not available. Where are these package lists coming from? I have searched the whole /etc/apt directory using grep -R "ftp.strato" /etc/apt but there is no match.

Hit:6 Index of /PHP80_17 focal InRelease
Hit:7 Index of /grafana/deb stable InRelease
Hit:8 Index of /PMM_0.1.11 focal InRelease
Hit:9 Index of /NODE_0.0.2 all InRelease
Hit:10 Index of /RUBY_0.0.2 focal InRelease
Hit:11 Index of /ubuntu focal InRelease
Hit:12 Index of /ubuntu focal-updates InRelease
Hit:13 Index of /ubuntu focal-security InRelease
Reading package lists...
E: The method 'ftp' is unsupported and disabled by default. Consider switching to http(s). Set Dir::Bin::Methods::ftp to "ftp" to enable it again.
E: The method 'ftp' is unsupported and disabled by default. Consider switching to http(s). Set Dir::Bin::Methods::ftp to "ftp" to enable it again.
E: The method 'ftp' is unsupported and disabled by default. Consider switching to http(s). Set Dir::Bin::Methods::ftp to "ftp" to enable it again.
E: The method 'ftp' is unsupported and disabled by default. Consider switching to http(s). Set Dir::Bin::Methods::ftp to "ftp" to enable it again.
E: The method 'ftp' is unsupported and disabled by default. Consider switching to http(s). Set Dir::Bin::Methods::ftp to "ftp" to enable it again.
E: The method 'ftp' is unsupported and disabled by default. Consider switching to http(s). Set Dir::Bin::Methods::ftp to "ftp" to enable it again.
E: The method 'ftp' is unsupported and disabled by default. Consider switching to http(s). Set Dir::Bin::Methods::ftp to "ftp" to enable it again.
E: The method 'ftp' is unsupported and disabled by default. Consider switching to http(s). Set Dir::Bin::Methods::ftp to "ftp" to enable it again.
E: The method 'ftp' is unsupported and disabled by default. Consider switching to http(s). Set Dir::Bin::Methods::ftp to "ftp" to enable it again.
E: Failed to fetch ftp://ftp.stratoserver.net/pub/plesk/pool/PSA_18.0.56_13177/dists/focal/InRelease
E: Failed to fetch ftp://ftp.stratoserver.net/pub/plesk/pool/PHP_7.1.33_98/dists/focal/InRelease
E: Failed to fetch ftp://ftp.stratoserver.net/pub/plesk/pool/PHP_7.2.34_151/dists/focal/InRelease
E: Failed to fetch ftp://ftp.stratoserver.net/pub/plesk/pool/PHP_7.3.33_248/dists/focal/InRelease
E: Failed to fetch ftp://ftp.stratoserver.net/pub/plesk/PHP74_17/dists/focal/InRelease
E: Failed to fetch ftp://ftp.stratoserver.net/pub/plesk/PHP80_17/dists/focal/InRelease
E: Failed to fetch ftp://ftp.stratoserver.net/pub/plesk/PHP81_17/dists/focal/InRelease
E: Failed to fetch ftp://ftp.stratoserver.net/pub/plesk/PHP82_17/dists/focal/InRelease
E: Failed to fetch ftp://ftp.stratoserver.net/pub/plesk/pool/WPB_18.0.55_74/dists/all/InRelease
E: Some index files failed to download. They have been ignored, or old ones used instead.
Warning: there are errors in 'apt-get update'
Warning: not connected 'multiverse' repository section
Detecting installed product components.
--- prod_id release_id (description) (tiers) ---
plesk PLESK_18_0_56 (Plesk Obsidian 18.0.56) (currently installed)

ERROR: The 'upgrade' command requires the release to be explicitly specified. Make sure that either both product ID and release version, or release ID are present on the command line. Consult the table above or the output of the 'list' command for possible values.

exit status 1
 
Thanks, I think this might solve the problem. However I also would like to learn where that ftp comes from, is it in the pulled sources?
 
It must be something in the sources.list that triggers the FTP.
Can you show us the contents of this file?

# cat /etc/apt/sources.list
 
I searched the /etc/apt/ using grep there is no ftp in it. I can not show the output now as the server is offline now due to upgrade issues, won't boot anymore.
 
I bet that you have customised Plesk updates url in /root/.autoinstallerrc file, likely configured by your service provider. You can just remove this file to switch to the official download server, or you can try to replace ftp: to http: or https:
 
Back
Top