[HOWTO] pyLoad 0.4.9 (self-made port)

ArgaWoW

Patron
Joined
Jul 4, 2015
Messages
444
VIMAGE must be disabled.
I dont have set the default gateway. Just disable dhcp and set your IP-Adreass and Subnet mask
have you done:
Code:
portsnap fetch extract


in your jail userland?
 

Attachments

  • PyloadJail.jpg
    PyloadJail.jpg
    67.8 KB · Views: 693

ArgaWoW

Patron
Joined
Jul 4, 2015
Messages
444
Ok, from begin..
1. Create the jail
2. put in your IP-Adress and your Subnet
3 disable VIMAGE

Start Putty

1. jls and find the number of your jail
2. jexec 3 csh (3 = number of your pyloadjail)
3. portsnap fetch extract (type y if called)

do this run without errors?
 

ZodiacUHD

Patron
Joined
Aug 28, 2015
Messages
226
Ok, from begin..
1. Create the jail
2. put in your IP-Adress and your Subnet
3 disable VIMAGE

Start Putty

1. jls and find the number of your jail
2. jexec 3 csh (3 = number of your pyloadjail)
3. portsnap fetch extract (type y if called)

do this run without errors?
I don't get any errors during these 3 steps

I'm editing my previous post with all the errors and troubleshooting i've tried so far. You might want to check it ;) Thanks for the patience!
 

ZodiacUHD

Patron
Joined
Aug 28, 2015
Messages
226
ok type

Code:
cd /usr/ports/devel/git
pkg upgrade
make install clean

I'm now getting this:
Code:
===> Checking if git already installed
===> git-2.5.3 is already installed
You may wish to ``make deinstall'' and install this port again
by ``make reinstall'' to upgrade it properly.
If you really wish to overwrite the old port of git
without deleting it first, set the variable "FORCE_PKG_REGISTER"
in your environment or the "make install" command line.
*** [check-already-installed] Error code 1

Stop in /usr/ports/devel/git.
*** [install] Error code 1

Stop in /usr/ports/devel/git.
root@pyload:/usr/ports/devel/git #
 

ArgaWoW

Patron
Joined
Jul 4, 2015
Messages
444
this will be no problem. I got this errors too.
continue with:

Code:
cd /usr/ports/www
git clone https://github.com/mrhanky17/pyload-freebsd.git pyload
cd pyload/
make makesum
make install clean (you'll get the [install] Error code 1 at the end, ignore it)
pyload
go through the setup
echo 'pyload_enable="YES"' >> /etc/rc.conf
echo 'pyload_flags="--daemon"' >> /etc/rc.conf
echo 'pyload_pid="/var/run/pyload.pid" ' >> /etc/rc.conf
echo 'pyload_config="/root/pyload"' >> /etc/rc.conf (Note that this is the config Path you choose in the pyload Setup (Step 14-15). If you don't changed the Path its '/root/pyload'.)
ln -s /usr/ports/www/pyload/work/stage/usr/local/etc/rc.d/pyload /etc/rc.d/pyload
service pyload start
pyload should run and you should have access to it through web interface with IP you saw in step 2.http://IP:8000/
 

ZodiacUHD

Patron
Joined
Aug 28, 2015
Messages
226
this will be no problem. I got this errors too.
continue with:

Code:
cd /usr/ports/www
git clone https://github.com/mrhanky17/pyload-freebsd.git pyload
cd pyload/
make makesum
make install clean (you'll get the [install] Error code 1 at the end, ignore it)
pyload
go through the setup
echo 'pyload_enable="YES"' >> /etc/rc.conf
echo 'pyload_flags="--daemon"' >> /etc/rc.conf
echo 'pyload_pid="/var/run/pyload.pid" ' >> /etc/rc.conf
echo 'pyload_config="/root/pyload"' >> /etc/rc.conf (Note that this is the config Path you choose in the pyload Setup (Step 14-15). If you don't changed the Path its '/root/pyload'.)
ln -s /usr/ports/www/pyload/work/stage/usr/local/etc/rc.d/pyload /etc/rc.d/pyload
service pyload start
pyload should run and you should have access to it through web interface with IP you saw in step 2.http://IP:8000/

And here i am again:
after the "make install clean" i get no error but, i get this as soon as i try to type "pyload"
Code:
root@pyload:/usr/ports/www/pyload # pyload
/usr/local/bin/pyload: Permission denied.
root@pyload:/usr/ports/www/pyload #
 

ArgaWoW

Patron
Joined
Jul 4, 2015
Messages
444
You have the wrong permissions set for your jail. Find the picture attached and set the permissions like shown.

Then try 'pyload' again
 

Attachments

  • PyloadJail.jpg
    PyloadJail.jpg
    51.2 KB · Views: 748

ZodiacUHD

Patron
Joined
Aug 28, 2015
Messages
226
You have the wrong permissions set for your jail. Find the picture attached and set the permissions like shown.

Then try 'pyload' again
I still have to try it, i'm at work now. But i will do it in a few hours, as soon as i get home!
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
why are you guys installing git from ports? what's wing with 'pkg install git'

also you tried using pkg_add earlier which has been replaced with pkg.
 

ZodiacUHD

Patron
Joined
Aug 28, 2015
Messages
226
Ok, i made to the setup and i was able to get into the web interface. Still have a lot to learn and to test but so far, so good!


why are you guys installing git from ports? what's wing with 'pkg install git'

also you tried using pkg_add earlier which has been replaced with pkg.

Hello there Joshua, thanks for the tips. Believe me when i say i'm a newbie! I've never had any experience whatsover with shell/putty or these kind of commands. I'm doing my best to learn as fast as i can, but my knowledge is simply lacking. How would you change the guide posted in the first place on this thread?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Ok, i made to the setup and i was able to get into the web interface. Still have a lot to learn and to test but so far, so good!




Hello there Joshua, thanks for the tips. Believe me when i say i'm a newbie! I've never had any experience whatsover with shell/putty or these kind of commands. I'm doing my best to learn as fast as i can, but my knowledge is simply lacking. How would you change the guide posted in the first place on this thread?
I'd just replace the first code text block with 'pkg install git'
 

ZodiacUHD

Patron
Joined
Aug 28, 2015
Messages
226
You have the wrong permissions set for your jail. Find the picture attached and set the permissions like shown.

Then try 'pyload' again


Thanks for the help. Now everything is finally working! Just one little thing ( some of you guys will want to punch me for asking this ): where can i find the download folder?

EDIT: Download Folder: /root/pyload/Downloads
 

ZodiacUHD

Patron
Joined
Aug 28, 2015
Messages
226
Ok, i have a new issue now. Pyload just stopped working. I f i try to start it i get this:
Code:
root@Pyload:/usr/ports/www/pyload # service pyload start
Traceback (most recent call last):
File "/usr/local/bin/pyload", line 48, in <module>
from module.network.RequestFactory import RequestFactory
File "/usr/local/share/pyload/module/network/RequestFactory.py", line 22, in <
module>
from Browser import Browser
File "/usr/local/share/pyload/module/network/Browser.py", line 6, in <module>
from HTTPRequest import HTTPRequest
File "/usr/local/share/pyload/module/network/HTTPRequest.py", line 20, in <mod
ule>
import pycurl
ImportError: Shared object "libcurl.so.4" not found, required by "pycurl.so"
 
Last edited:

ArgaWoW

Patron
Joined
Jul 4, 2015
Messages
444
Hi,
i have thought you willl run in this error. You must softlink the file "libcurl.so.4". Here come's the soluion:
via ssh in userland:

Code:
cd /usr/local/lib
ln -s /usr/local/lib/libcurl.so.4
cd /usr/lib
ln -s /usr/local/lib/libcurl.so.4


restart pyload:

Code:
service pyload start
 

ZodiacUHD

Patron
Joined
Aug 28, 2015
Messages
226
Hi,
i have thought you willl run in this error. You must softlink the file "libcurl.so.4". Here come's the soluion:
via ssh in userland:

Code:
cd /usr/local/lib
ln -s /usr/local/lib/libcurl.so.4
cd /usr/lib
ln -s /usr/local/lib/libcurl.so.4


restart pyload:

Code:
service pyload start

Once again: THANK YOU!!
 

ZodiacUHD

Patron
Joined
Aug 28, 2015
Messages
226
Hello there! My update manager says there are updates available for my Addons. How can i update them? Thank you very much :)

EDIT:
Code:
service pyload restart
 

ZodiacUHD

Patron
Joined
Aug 28, 2015
Messages
226
Good to know :) Too bad since i was able to installe it, it has work for 10 minutes and then it stopped. I'm having issues with hosters :(
 
Top