Warning: seafile-controller not running


I want to install seafile on my raspberry pi 3, with nginx.

I’ve been trying to install seafile through this guide. I checked through every step and replaced https://mycloud.no-ip.org:8001 with my pi’s local ip address.

nginx is running fine as I used it to host my personal website.

but when i tried running ./seafile.sh start-fastcgi, i will get the following warning with nothing else being mentioned.
Warning: seafile-controller not running. Have you run “./seafile.sh start” ?
I tried running ./seafile.sh start, the same error popped up.

Accessing the page for seafile give 502 bad gateway error.