Koozali.org: home of the SME Server

[announce] New contrib Transmission

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
[announce] New contrib Transmission
« on: November 16, 2013, 03:47:29 PM »
Hi

I'm currently working on a Contrib based on transmission a torrent client , which could be downloaded with the "geekery" repository and for now with my repository "stephdl". The purpose is to give your life easier, and to offer a web and a samba folder  where you can share your Downloads if the law allows this in your country. Probably not i suppose except if it is SME Server Iso.

by default the only user allowed to perform a login is "admin" and only on your local network.

http://wiki.contribs.org/Transmission

There are no panels in the server-manager, it will be the next step....Please keep me in touch of bugs found or NFR wanted.
« Last Edit: November 16, 2013, 03:52:24 PM by stephdl »
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline HomePlayer

  • **
  • 55
  • +0/-0
Re: [announce] New contrib Transmission
« Reply #1 on: March 15, 2014, 05:50:52 PM »
Dear all,

installation went smooth,
but when i try to log in no success. i cant log in,

transmission=service
    Name=transmission
    PublicAccess=local
    Smbusers=admin
    Transdlfolder=/var/lib/transmission/Downloads
    Transgroup=
    Transuser=frits
    Webdlaccess=local
    Webdlurl=dl-transmission
    Webgroup=
    Webuser=admin
    status=enabled

transmission-daemon=service
    TCPPort=51413
    access=public
    status=enabled

View log files
/var/log/transmission/transmission.log: Viewed at Sat 15 Mar 2014 05:46:18 PM CET.
[12:42:24.372] Transmission 2.76 (13786) started (session.c:722)
[12:42:24.373] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:803)
[12:42:24.373] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:997)
[12:42:24.373] RPC Server Whitelist enabled (rpc-server.c:1001)
[12:42:24.373] UDP Failed to set receive buffer: requested 4194304, got 262142 (tr-udp.c:77)
[12:42:24.373] UDP Please add the line "net.core.rmem_max = 4194304" to /etc/sysctl.conf (tr-udp.c:82)
[12:42:24.373] UDP Failed to set send buffer: requested 1048576, got 262142 (tr-udp.c:88)
[12:42:24.373] UDP Please add the line "net.core.wmem_max = 1048576" to /etc/sysctl.conf (tr-udp.c:93)
[12:42:24.373] DHT Generating new id (tr-dht.c:309)
[12:42:24.373] Using settings from "/var/lib/transmission" (daemon.c:517)
[12:42:24.373] Saved "/var/lib/transmission/settings.json" (bencode.c:1733)
[12:42:24.373] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:72)
[12:42:24.373] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:72)
[12:42:24.373] Port Forwarding State changed from "Not forwarded" to "Starting" (port-forwarding.c:93)
[12:42:31.380] Port Forwarding State changed from "Starting" to "???" (port-forwarding.c:93)
[12:42:55.405] DHT Attempting bootstrap from dht.transmissionbt.com (tr-dht.c:247)
[12:57:19.673] Saved "/var/lib/transmission/settings.json" (bencode.c:1733)
[12:57:19.673] DHT Saving 44 (44 + 0) nodes (tr-dht.c:367)
[12:57:19.673] Saved "/var/lib/transmission/dht.dat" (bencode.c:1733)
[12:57:19.673] Port Forwarding Stopped (port-forwarding.c:181)
[21:32:28.084] Transmission 2.76 (13786) started (session.c:722)
[21:32:28.084] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:803)
[21:32:28.084] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:997)
[21:32:28.084] RPC Server Whitelist enabled (rpc-server.c:1001)
[21:32:28.084] UDP Failed to set receive buffer: requested 4194304, got 262142 (tr-udp.c:77)
[21:32:28.084] UDP Please add the line "net.core.rmem_max = 4194304" to /etc/sysctl.conf (tr-udp.c:82)
[21:32:28.084] UDP Failed to set send buffer: requested 1048576, got 262142 (tr-udp.c:88)
[21:32:28.084] UDP Please add the line "net.core.wmem_max = 1048576" to /etc/sysctl.conf (tr-udp.c:93)
[21:32:28.084] DHT Reusing old id (tr-dht.c:305)
[21:32:28.085] DHT Bootstrapping from 44 IPv4 nodes (tr-dht.c:153)
[21:32:28.085] Using settings from "/var/lib/transmission" (daemon.c:517)
[21:32:28.085] Saved "/var/lib/transmission/settings.json" (bencode.c:1733)
[21:32:28.085] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:72)
[21:32:28.085] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:72)
[21:32:28.085] Port Forwarding State changed from "Not forwarded" to "Starting" (port-forwarding.c:93)
[21:34:19.951] Saved "/var/lib/transmission/settings.json" (bencode.c:1733)
[21:34:19.951] DHT Not saving nodes, DHT not ready (tr-dht.c:357)
[21:34:19.951] Port Forwarding Stopped (port-forwarding.c:181)
[21:34:22.090] Transmission 2.76 (13786) started (session.c:722)
[21:34:22.090] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:803)
[21:34:22.090] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:997)
[21:34:22.090] RPC Server Whitelist enabled (rpc-server.c:1001)
[21:34:22.090] UDP Failed to set receive buffer: requested 4194304, got 262142 (tr-udp.c:77)
[21:34:22.090] UDP Please add the line "net.core.rmem_max = 4194304" to /etc/sysctl.conf (tr-udp.c:82)
[21:34:22.090] UDP Failed to set send buffer: requested 1048576, got 262142 (tr-udp.c:88)
[21:34:22.090] UDP Please add the line "net.core.wmem_max = 1048576" to /etc/sysctl.conf (tr-udp.c:93)
[21:34:22.090] DHT Reusing old id (tr-dht.c:305)
[21:34:22.090] DHT Bootstrapping from 44 IPv4 nodes (tr-dht.c:153)
[21:34:22.090] Using settings from "/var/lib/transmission" (daemon.c:517)
[21:34:22.090] Saved "/var/lib/transmission/settings.json" (bencode.c:1733)
[21:34:22.090] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:72)
[21:34:22.090] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:72)
[21:34:22.090] Port Forwarding State changed from "Not forwarded" to "Starting" (port-forwarding.c:93)
[21:36:29.220] Port Forwarding State changed from "Starting" to "???" (port-forwarding.c:93)
[21:36:31.480] Saved "/var/lib/transmission/settings.json" (bencode.c:1733)
[21:36:31.480] DHT Not saving nodes, DHT not ready (tr-dht.c:357)
[21:36:31.480] Port Forwarding Stopped (port-forwarding.c:181)
[21:39:14.487] Transmission 2.76 (13786) started (session.c:722)
[21:39:14.509] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:803)
[21:39:14.509] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:997)
[21:39:14.509] RPC Server Whitelist enabled (rpc-server.c:1001)
[21:39:14.509] UDP Failed to set receive buffer: requested 4194304, got 262142 (tr-udp.c:77)
[21:39:14.509] UDP Please add the line "net.core.rmem_max = 4194304" to /etc/sysctl.conf (tr-udp.c:82)
[21:39:14.509] UDP Failed to set send buffer: requested 1048576, got 262142 (tr-udp.c:88)
[21:39:14.509] UDP Please add the line "net.core.wmem_max = 1048576" to /etc/sysctl.conf (tr-udp.c:93)
[21:39:14.509] DHT Reusing old id (tr-dht.c:305)
[21:39:14.509] DHT Bootstrapping from 44 IPv4 nodes (tr-dht.c:153)
[21:39:14.509] Using settings from "/var/lib/transmission" (daemon.c:517)
[21:39:14.509] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:72)
[21:39:14.509] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:72)
[21:39:14.509] Saved "/var/lib/transmission/settings.json" (bencode.c:1733)
[21:39:14.509] Port Forwarding State changed from "Not forwarded" to "Starting" (port-forwarding.c:93)
[21:41:21.288] Port Forwarding State changed from "Starting" to "???" (port-forwarding.c:93)
[21:53:18.127] Saved "/var/lib/transmission/settings.json" (bencode.c:1733)
[21:53:18.127] DHT Saving 65 (65 + 0) nodes (tr-dht.c:367)
[21:53:18.127] Saved "/var/lib/transmission/dht.dat" (bencode.c:1733)
[21:53:18.127] Port Forwarding Stopped (port-forwarding.c:181)
[17:25:56.558] Transmission 2.76 (13786) started (session.c:722)
[17:25:56.558] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:803)
[17:25:56.558] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:997)
[17:25:56.558] RPC Server Whitelist enabled (rpc-server.c:1001)
[17:25:56.558] UDP Failed to set receive buffer: requested 4194304, got 262142 (tr-udp.c:77)
[17:25:56.558] UDP Please add the line "net.core.rmem_max = 4194304" to /etc/sysctl.conf (tr-udp.c:82)
[17:25:56.558] UDP Failed to set send buffer: requested 1048576, got 262142 (tr-udp.c:88)
[17:25:56.558] UDP Please add the line "net.core.wmem_max = 1048576" to /etc/sysctl.conf (tr-udp.c:93)
[17:25:56.558] DHT Reusing old id (tr-dht.c:305)
[17:25:56.558] DHT Bootstrapping from 65 IPv4 nodes (tr-dht.c:153)
[17:25:56.558] Using settings from "/var/lib/transmission" (daemon.c:517)
[17:25:56.558] Saved "/var/lib/transmission/settings.json" (bencode.c:1733)
[17:25:56.558] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:72)
[17:25:56.558] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:72)
[17:25:56.558] Port Forwarding State changed from "Not forwarded" to "Starting" (port-forwarding.c:93)
[17:26:03.638] Port Forwarding State changed from "Starting" to "???" (port-forwarding.c:93)
[17:30:42.877] Saved "/var/lib/transmission/settings.json" (bencode.c:1733)
[17:30:42.877] DHT Not saving nodes, DHT not ready (tr-dht.c:357)
[17:30:42.877] Port Forwarding Stopped (port-forwarding.c:181)
[17:30:45.167] Transmission 2.76 (13786) started (session.c:722)
[17:30:45.167] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:803)
[17:30:45.167] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:997)
[17:30:45.167] RPC Server Whitelist enabled (rpc-server.c:1001)
[17:30:45.167] UDP Failed to set receive buffer: requested 4194304, got 262142 (tr-udp.c:77)
[17:30:45.167] UDP Please add the line "net.core.rmem_max = 4194304" to /etc/sysctl.conf (tr-udp.c:82)
[17:30:45.167] UDP Failed to set send buffer: requested 1048576, got 262142 (tr-udp.c:88)
[17:30:45.167] UDP Please add the line "net.core.wmem_max = 1048576" to /etc/sysctl.conf (tr-udp.c:93)
[17:30:45.167] DHT Reusing old id (tr-dht.c:305)
[17:30:45.167] DHT Bootstrapping from 65 IPv4 nodes (tr-dht.c:153)
[17:30:45.167] Using settings from "/var/lib/transmission" (daemon.c:517)
[17:30:45.167] Saved "/var/lib/transmission/settings.json" (bencode.c:1733)
[17:30:45.167] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:72)
[17:30:45.167] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:72)
[17:30:45.167] Port Forwarding State changed from "Not forwarded" to "Starting" (port-forwarding.c:93)
[17:30:52.237] Port Forwarding State changed from "Starting" to "???" (port-forwarding.c:93)
[17:31:10.527] Saved "/var/lib/transmission/settings.json" (bencode.c:1733)
[17:31:10.528] DHT Not saving nodes, DHT not ready (tr-dht.c:357)
[17:31:10.528] Port Forwarding Stopped (port-forwarding.c:181)
[17:31:12.617] Transmission 2.76 (13786) started (session.c:722)
[17:31:12.618] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:803)
[17:31:12.618] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:997)
[17:31:12.618] RPC Server Whitelist enabled (rpc-server.c:1001)
[17:31:12.618] UDP Failed to set receive buffer: requested 4194304, got 262142 (tr-udp.c:77)
[17:31:12.618] UDP Please add the line "net.core.rmem_max = 4194304" to /etc/sysctl.conf (tr-udp.c:82)
[17:31:12.618] UDP Failed to set send buffer: requested 1048576, got 262142 (tr-udp.c:88)
[17:31:12.618] UDP Please add the line "net.core.wmem_max = 1048576" to /etc/sysctl.conf (tr-udp.c:93)
[17:31:12.618] DHT Reusing old id (tr-dht.c:305)
[17:31:12.618] DHT Bootstrapping from 65 IPv4 nodes (tr-dht.c:153)
[17:31:12.618] Using settings from "/var/lib/transmission" (daemon.c:517)
[17:31:12.618] Saved "/var/lib/transmission/settings.json" (bencode.c:1733)
[17:31:12.618] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:72)
[17:31:12.618] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:72)
[17:31:12.618] Port Forwarding State changed from "Not forwarded" to "Starting" (port-forwarding.c:93)
[17:31:19.688] Port Forwarding State changed from "Starting" to "???" (port-forwarding.c:93)
[17:40:58.975] Saved "/var/lib/transmission/settings.json" (bencode.c:1733)
[17:40:58.975] DHT Not saving nodes, DHT not ready (tr-dht.c:357)
[17:40:58.975] Port Forwarding Stopped (port-forwarding.c:181)
[17:43:50.081] Transmission 2.76 (13786) started (session.c:722)
[17:43:50.081] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:803)
[17:43:50.081] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:997)
[17:43:50.081] RPC Server Whitelist enabled (rpc-server.c:1001)
[17:43:50.081] UDP Failed to set receive buffer: requested 4194304, got 262142 (tr-udp.c:77)
[17:43:50.081] UDP Please add the line "net.core.rmem_max = 4194304" to /etc/sysctl.conf (tr-udp.c:82)
[17:43:50.081] UDP Failed to set send buffer: requested 1048576, got 262142 (tr-udp.c:88)
[17:43:50.081] UDP Please add the line "net.core.wmem_max = 1048576" to /etc/sysctl.conf (tr-udp.c:93)
[17:43:50.081] DHT Reusing old id (tr-dht.c:305)
[17:43:50.081] DHT Bootstrapping from 65 IPv4 nodes (tr-dht.c:153)
[17:43:50.081] Using settings from "/var/lib/transmission" (daemon.c:517)
[17:43:50.081] Saved "/var/lib/transmission/settings.json" (bencode.c:1733)
[17:43:50.081] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:72)
[17:43:50.081] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:72)
[17:43:50.081] Port Forwarding State changed from "Not forwarded" to "Starting" (port-forwarding.c:93)
[17:43:57.777] Port Forwarding State changed from "Starting" to "???" (port-forwarding.c:93)

even a restart or signal-event post-upgrade; signal-event reboot didnt help
or a password update of admin,
not sure what to do next, or where to post this (bug)

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: [announce] New contrib Transmission
« Reply #2 on: March 15, 2014, 06:54:52 PM »
sorry but tonight i go out, need to find real people :)
I will see this tomorrow...

what i see it is that the user admin is not able to perform a login

Transuser=frits

need to be     

Transuser=frits admin

you have pointed a bug i made, i should hard coded the user admin
« Last Edit: March 15, 2014, 07:04:04 PM by stephdl »
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline HomePlayer

  • **
  • 55
  • +0/-0
Re: [announce] New contrib Transmission
« Reply #3 on: March 15, 2014, 07:21:30 PM »
No,

the admin was/is there i have added frits to see if that works

Code: [Select]
config setprop transmission Transuser "admin frits"
signal-event conf-transmission

before i did this, it didnt work, and after no success
« Last Edit: March 15, 2014, 07:27:26 PM by HomePlayer »

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: [announce] New contrib Transmission
« Reply #4 on: March 16, 2014, 10:51:27 AM »
confirmed, do you have a sme 64 bit version ?
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline HomePlayer

  • **
  • 55
  • +0/-0
Re: [announce] New contrib Transmission
« Reply #5 on: March 16, 2014, 12:05:49 PM »
Yes i do

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: [announce] New contrib Transmission
« Reply #6 on: March 16, 2014, 12:45:51 PM »
thanks to point the bug, a new version is coming
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: [announce] New contrib Transmission
« Reply #7 on: March 16, 2014, 05:20:45 PM »
the new version of smeserver-transmission is available in stephdl-repository, now the admin user is hard coded, you can not remove it.

please see the wiki page
« Last Edit: March 16, 2014, 05:38:31 PM by stephdl »
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline HomePlayer

  • **
  • 55
  • +0/-0
Re: [announce] New contrib Transmission
« Reply #8 on: March 16, 2014, 05:23:12 PM »
the new version of smeserver-phpvirtualbox is available in stephdl-repository, now the admin user is hard coded, you can not remove it.

please see the wiki page

Lite copy/paste error.

but I can log in now. perfect thanks.
« Last Edit: March 16, 2014, 05:25:16 PM by HomePlayer »

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: [announce] New contrib Transmission
« Reply #9 on: March 16, 2014, 05:38:58 PM »
indeed phpvirtualbox is my next work :)
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline HomePlayer

  • **
  • 55
  • +0/-0
Re: [announce] New contrib Transmission
« Reply #10 on: March 16, 2014, 06:13:04 PM »
Is it possible to make it work after a kernel update,
or do we still need to do some console work after a update?

Code: [Select]
Kernel Upgrade
After a kernel update and the "signal-event post-upgrade; signal-event reboot", even with the dkms module, the vboxdrv is not loaded because the module is not compiled with the new kernel, so you need to launch this command line in a root terminal.

/etc/init.d/vboxdrv setup; /etc/init.d/vboxweb-service start

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: [announce] New contrib Transmission
« Reply #11 on: March 16, 2014, 06:33:01 PM »
homeplayer:

please, 1 issue/question -> 1 topic, thank you

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: [announce] New contrib Transmission
« Reply #12 on: March 16, 2014, 06:41:35 PM »
in any case, for vnware, I use something like this in a startup script
Code: [Select]
rkernel=`uname -r`
          vmxnet="/lib/modules/`uname -r`/misc/vmxnet.ko"
          if [ ! -e $vmxnet ]; then
               echo "vmware-tools not configured for running kernel $rkernel"
               echo "running vmware-config-tools.pl"
               /usr/bin/vmware-config-tools.pl -d
               echo "vmware-tools now compiled for running kernel $rkernel"
          else
               echo "$vmxnet found"
          fi

you should/could try to adapt it to virtualbox

HTH

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: [announce] New contrib Transmission
« Reply #13 on: March 17, 2014, 07:11:23 PM »
Is it possible to make it work after a kernel update,
or do we still need to do some console work after a update?

That is a pure issue of virtualbox and not phpvirtualbox, i do not work too much on this side aspect of the issue. However i have seen that sometime, even with dkms installed on sme8, you may have issue when you change the kernel. But not be afraid, you can compile the kernel module when needed by the command line.

I will take a look to the code of stefano and for those who use virtualbox on sme, if you have customisations to add, it is time to wake up you  :-P
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: [announce] New contrib Transmission
« Reply #14 on: March 17, 2014, 07:15:36 PM »
in any case, for vnware, I use something like this in a startup script
Code: [Select]
rkernel=`uname -r`
          vmxnet="/lib/modules/`uname -r`/misc/vmxnet.ko"
          if [ ! -e $vmxnet ]; then
               echo "vmware-tools not configured for running kernel $rkernel"
               echo "running vmware-config-tools.pl"
               /usr/bin/vmware-config-tools.pl -d
               echo "vmware-tools now compiled for running kernel $rkernel"
          else
               echo "$vmxnet found"
          fi

you should/could try to adapt it to virtualbox

HTH

Hi stefano

where do you put your init script, in /etc/init.d/rc.7 or simply in rc.local ?
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!