Comments (12)
Can you manually SSH into the server? https://github.com/forem/selfhost#ssh-examples
If this fails then it sounds like the EC2 never launched correctly. If you can SSH into it, try rerunning the playbook.
from selfhost.
thanks for getting back to me @jdoss , I can't SSH into the machine manually, since I'm not certain where the ".pem" file go while deploying the instance?
from selfhost.
See Step 7 of the Quickstart https://github.com/forem/selfhost#quick-start. If you followed this guide it is located ${HOME}/.ssh/forem.pub
from selfhost.
Thanks, I think the github link doesn't explain what needs to happen for this use-case:
Here is an outline of steps I'm taking:
cd ~/.ssh/
- Generate the key with $ ssh-keygen -t rsa -b 2048 -v
ssh-keygen -t rsa -b 2048 -v
-
when asked to enter file in which to save the key, type forem, confirm by Enter.
-
then wee will get two files generated, one will be forem and one will be forem.pub.
-
Then rename the forem to forem.pem, so you will have two files, forem.pub and forem.pem
- I check the port for 22 is open.
- Still hangs and connection refused.
I terminate the server and redo every to avoid config overlaps as well.
from selfhost.
Hey @0bserver07 if you are using AWS as your cloud provider you can try using this Forem AWS Setup guide. There is a section that goes in to more detail on how to ssh into your server.
If you have any more questions regarding getting set up or errors you are seeing please feel free to post on forem.dev with the #help and #selfhost tags. Someone on the team will be able to help you over there! Thanks 😄
from selfhost.
How were you able to solve this problem?
from selfhost.
I have same problem if I change region us-east-1 -> eu-west-1
from selfhost.
I have same problem if I change region us-east-1 -> eu-west-1
Hey @MaslovAnton just to confirm are you having trouble with SSH (step 11 in the quick start) and the problem is occurring only when you change your region to us-east-1 -> eu-west-1?
from selfhost.
I have problem in this if i change fcos_aws_region: us-east-1 -> eu-west-1.
Error on task
TASK [Wait 300 seconds for port 22 to become open]
And i can't connect by ssh and generated rsa key
In default region (us-east-1) it was OK.
from selfhost.
@MaslovAnton for now it worked when I switched to us-east-1
, there might be something hard-coded, but to make it work you can just do that change.
I tried, -west-, but that's what led to the ssh error.
from selfhost.
Thanks. Same error in -west- region
from selfhost.
I am going to walk through setting up my Forem on AWS again today and I will change the region. I'll let you know what steps I take and if I get the same errors you all are seeing @0bserver07 and @MaslovAnton . If I do I'll ping our systems team to get more info on why the error is occurring.
from selfhost.
Related Issues (20)
- bin/startup issue HOT 1
- The role 'preflight' was not found HOT 17
- Export to another vps HOT 2
- The first user registered and jumped directly to email verification? HOT 3
- S3 permissions not updated on repeated runs leads to server initialization error HOT 2
- Images not loading behind VPN HOT 3
- Can i add script in head tag? HOT 3
- Butane is not installed HOT 3
- DigitalOcean provider playbook: doctl compute image create step is not skipped & image creation always fails HOT 1
- Confirmation / Documentation of variables in setup.yml HOT 2
- SMTP email service is not working HOT 8
- ERROR! couldn't resolve module/action 'amazon.aws.ec2'. This often indicates a misspelling, missing collection, or incorrect module path. HOT 2
- Forem self-host with QEMU error
- setup.yml file is empty
- Failed to parse /root/selfhost/inventory/forem/setup.yml with ini plugin
- no able to connect with ssh HOT 1
- Failed to login using API token, please verify validity of API token HOT 1
- How to access my Forem droplet files trough sftp ?
- Using /bin/container-setup failed
- Link in Readme to paid hosting is broken. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from selfhost.