Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation on Ubuntu Server #71

Closed
tnan opened this issue Jan 5, 2021 · 7 comments
Closed

Installation on Ubuntu Server #71

tnan opened this issue Jan 5, 2021 · 7 comments

Comments

@tnan
Copy link

tnan commented Jan 5, 2021

Hi, I did successfully install and run PowderWeb on Ubuntu Server and access WebUI via http://IP:3000
But it need a user to login, how can create user? or what is default admin user?

I follow "https://github.com/jaruba/PowderWeb/wiki/Guide#creating-a-user" But this is Ubuntu Server, it have no interface!
Please help for the installation!

@jaruba
Copy link
Owner

jaruba commented Jan 5, 2021

hi, are u running Docker? there is a discussion here and some Dockerfile examples: #39

I never got to publishing it officially though, but it should work fine

@tnan
Copy link
Author

tnan commented Jan 5, 2021

I am not running on Docker. I follow the original install with Node and NPM on a fresh Ubuntu Server follow

apt update
apt upgrade -y
apt install -y curl git unzip
curl -sL https://deb.nodesource.com/setup_15.x | sudo -E bash -
apt install -y nodejs
wget https://github.com/jaruba/PowderWeb/archive/v0.9.0.zip
unzip v0.9.0.zip
cd PowderWeb-0.9.0
npm install --force
cd public
npm install -g bower
bower install --allow-root
npm run build
npm start

Then I able to access PowderWeb via a browser http://IP:3000
But it need user to login. How can I create admin user or login in? or How can I get master key?
Please help!

@jaruba
Copy link
Owner

jaruba commented Jan 6, 2021

You are installing the GUI version with those commands, you should try using the headless version.

So let's try to get the headless version running for you:

wget https://github.com/jaruba/PowderWeb/archive/headless.zip
unzip headless.zip
cd PowderWeb-headless
npm install
cd public
bower install
cd ..
npm run build
npm run start-headless

(it's possible that i got the zip name and / or unzipped folder names wrong in this example)

I think the master key should be printed after u run npm run start-headless. Keep in mind that for security reasons the master key changes every time u start Powder Web.

Certain settings can only be changed by the master (which uses the master key), such as setting up Jackett and other advanced settings.

To create a new user, you can increase the setting of maximum users, then go to Powder Web's URL address and there will be a register button available.

@tnan
Copy link
Author

tnan commented Jan 6, 2021

I follow your step then I got this error

apt update
apt upgrade -y
apt install -y curl git unzip
curl -sL https://deb.nodesource.com/setup_15.x | sudo -E bash -
apt install -y nodejs
wget https://github.com/jaruba/PowderWeb/archive/headless.zip
unzip headless.zip
cd PowderWeb-headless
npm install --force
cd public
npm install -g bower
bower install --allow-root
cd ..
npm run build
npm run start-headless

session.log
2021-01-06T19_35_50_517Z-debug.log

@jaruba
Copy link
Owner

jaruba commented Jan 6, 2021

Huh.. you're getting a peer dependency conflict and npm install stops there instead of installing everything.

$ node --version
v8.12.0
$ npm --version
6.4.1

These are the versions I'm using and it installs fine. Can u try downgrading Node to v8.12.0 (this should also automatically downgrade NPM too)

You can check this page to find how to downgrade Node: https://stackoverflow.com/questions/47008159/how-to-downgrade-node-version

@jaruba
Copy link
Owner

jaruba commented Jan 7, 2021

@tnan did you manage to get it working after downgrading Node.js?

@jaruba
Copy link
Owner

jaruba commented Jan 9, 2021

I am presuming that you managed to install it and closing this issue due to inactivity.

If you still have issues running it on Ubuntu Server you can open the issue again.

@jaruba jaruba closed this as completed Jan 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants