• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

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