Hey! I'll be glad to help you. If you just run /.solarisd, it assumes that your wallet dir is /home/user/.solaris. And this is exactly where your solaris.conf should be.
If you have solaris.conf file elsewhere, type
# to copy from current directory
cp solaris.conf ~/.solaris/.
otherwise, you could re-create it in correct location
vi ~/.solaris/solaris.conf
Switch to insert mode by pressing 'i' or 'ins'
Paste your config and save file:
Press Esc to switch to command mode
type
:wq
and press Enter
Thank you so much for helping out. The main issue here is that on my VPS (the one recommended in the setup guide), when I log in it puts me in the root directory and that's where I installed solaris. Should I have gone back and into the home directory and installed solaris there? I've tried following this guide to the letter yet somehow I'm stuck. It doesn't help that nano won't run on my VPS and I have to use vi.
I followed your instructions anyway on creating a conf file in that home subdirectory but then there was no user subdirectory, or anything.
Sorry, I don't know why I'm having such trouble with this.
EDIT: Upon further inspection the error message indeed says
Error: To use solarisd, or the -server option to solaris-qt, you must set an rpcpassword in the configuration file:
/root/.solaris/solaris.conf
But there is indeed a solaris.conf file in that exact directory, with a password set. I am so confused. I'm looking right at a file it's telling me doesn't exist.
I'm about ready to just scratch the VPS and run the masternode off my Pi since it runs 24/7 anyway and I've staked coins for weeks on end with no issue. If I shouldn't do that, let me know, but the VPS is staring to be more trouble than it's worth. Thanks again for all the help.
I got it. You did not create a user, so you're logging in as a root. Well, you can do it that way, although it is recommended to create a user anyway. And enable/update the firewall
To create a user and start firewall you could do something like this (assuming you're logged in as root):
# choose a username, i assumed that username would be masternode
adduser masternode
# enter new password, you can skip other options like name and room number
# add that user to sudoers
usermod -aG sudo masternode
# add firewall rules, it is not necessary to start the firewall, but my inner paranoid says that the firewall is a must-have
# allow 22 port for ssh
ufw allow 22
# allow 60020 port for masternode
ufw allow 60020
# enable the firewall
ufw enable
# now, you can exit and reconnect as a new user 'masternode'
exit
ssh masternode@
# you will be logged in as a masternode user and will see a nice coloured command prompt
# from here, all the instructions should work fine, your home directory will be /home/masternode
# solaris wallet will be in /home/masternode/.solaris after you first start the solarisd
But, if you want, you still can use 'root' user. This user's home dir is located at
/rootSo you just need to replace
/home/user/ from my previous answer with
/root/, or with just
~/ (that means home directory)
I would also recommend to add
daemon=1 option to solaris.conf on your masternode to start solarisd as a daemon
And about your update -
/root/.solaris/solaris.conf is indeed the file you need to modify to run
solarisd under the
root user.
You can check if that file is empty or not by running
# this would output the file contents
cat /root/.solaris/solaris.conf
or edit it
vi /root/.solaris/solaris.conf
# switch to insert mode 'i' and paste content of your solaris.conf
# press esc to switch back to command mode
:wq
# hit enter