spacer.png, 0 kB
  May 19, 2013, 13:25:42

 
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length


  Show Posts
Pages: [1] 2 3 ... 5
1  General Category / Technical Problems / Re: How about spot's on: July 13, 2011, 18:17:54
Yeah I had the same; after the next usegroup / spots update everything will be back to normal Smiley
2  General Category / Technical Problems / Re: URD v.1.08x Problem on: June 15, 2011, 16:01:07
Cool Smiley
Weird that you have to run it from /root, but glad it's fixed now Smiley

For spotnets, i think you just have to go to admin->set updating, and enable it. If not pre-configured, the group is free.pt.

Rest should be easy to configure.
3  General Category / Technical Problems / Re: URD v.1.08x Problem on: June 15, 2011, 15:36:25
Ok, I think I see the problem.

You may not have the mysql client. Install it with:
Code:
sudo apt-get install mysql-client

If this doesn't fix it, could you post the result of:
Code:
dpkg -l | grep mysql
?
4  General Category / Technical Problems / Re: URD v.1.08x Problem on: June 15, 2011, 13:56:55
Alternatively, you can copy/paste the content directly into the mysql client:
Code:
/usr/share/urd/install$ mysql -u root -p urddb
Enter password:
<enter your password>

then copy/paste this into the console:
Code:
alter table groups add column `minsetsize` bigint(16) not null default 0;

DROP TABLE IF EXISTS `nfo_files`;
CREATE TABLE `nfo_files` (
    `id` bigint(16) unsigned not null auto_increment,
        `setID` char(32) NOT NULL default '',
        `groupID` bigint(16) unsigned NOT NULL default '0',
        `binaryID` char(32) NOT NULL default '',
    PRIMARY KEY(`id`)
);


DROP TABLE IF EXISTS `spot_messages`;
CREATE TABLE `spot_messages` (
    `id` bigint(16) unsigned NOT null auto_increment,
        `message_id` char(255) NOT NULL default '',
    PRIMARY KEY(`id`)
);



DROP TABLE IF EXISTS `spots`;
CREATE TABLE spots(
   `id` bigint PRIMARY KEY AUTO_INCREMENT,
    `messageid` varchar(128) NOT NULL,
    `spotid` char(32) NOT NULL,
    `category` INTEGER DEFAULT 0 NOT NULL,
    `subcat` INTEGER DEFAULT 0 NOT NULL,
    `poster` TEXT NOT NULL,
    `subcata` VARCHAR(64) NOT NULL,
    `subcatb` VARCHAR(64) NOT NULL,
    `subcatc` VARCHAR(64) NOT NULL,
    `subcatd` VARCHAR(64) NOT NULL,
    `subcatz` VARCHAR(64) NOT NULL,
    `title` TEXT NOT NULL,
    `tag` TEXT NOT NULL,
    `url` varchar(255) NOT NULL,
    `image` varchar(255) NOT NULL,
    `stamp` INTEGER DEFAULT 0 NOT NULL,
    `filesize` bigint DEFAULT 0 NOT NULL,
    `description` TEXT DEFAULT '' NOT NULL,
    KEY `spotid_ixd` (`spotid`)
);

Now your database should be manually updated.

5  General Category / Technical Problems / Re: URD v.1.08x Problem on: June 15, 2011, 13:54:08
I'm discombobulated :B

The file is there, but you said:
Code:
/usr/share/urd/install# mysql -u root -p <  update_db_1.0.7_to_1.0.8_mysql.sql
bash: update_db_1.0.7_to_1.0.8_mysql.sql: Bestand of map bestaat niet

So somehow it's not finding a file that's really there...
This works for me:
Code:
/var/www/urd/install$ mysql -u root -p urddb < update_db_1.0.7_to_1.0.8_mysql.sql
Enter password:

(you have to specify the urd database name (in my case urddb) or mysql won't know which database you're trying to change)

Can you check you didn't make a typo?

Sorry for the inconvenience btw Smiley
6  General Category / Technical Problems / Re: URD v.1.08x Problem on: June 15, 2011, 13:27:13
Interesting Tongue

Can you post the output of :
Code:
ls -l /user/share/urd/install
?
7  General Category / Technical Problems / Re: URD v.1.08x Problem on: June 15, 2011, 12:31:41
Hey Henk,

you're trying to refer to 'install/update...' in the 'install/' folder.
Either do:
Code:
/usr/share/urd# mysql -u root -p <  install/update_db_1.0.7_to_1.0.8_mysql.sql
or
Code:
/usr/share/urd/install# mysql -u root -p <  update_db_1.0.7_to_1.0.8_mysql.sql
8  General Category / Technical Problems / Re: Subject blank when browsing sets on: January 09, 2011, 19:31:15
I've fixed it in the latest SVN version.
If you want to correct your current installation, i think this should do it:

Edit the js.js file, find the "update_widths" function.
Remove this function.
Then, go BELOW the getElementsByClassName" function and add the following new "update_widths" function:

Code:
function update_widths()
{
    var textwidth = document.getElementById("browsesubjecttd").offsetWidth;

    var setelements = getElementsByClassName('donotoverflowdamnit');
    for (var i=0; i < setelements.length; i++) {
        setelements[i].style.width= textwidth + 'px';
    }
}

I think the order was the biggest issue as the function was being called before it was defined.
9  General Category / Technical Problems / Re: Subject blank when browsing sets on: January 06, 2011, 11:06:05
I found that IE8(?) does not show the subject names, so that's a bug there. Maybe you're using firefox at work?

Will have a look at this.
10  General Category / Technical Problems / Re: URD download directory: on: December 08, 2010, 00:31:11
Ok, lez get to the bottom of this Smiley

Try the following:
Code:
sudo -u www-data php -r 'var_dump(is_dir("/home"));'
If this works (true), then it's very likely a permission problem in /home/bcr. Make sure it is possible to enter /home/bcr with user www-data:
Option a) Add www-data to the group bcr in /etc/group
Option b) 'chmod a+r /home/bcr'
If you retry the same command, does it show (true) now?

If this doesn't work (false), it would seem that something is preventing PHP from reading files outside the 'normal directories'. This can be due to AppArmor. What OS are you running, and what is the output of 'sudo apparmor_status' ?

11  General Category / Technical Problems / Re: Authentication rejected (Your account or IP is locked out. ) on: November 22, 2010, 00:22:17
Were you able to use URD before the upgrade?
And what news provider do you use?
12  General Category / Technical Problems / Re: Auto Set Download to Per Newsgroup Directories? on: November 08, 2010, 12:34:18
FYI:

If you're running the latest (svn) version, there's a QUERY_LOG check in db.class.php, and it will write the results to the QUERY_LOG_FILE (this should be set to '/tmp/urd_query.log' in defines.php).

13  General Category / Technical Problems / Double the genset/update time on: September 23, 2010, 14:59:38
After an svn up several days ago the IO wait times have increased drastically.
Server is done with the updates at ~16:00 now instead of 10:00.

Installed 'iotop' and it's purely mysql reading and writing stuff from/to disk all the time. What changed? Smiley
14  General Category / General Discussion / Anti SPAM measures on: September 18, 2010, 11:15:03
Some measures have been taken to stop the large number of spam-forum-registrations.

Forum registration has been set to member activated again. (Read on Wink )

Mod HttpBL is installed, which checks the IP address of new users with the spammer-database at projecthoneypot.org. Matches are shown a warning page with a captcha in case they're actually legitimate visitors.

Mod StopSpammers is installed, which checks new registrations with the stopforumspam.com database. Matches are changed to 'admin approval' meaning that us admins need to manually approve the account before they can post stuff.

Hopefully this stems the tide Cheesy
15  General Category / Technical Problems / Re: issues with Installation Script (1/6) on: August 13, 2010, 17:45:56
If you could give us an nzb that doesn't work in URD but does work in other clients, that would be even more awesome Smiley
16  General Category / Technical Problems / Re: question about sets on: August 10, 2010, 23:34:40
awesome Smiley
17  General Category / Technical Problems / Re: Memory exhausted on: July 21, 2010, 19:56:07
Hi,
What I see is that Spearhead has older posts (30w) than you (only 3w).

(Spearhead probably filters out stuff that is incomplete as a preference).

Are you sure your newsserver has a retention that matches 30 weeks?
18  General Category / Technical Problems / Re: Memory exhausted on: July 16, 2010, 21:35:17
That's because you don't have the parts tables.
That's the reason I pasted the details of said tables earlier Smiley

You'll have to manually create them, but if URDD starts I recommend you try adding a newsgroup in the webinterface and see if that works.
19  General Category / Technical Problems / Re: completely new to usenet file sharing on: July 16, 2010, 16:41:45
Let's step back a bit here Tongue

Do you have a subscription to a usenet provider?
Because you need one to access the usenet groups/data.

What I see from your screenshots is that you first have hitnews.eu and newszilla (is dutch) selected, and at the end (after autoconfigure apparently) a south african newsserver.

Without a usenet subscription (which MAY be part of your ISP contract) you can't really use URD.
20  General Category / Technical Problems / Re: Memory exhausted on: July 16, 2010, 16:23:55
I think when a group is subscribed, there are some tables that are generated.

Code:
mysql> describe parts_60
    -> ;
+------------+---------------------+------+-----+---------+----------------+
| Field      | Type                | Null | Key | Default | Extra          |
+------------+---------------------+------+-----+---------+----------------+
| ID         | bigint(16) unsigned | NO   | PRI | NULL    | auto_increment |
| binaryID   | varchar(32)         | NO   | MUL |         |                |
| messageID  | varchar(255)        | NO   |     |         |                |
| subject    | varchar(512)        | NO   |     |         |                |
| fromname   | varchar(512)        | NO   |     |         |                |
| date       | int(16) unsigned    | YES  |     | 0       |                |
| partnumber | int(16) unsigned    | NO   |     | 0       |                |
| size       | int(16) unsigned    | NO   |     | 0       |                |
| groupID    | bigint(16) unsigned | NO   |     | 0       |                |
| dirty      | smallint(6)         | NO   | MUL | 0       |                |
+------------+---------------------+------+-----+---------+----------------+
10 rows in set (0.09 sec)

mysql> describe binaries_60;
+------------+---------------------+------+-----+---------+-------+
| Field      | Type                | Null | Key | Default | Extra |
+------------+---------------------+------+-----+---------+-------+
| binaryID   | varchar(32)         | NO   | PRI | NULL    |       |
| subject    | varchar(512)        | NO   |     |         |       |
| fromname   | varchar(512)        | NO   |     |         |       |
| date       | int(16) unsigned    | YES  |     | 0       |       |
| bytes      | bigint(16) unsigned | NO   |     | 0       |       |
| totalParts | int(16) unsigned    | NO   |     | 0       |       |
| setID      | varchar(50)         | YES  | MUL | 0       |       |
| dirty      | smallint(6)         | NO   | MUL | 0       |       |
+------------+---------------------+------+-----+---------+-------+
8 rows in set (0.00 sec)

mysql> select * from groups where ID = '60';
+----+-----------+---------------------+-------------+--------------+--------+-------------+-----------+--------+--------------+----------------+--------------+------------+---------------+
| ID | server_ID | name                | last_record | last_updated | active | description | postcount | expire | refresh_time | refresh_period | first_record | mid_record | extset_update |
+----+-----------+---------------------+-------------+--------------+--------+-------------+-----------+--------+--------------+----------------+--------------+------------+---------------+
| 60 |         0 | alt.binaries.movies |    50959898 |   1279242930 |      1 |             |    324970 |      5 |          195 |              2 |     19770491 |   19770491 |    1279281600 |
+----+-----------+---------------------+-------------+--------------+--------+-------------+-----------+--------+--------------+----------------+--------------+------------+---------------+
1 row in set (0.00 sec)


But basically you should try to do this from the GUI Smiley
First thing to do is to get the URD daemon running. Try starting it from the command line with ./urdd_sh and see what happens.
21  General Category / General Discussion / Re: URD persona for Firefox on: June 30, 2010, 20:26:31
My apologies, spearhead has been drinking Wink

Also I made something but I can't be arsed to register just so I can submit, I'll send em to you spear :B
22  General Category / Technical Problems / Re: Permissions set on extracted files on: May 18, 2010, 08:44:24
Hello!

If I'm right, this is what you need to do:

Admin -> Configuration
Change 'user experience level' to 'grandmaster'.
Apply.
Then, change 'download permissions' to 'Owner & Group read & write'.
Apply.

(Sorry, no execute flags Tongue)
23  General Category / Technical Problems / Re: Hard-coded MAX_EXPIRE_TIME in functions/defines.php on: May 17, 2010, 08:00:06
Are you saying URD is not easy to use? Cry

Wink
24  General Category / Technical Problems / Re: Preview nfos/images: progress bar drops from 100% to 99% after download on: May 07, 2010, 16:33:27
Yep Tongue

It does a string search for '/tmp' and if it finds it, it is assumed that it hasn't been moved. So in your case it always contains /tmp and hence the problem.

In the latest SVN it should be fixed.
Alternatively you can edit ajax_showpreview.php and change the relevant part to this:
Code:
       // First, do a manual check if we're not pointing to /tmp (this should always be to /preview)
        // It would be better if QUEUE_FINISHED was only set after it's moved to /preview but this is a workaround.

        $dlpath = get_dlpath($db);
        $previewpath = $dlpath . PREVIEW_PATH;
        if (substr($path, 0, strlen($previewpath)) == $previewpath)
        {
                // Everything cool, put all preview files into $files:
                $files = array();

                if ($handle = @opendir($path)) {
                        while (FALSE !== ($file = readdir($handle))) {
                                if (!in_array($file, array('.','..', URDD_DOWNLOAD_LOCKFILE))) {
                                        $files[] = /*utf8_encode*/ ($file);
                                        if (strtolower(substr($file, -4)) == '.nzb')
                                                $isnzb ++;
                                        elseif (strtolower(substr($file, -4)) == '.nfo' && $rprefs['parse_nfo'] != 0) {
                                                if ($binary_id != '' && $group_id != 0)
                                                        do_magic_nfo_extsetinfo($db, $path, $file, $binary_id, $group_id, $userID);
                                        }
                                }
                        }
                        closedir($handle);
                }
        } else {
                // Downloaded file has not yet been moved from /tmp to /preview:
                $finished = 0;
                $progress = 99;
                $files = array();
                write_log('Reached preview page while download was not yet moved to /preview', LOG_NOTICE);
        }
25  General Category / Technical Problems / Re: Preview nfos/images: progress bar drops from 100% to 99% after download on: May 07, 2010, 15:46:21
Hi, and yes Tongue

It gets put on 99% if the download is complete but the file has not yet been moved from the /tmp to /preview folder.

After moving is complete, status should be 100%.
Can you check that the file is actually moved to /preview?
Pages: [1] 2 3 ... 5
Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Amigri by Fakdordes
spacer.png, 0 kB
spacer.png, 0 kB
spacer.png, 0 kB