@PitaJ Hey I did everything it was working I fixed the issue that was above I forgot what I did but I wanted to put is at my ip so when I get the domain name I can just redirect and such now it does this whenever I try changing the config for the url 025c0b31-ff60-44ae-a2cf-291ac76d0e60-image.png
Elastic Beanstalk Deployment Issue
eb deployon AWS, the deploy is successful but when the homepage is refreshed, NodeBB returns to the original setup page for an admin account. If re-enter the admin account info and then refresh a few times, the site does come back up and no data has been lost.
Any thoughts on this issue?
Can you share more details about your setup? To my knowledge, eb is just a load balancer, right?
It sounds like you're running NodeBB on a system that doesn't allow you to persist files to disk... let me know if I am correct. In that scenario, you'll not want to save your config to file, but use environment variables instead...
nodebb is running on a EC2 instance ( linux ). the
eb deployis a CLI command that uploads to AWS and deploys the latest code. My config.json file on the EC2 instance is not overriden. The only effect is that when I reload the homepage, it shows the initial setup admin user page.
julian GNU/Linuxreplied to Shawn Blanchard on last edited by
@Shawn-Blanchard said in Elastic Beanstalk Deployment Issue:
The only effect is that when I reload the homepage, it shows the initial setup admin user page.
Yes, that's what I mean... if you're seeing the initial set page (the orange one), then it means NodeBB restarted, didn't find
config.json, and thus kickstarted the web install process.