Help Defining WebUI.systeminfo

randac56

Member
May 25, 2018
915
0
16
When I attempt to access I receive this message :

JS error: [file:///home/***/rutorrent/js/content.js : 550] theWebUI.systemInfo is undefined

I'm not sure how to "define" my webUI sysinfo.
Any suggestions??
 

simur612

Member
May 25, 2018
879
0
16
yes, this bug has happened to me on fresh installed.
I'm guessing this is a multi-user setup?

so you have rutorrent/conf/users/SOMEUSER/ and you copied the conf file into the user dir.

Delete the conf file from the users/SOMEUSER/ dir, load the webui, once it loads, replace the conf file.
 

randac56

Member
May 25, 2018
915
0
16
I'm guessing I have to create a username and pass at this point? To be honest, I'm not sure if this is a multi-use install or not, I believe so, but as of right now, I dont have a single user. Any suggests on code to create user/pass ?
 

simur612

Member
May 25, 2018
879
0
16
are you using authentication?

if so, then yes, create a folder in conf/users/ with the name of the user you are using

leave it empty for now, and make sure share/users is writable by the web user

then load the page.



edit:

actually, re-reading your error, i'm not quite sure what it is.

is this a fresh install? is this 3.0?
 

peshua19

Member
May 25, 2018
897
0
16
Quote
Any suggestions??​

Such error is occured for me, when i use lighttpd server on FreeBSD with option
server.network-backend = "write"

As result, sometime web-server send to client only first 64K of content. In lighttpd.error.log i see:

2010-02-25 11:18:35: (network_write.c.55) write failed: Resource temporarily unavailable 8
2010-02-25 11:18:35: (connections.c.607) connection closed: write failed on fd 8

and in lighttpd.access.log:

213.141.137.158 xx.xx.xx.xx:8080 test [25/Feb/2010:11:11:00 +0000] "POST /rutorrent/php/getplugins.php HTTP/1.1" 200 65528 "http://xx.xx.xx.xx:8080/rutorrent/" "Mozilla/5.0 (Windows; U; Windows NT 6.0; ru; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729)"

See to size of content - 65528 instead > 100K.

For avoid this error
1) Update your copy of ruTorrent from svn.
2) Replace value of server.network-backend option to "freebsd-sendfile", if you use lihttpd on freebsd.
 

randac56

Member
May 25, 2018
915
0
16
So I went ahead and created a new user/pass in /conf/users/ . However nothing shows up when the "dir" command is run in /conf/users/ . When I try again to create the same username :

root@***-laptop:/home/***/rutorrent/conf/users# adduser *******
adduser: The user `*******' already exists.

Browsing to the folder also shows nothing in my /conf/users/ as well, and I'm still getting the same error in my webbrowser as well :

JS error: [file:///home/***/rutorrent/js/content.js : 550] theWebUI.systemInfo is undefined
 

simur612

Member
May 25, 2018
879
0
16
i'm betting you're missing something else important.

are you against letting someone like me log in via ssh and help you?
 

simur612

Member
May 25, 2018
879
0
16
yah, you could try that. If you end up getting stuck, consider dropping the paranoia and letting someone (me? maybe novik?) help you.


but if you're going to do a fresh install, you may want to look at FreeBSD. It's quite easy to install rtorrent on freebsd using ports (it compiles with xmlrpc-c by default on FreeBSD)
 

randac56

Member
May 25, 2018
915
0
16
Well after dickin' around with it for a while, I couldn't figure it out myself. Umm, I would be willing to let you log in and take a look, put my tin foil hat in the closet for a while. Send a PM?? Not sure where to go from here man.
 

lisas4567

Member
May 25, 2018
773
0
16
I also have this error now from a fresh install

error log:

2010-03-09 01:06:47: (mod_fastcgi.c.2618) FastCGI-stderr: PHP Warning: require_once(/var/www/conf/config.php) [<a href='function.require-once'>function.require-once[/url]]: failed to open stream: No such file or directory in /var/www/php/util.php on line 10
PHP Fatal error: require_once() [<a href='function.require'>function.require[/url]]: Failed opening required '/var/www/conf/config.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/php/util.php on line 10

Any help would be appreciated.

Thanks
 

simur612

Member
May 25, 2018
879
0
16
Quote
Well after dickin' around with it for a while, I couldn't figure it out myself. Umm, I would be willing to let you log in and take a look, put my tin foil hat in the closet for a while. Send a PM?? Not sure where to go from here man.​

email me at [email protected] or hit me up on gtalk

or aim = wonslung
or msn = [email protected]
or yahoo [email protected]

all of these require me to add you to my list....but i check them often
 

peshua19

Member
May 25, 2018
897
0
16
Quote from:
I also have this error now from a fresh install​

Your installation is invalid. If your ruTorrent root path setted to '/var/www/' (/var/www/php/util.php is present) then the file /var/www/conf/config.php also must be present. But it is absent.
 

lisas4567

Member
May 25, 2018
773
0
16
Hi Novik,

config.php is not present in /var/www/conf thats true.

Here is some more info for you

This is a multi user install on 3.0 (authentication works fine) and the config.php is located in every /var/www/conf/$USER/ folder.

For testing purposes I have added if to the /var/www/conf/ still the same error:

2010-03-09 10:55:36: (mod_fastcgi.c.2618) FastCGI-stderr: PHP Warning: require_once(/var/www/conf/config.php) [<a href='function.require-once'>function.require-once[/url]]: failed to open stream: No such file or directory in /var/www/php/util.php on line 10
PHP Fatal error: require_once() [<a href='function.require'>function.require[/url]]: Failed opening required '/var/www/conf/config.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/php/util.php on line 10
 

peshua19

Member
May 25, 2018
897
0
16
Quote
config.php is not present in /var/www/conf thats true.​

And, as i already told to you, your installation is invalid. This file *MUST* be placed in /var/www/conf. In svn it placed. For which reason you delete it?
 

simur612

Member
May 25, 2018
879
0
16
Quote
Quote
Any suggestions??​

Such error is occured for me, when i use lighttpd server on FreeBSD with option
server.network-backend = "write"

As result, sometime web-server send to client only first 64K of content. In lighttpd.error.log i see:

2010-02-25 11:18:35: (network_write.c.55) write failed: Resource temporarily unavailable 8
2010-02-25 11:18:35: (connections.c.607) connection closed: write failed on fd 8

and in lighttpd.access.log:

213.141.137.158 xx.xx.xx.xx:8080 test [25/Feb/2010:11:11:00 +0000] "POST /rutorrent/php/getplugins.php HTTP/1.1" 200 65528 "http://xx.xx.xx.xx:8080/rutorrent/" "Mozilla/5.0 (Windows; U; Windows NT 6.0; ru; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729)"

See to size of content - 65528 instead > 100K.

For avoid this error
1) Update your copy of ruTorrent from svn.
2) Replace value of server.network-backend option to "freebsd-sendfile", if you use lihttpd on freebsd.​


there is also a patch which will fix the sendfile issue. It should be in 8-STABLE, and probably in 9-CURRENT as well.

http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/138999