Hi,
Just tried to recreate my pyLoad install in a new jail and something is not right. I managed to make it run but it won't auto start with the jail. I don't know if something changed with the jail or with the port and I don't have time right now to dig into it, sorry.
This is what I did to make it run:
1. Login into your Freenas go to Jails and click 'Add Jails'
2. Click 'Advanced Mode'; Put in jail name; make note of the IP address; put in 'IPv4 default gateway'; make sure 'autostart' is enabled; 'typ'e is standard; 'VIMAGE', 'NAT' and '32Bit' are disabled and 'vanilla' is enabled and click OK
3. Use any terminal (Putty on Win, Terminal on OSX etc) to login with SSH to your NAS (SSH has to be enabled in services) as root or use the 'Shell' from the GUI
4. Type in 'jls' (without quotes) and make note of JID of your jail
5. Type in 'jexec # csh' (where # is the JID of your jail)
6. Once in the jail type in 'portsnap fetch extract' (it'll take a while to finish)
7. 'cd /usr/ports/devel/git'
8. 'make install clean'
9. During the compilation it will ask you for the configuration of required packages - leave everything as is but make sure that when it asks for CURL you select Cookies support - it's disabled by default. (use arrows to move and space to check and uncheck the fields, enter to continue)
10. 'cd /usr/ports/www'
11. 'git clone https://github.com/mrhanky17/pyload-freebsd.git pyload'
12. 'cd pyload/'
13. 'make install clean' (you'll get the [install] Error code 1 at the end, ignore it)
14. 'pyload'
15. go through the setup
16. 'echo 'pyload_enable="YES"' >> /etc/rc.conf'
17. 'ln -s /usr/local/bin/pyload /etc/rc.d/pyload'
18. 'service pyload start' (may ask you to go through the setup again, remember to provide correct config path: /root/pyload )
19. 'service pyload start' it should run and you should have access to it through web interface with the IP you saw in step 2.
root@pyload:/usr/ports/www/pyload # make install clean ===> Staging for pyload-0.4.9_1 ===> pyload-0.4.9_1 depends on file: /usr/local/lib/python2.7/lib-dynload/_sqlite3.so - found ===> pyload-0.4.9_1 depends on file: /usr/local/lib/python2.7/site-packages/curl - not found Error a dependency refers to a non existing origin: /usr/ports/ftp/py-curl in RUN_DEPENDS ===> pyload-0.4.9_1 depends on file: /usr/local/lib/python2.7/site-packages/django - not found ===> py27-django-1.8.7 This port will switch to a meta port soon. Please use py-django18 instead.. *** Error code 1 Stop. make[2]: stopped in /usr/ports/www/py-django *** Error code 1 Stop. make[1]: stopped in /usr/ports/www/pyload *** Error code 1 Stop. make: stopped in /usr/ports/www/pyload root@pyload:/usr/ports/www/pyload #
root@pyload:/usr/ports/www/pyload # make makesum ===> License GPLv3 accepted by the user ===> Found saved configuration for pyload-0.4.9_1 ===> pyload-0.4.9_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by pyload-0.4.9_1 for building root@pyload:/usr/ports/www/pyload # make install clean ===> Staging for pyload-0.4.9_1 ===> pyload-0.4.9_1 depends on file: /usr/local/lib/python2.7/lib-dynload/_sqlite3.so - found ===> pyload-0.4.9_1 depends on file: /usr/local/lib/python2.7/site-packages/curl - not found Error a dependency refers to a non existing origin: /usr/ports/ftp/py-curl in RUN_DEPENDS ===> pyload-0.4.9_1 depends on file: /usr/local/lib/python2.7/site-packages/django - not found ===> py27-django-1.8.7 This port will switch to a meta port soon. Please use py-django18 instead.. *** Error code 1 Stop. make[2]: stopped in /usr/ports/www/py-django *** Error code 1 Stop. make[1]: stopped in /usr/ports/www/pyload *** Error code 1 Stop. make: stopped in /usr/ports/www/pyload root@pyload:/usr/ports/www/pyload # pyload pyload: Command not found. root@pyload:/usr/ports/www/pyload #
remote: Counting objects: 7, done. remote: Total 7 (delta 4), reused 4 (delta 4), pack-reused 3 Unpacking objects: 100% (7/7), done. From https://github.com/mrhanky17/pyload-freebsd f82503d..68b7580 master -> origin/master Updating f82503d..68b7580 error: Your local changes to the following files would be overwritten by merge: Makefile Please, commit your changes or stash them before you can merge. Aborting
Ok, I will try it. Do i get the latest version when i use:Dont know what the means, would recommend making new jail and trying the whole process again.
'git clone https://github.com/mrhanky17/pyload-freebsd.git pyload'
I have made the new install and it looks like i have the new version. But i have one Problem, when i try to change some settings it don't be saved.Yes, if you clone initially you always get the head revision unless you specify otherwise.