Installed media server now what?
|
Posts: 16
Threads: 1
Joined: Dec 2015
Reputation:
0
[Solved]
Dec 03, 2015, 06:17 AM
(This post was last modified: Dec 03, 2015, 06:23 AM by etopi.)
So I think I screwed up the Raspberry Pi install again. Forgot to mount the USB drive. Going to try again, but moved back to the OrangePi install. I decided to do the installs one at a time.
First, when I edited the hosts files I tried putting in OrangePi, but then I kept getting the error unable to resolve host OrangePiPC so I changed it to that. I should note though that the network shows the host name as OrangePi. Not sure if this makes a difference.
I installed HTPC Manager first. It said it was running, but I didn't test it. However, after I rebooted it didn't automatically start.
Next I installed Plex. I got that to load properly. I tested it immediately and it worked and it worked after reboot.
Next I tried SoftEther. It failed because there was a 404 error.
Those are my notes so far. Going to continue with installs and will report further notes.
Well that was quick. I think SoftEther is the problem. After reboot I can no longer log into pi and after logging in to root and checking htop Plex is not running. I'm going to start over and try again loading individual programs to see if I can get everything else to load.
Posts: 16
Threads: 1
Joined: Dec 2015
Reputation:
0
[Solved]
Dec 03, 2015, 07:37 AM
(This post was last modified: Dec 03, 2015, 08:13 AM by etopi.)
So far I've installed Plex, SickRage, Couch Potato, Headphones, and Transmission. I check after every install to make sure everything is running still. After Couch Potato Plex didn't start on reboot, so I rebooted again and it started. After Headphones it didn't start after two reboots, but I loaded Transmission anyway. During the boot process it says it's killing a user. I'm guessing that's why Plex is running any more. Not sure why this is happening and it flashes by so fast I haven't gotten more yet.
After installing Cherry Music, Plex came back up but I can't log in to the transmission web ui even though htop shows that it's running.
So final tally of installed programs on an OrangePi PC:
Plex - Doesn't always start on reboot
Sick Rage
Couch Potato
Headphones
HTPC Manager
Transmission - Can't log in to web ui. It keeps saying Connection Failed Could not connect to the server. You may need to reload the page to reconnect.
Samba - I think. Didn't test it because I think I have to go through instructions to get it configured properly
Cherry Music never ran and doesn't start on reboot
SoftEther - FAILED. Doesn't install and screws up the whole system. DON'T DO IT.
I'll work on Samba and my Raspberry Pi install tomorrow.
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Solved]
Dec 03, 2015, 09:23 AM
(This post was last modified: Dec 03, 2015, 09:23 AM by Mike.)
did you do git pull in the /root/HTPCGuides folder to get the latest version?
The Raspberry Pi image you are using is old, v5 is the current one.
For the Orange Pi PC please try the Jessie image instead, another user had problems with the Vivid image and if the Jessie image goes smoothly for you I will have to remove the Vivid image as it may be broken.
CherryMusic requires initial setup before it will work and you will have missed the message it gave if you installed multiple programs at once (I have another version of the installer to remove the multi install feature)
Softether is another program I didn't code (same goes for rpi-monitor and some others). The items I did code:
- Plex
- CouchPotato
- SickRage
- NZBGet
- Sabnzbd
- Headphones
- CherryMusic
Posts: 16
Threads: 1
Joined: Dec 2015
Reputation:
0
[Solved]
Dec 03, 2015, 05:11 PM
(Dec 03, 2015, 09:23 AM)Mike Wrote: did you do git pull in the /root/HTPCGuides folder to get the latest version?
The Raspberry Pi image you are using is old, v5 is the current one.
For the Orange Pi PC please try the Jessie image instead, another user had problems with the Vivid image and if the Jessie image goes smoothly for you I will have to remove the Vivid image as it may be broken.
CherryMusic requires initial setup before it will work and you will have missed the message it gave if you installed multiple programs at once (I have another version of the installer to remove the multi install feature)
Softether is another program I didn't code (same goes for rpi-monitor and some others). The items I did code:
- Plex
- CouchPotato
- SickRage
- NZBGet
- Sabnzbd
- Headphones
- CherryMusic
I did do the git pull for both the Raspberry Pi and the Orange Pi. That should have gotten me V5 right?
I think the only problem I had with Raspberry Pi was Softether causing things to fail the same way it did with the OrangePi. I haven't reloaded the Raspberry Pi yet, and had actually decided not to since I got the Orange Pi working. However, I'll do an install quick without Softether just for your testing purposes.
The Orange Pi is essentially working though with the Ubuntu version. Not sure what the deal is with Transmission, but other than that and Cherry Music it's working.
For Cherry Music I did see the note I just didn't understand it. The way it's worded it says when you see the message go to the address to set it up. I never saw the message but I did go to the address and it wouldn't connect. I'll look at the install page though and see what I come up with.
I also still need to figure out Samba today.
I'm going to start by seeing if I can get the Ubuntu version completely running on the Orange Pi and then I'll try the other installs. I'll let you know what I come up with.
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Solved]
Dec 03, 2015, 05:21 PM
Ah now I see the confusion, v5 is the image version not the installer version! Doing git pull only gets you the latest version of the installer, it is best to get the latest version of the image as well and git pull, then you have the latest everything.
With Transmission it should have modified the settings.json correctly, can you tell me the output of
Code:
cat /lib/systemd/system/transmission-daemon.service
and (adjust your user and password if they are secret, they should be hashed anyway
Code:
cat /etc/transmission-daemon/settings.json
So what did you do differently on the Orange Pi PC that it is now working?
Posts: 16
Threads: 1
Joined: Dec 2015
Reputation:
0
[Solved]
Dec 03, 2015, 08:04 PM
So in order to be able to just copy those files instead of hand typing them I got samba running. When I installed Samba it said there was a locally edited copy of the conf file and asked me what to do. I kept the local copy. Maybe I was supposed to use the new copy. At any rate, I just went in and edited the conf file myself and it works like a charm.
Here's the settings.json
Code:
{
"alt-speed-down": 50,
"alt-speed-enabled": false,
"alt-speed-time-begin": 540,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": false,
"alt-speed-time-end": 1020,
"alt-speed-up": 50,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
"blocklist-enabled": false,
"blocklist-url": "http://www.example.com/blocklist",
"cache-size-mb": 4,
"dht-enabled": true,
"download-dir": "/var/lib/transmission-daemon/downloads",
"download-limit": 100,
"download-limit-enabled": 0,
"download-queue-enabled": true,
"download-queue-size": 5,
"encryption": 1,
"idle-seeding-limit": 30,
"idle-seeding-limit-enabled": false,
"incomplete-dir": "/var/lib/transmission-daemon/Downloads",
"incomplete-dir-enabled": false,
"lpd-enabled": false,
"max-peers-global": 200,
"message-level": 1,
"peer-congestion-algorithm": "",
"peer-id-ttl-hours": 6,
"peer-limit-global": 200,
"peer-limit-per-torrent": 50,
"peer-port": 51413,
"peer-port-random-high": 65535,
"peer-port-random-low": 49152,
"peer-port-random-on-start": false,
"peer-socket-tos": "default",
"pex-enabled": true,
"port-forwarding-enabled": false,
"preallocation": 1,
"prefetch-enabled": 1,
"queue-stalled-enabled": true,
"queue-stalled-minutes": 30,
"ratio-limit": 2,
"ratio-limit-enabled": false,
"rename-partial-files": true,
"rpc-authentication-required": true,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password": "",
"rpc-port": 9091,
"rpc-url": "/transmission/",
"rpc-username": "",
"rpc-whitelist": "127.0.0.1",
"rpc-whitelist-enabled": false,
"scrape-paused-torrents-enabled": true,
"script-torrent-done-enabled": false,
"script-torrent-done-filename": "",
"seed-queue-enabled": false,
"seed-queue-size": 10,
"speed-limit-down": 100,
"speed-limit-down-enabled": false,
"speed-limit-up": 100,
"speed-limit-up-enabled": false,
"start-added-torrents": true,
"trash-original-torrent-files": false,
"umask": 18,
"upload-limit": 100,
"upload-limit-enabled": 0,
"upload-slots-per-torrent": 14,
"utp-enabled": true
}
I removed the username and password. I didn't see anything else that looked sensitive so hopefully that was it.
And the service file
Code:
[Unit]
Description=Transmission BitTorrent Daemon
After=network.target
[Service]
User=debian-transmission
Type=notify
ExecStart=/usr/bin/transmission-daemon -f --log-error -g /etc/transmission-daemon
ExecReload=/bin/kill -s HUP $MAINPID
[Install]
WantedBy=multi-user.target
So the only difference on the install to get the Orange Pi PC working was that I didn't load SoftEther. Granted I did the install one program at a time vs all at once, but I don't think that made the difference. I don't know why but trying to install SoftEther fails but also does something to screw up the pi user. After I get everything up and running I'm going to install OpenVPN instead.
So I did get Cherry Music to start working. I started it manually, did the setting changes, and manually edited the cron file. I think there is something missing on cron command in your cherry music tutorial. It ends with just a "-". Is there supposed to be something after that? I don't know, but it didn't work so I just went in and edited the file directly.
Right now I'm working on Couch Potato. It started and I logged in. But after saving the settings it stopped working. I'm going to reboot and see if it starts again. If not I'll start troubleshooting that.
On a semi unrelated note, do you see any problem with installing LXDE? This copy and paste would be easier if I could use a desktop and terminal.
Thanks again for all your help.
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Solved]
Dec 03, 2015, 08:15 PM
Aren't you using Putty to run commands in the linux shell?
If you use Putty you can highlight text, it copies the text to the clipboard automatically then so you can paste other places.
All of the images I create are meant to be used for headless installs (no screen and monitor, everything controlled through SSH or WinSCP), but you can install a GUI, just bear in mind this will eat up RAM.
I installed the Debian Jessie Orange Pi PC image and transmission installed and modified the file correctly so maybe it's something about the Vivid image, will investigate this further.
What settings did you set for CouchPotato before it stopped working?
Posts: 16
Threads: 1
Joined: Dec 2015
Reputation:
0
[Solved]
Dec 03, 2015, 09:20 PM
Transmission problem solved. I used this solution . Apparently transmission changed the password. That solution allowed me to change it back.
Couch Potato started again on reboot, but when I went to it I was taken back to the setup page. I don't know if transmission not working screwed something up so I'm going to retry it now.
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Solved]
Dec 03, 2015, 09:24 PM
Hehe that's exactly what the installer does, the transmission service must be stopped before you edit passwords. I believe the same is written in the manual installation instructions but will double check it.
CouchPotato can be finicky but if it is starting on boot then the installation is working. I'd suggest once you get CP set up to reboot and see if the settings stuck, or maybe just make a minor change and reboot to make sure it stuck. There is no save config button in CP unfortunately.
Posts: 16
Threads: 1
Joined: Dec 2015
Reputation:
0
[Solved]
Dec 03, 2015, 10:24 PM
So, I've been coding for years, but haven't done a lot with linux. Don't know anything about putty, I can start using it. Didn't really want to install the gui if I didn't have to for the exact reason you said.
Don't ask me how but Couch Potato is working. I rebooted and it took me to the wizard for like the fifth time. I filled it out again and then the Awesomeness button wouldn't work so I reloaded the page and bam it's working. Who knows. I'm going to try adding a movie and see what happens.
Movies are the only thing I don't have working on Plex. I transferred over and album and a tv show and both work great. The movie I tried kept failing though, so hopefully I Couch Potato works and I can test it.
|
|
Recent Posts
|
Split Tunnel Docker Containers
jonesPhedra Mar 27, 2024, 03:10 AM
|
Plex server not powerful enough, but only with s...
jonesPhedra Mar 27, 2024, 03:02 AM
|
About Swap
jonescelinaa Mar 18, 2024, 02:11 AM
|
game Geometry Dash Scratch
jonescelinaa Jan 31, 2024, 04:21 AM
|
Find My IP Address - Kodi - Updated
jonesPhedra Jan 29, 2024, 02:56 AM
|
Latest unread posts | Unanswered posts |
|