Installation issues on Scaleway

AI 生成的摘要

CFi encountered an installation issue while setting up Discourse on a Scaleway x64 server, following the official cloud installation guide. The process halted at bundle install with an SSH error: “packet_write_wait: Connection to 212.xx.xxx.45 port 22: Broken pipe”. CFi had tried both Ubuntu Xenial and Debian Stretch on fresh installs, and confirmed SMTP settings were adjusted per this meta discussion. dax suggested using Scaleway’s official Discourse ImageHub, but CFi noted it appeared outdated and opted for manual setup. Ultimately, CFi resolved the issue by addressing an underlying SSH configuration problem, referencing a blog post on fixing SSH “write failed: broken pipe” errors, and emphasized the importance of restarting the SSH service and reconnecting before retrying the installation. This highlights that the problem was not with Discourse or Scaleway’s OS images, but with SSH session stability during long-running processes.

Hello,

I tried to install discourse on x64 Scaleway server.
I changed settings to allow smtp according to this post ScaleWay review? - #44 by ljpp

I followed instructions from this page discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub

after typing ./discourse-setup
the setup tools stop giving me infos… after this message:

INFO – : > cd /var/www/discourse && su discourse -c ‘bundle install --deployment --verbose --without test --without development’

due to : “packet_write_wait: Connection to 212.xx.xxx.45 port 22: Broken pipe”

I tried two different servers (see image below), trying Ubuntu Xenial and Debian Streched… which are up to date before installation…

I don’t really know what to do ?
Any ideas ?

Thanks

Did you use the discourse imagehub on scaleway?
https://www.scaleway.com/imagehub/discourse/

No, I didn’t… looking at github, It looks like the files are 2 years old… no update.
I started from a fresh install of Debian / Ubuntu (1 tries on each system)… following the steps of the how-to

Problem solved. It was an ssh problem.
Look at https://christophegx.ovh/connexion-ssh-write-failed-broken-pipe/
and don’t forget to restart SSH service, connect and disconnect SSH before retry !