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

fresh install on fresh install of ubuntu #71

Closed
tbarrettjr93 opened this issue Mar 9, 2019 · 8 comments
Closed

fresh install on fresh install of ubuntu #71

tbarrettjr93 opened this issue Mar 9, 2019 · 8 comments

Comments

@tbarrettjr93
Copy link

hi! i have recently freshly installed ubuntu 18.04 and tried to setup mediabox to run. i ran ./mediabox.sh and followed all the steps flawlessly. I get to the part where it says

"Configuring DelugeVPN, NZBGet, Muximux, and Permissions
This may take a few minutes..."

and it just sits here for ever. I've waited over an hour for this to get through and i dont know if its supposed to take this long but im assuming not. Please help.

@tbarrettjr93
Copy link
Author

rebooted one more time and ran it again and now its all good!! this is awesome! thank you!

@tom472
Copy link
Owner

tom472 commented Mar 11, 2019

@tbarrettjr93 Thanks for letting me know you had a long delay at that section.

I will re-verify the command(s) at that point and make sure it is still correct.

Glad it worked for you after a reboot - and thanks for playing with Mediabox.

@bdmorin
Copy link

bdmorin commented Jun 21, 2019

This happened to me too

0  1000  1872  1871  20   0  21608  5200 wait   Ss   pts/0      0:00          \_ -bash
0  1000  6932  1872  20   0  11592  3260 wait   S+   pts/0      0:00          |   \_ /bin/bash ./mediabox.sh
0  1000 16979  6932  20   0   6176   788 hrtime S+   pts/0      0:00          |       \_ sleep 1

I tried killing the sleep process, but no luck.

is mediabox.sh supposed to be run as root? The user I'm running it as has docker permissions.

@tom472
Copy link
Owner

tom472 commented Jun 21, 2019

No it should be run as you the user.
Are you sure your PIA credentials are correct?
Did you let the script create your content folder or did you set it?
If you set it, does the user have the right permissions to that folder?

@bdmorin
Copy link

bdmorin commented Jun 21, 2019

Hmm.. Not entirely sure what I did wrong the first time, however I stopped everything with docker stop $(docker ps -a -q) then docker system prune -a then I saw some stuff wasn't owned by my user, but systemctl user. So I chmod -R $USER:$USER ~/mediabox then for good measure chmod -R $USER:$USER /media then ran the ./mediabox.sh installer again, as my user account. And boom, everything came up.

This is really a work of art man, thanks for your time and effort.

@tom472
Copy link
Owner

tom472 commented Jun 21, 2019

Hmm .. while I'm glad it's working for you this is kind of the second report of stuff being owned by system ctl.
Can you by any chance recall what things had the wrong owner?

Thanks for playing with Mediabox and for the kind words.

@bdmorin
Copy link

bdmorin commented Jun 21, 2019

I don't have my scrollback buffer, sorry. I know it was systemd and it was pretty much all the app directories in ~/mediabox, so stuff like ombi, minio and whatever had a different user. Which tells me I probably sudo'd something I shouldn't have.

@tom472
Copy link
Owner

tom472 commented Jun 22, 2019

OK no problem thanks so much for all the info.
Yes .. everything -after- installing the pre-reqs is done as your user, but it seems many people tend to run the script with sudo or as root.
I'm going to be putting in a check for that this weekend.

Thanks again.
--Tom

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

3 participants