Bug#673971: (no subject)

2012-06-22 Thread jmroth+debbug
tags 673971 + pending
reopen 673971
thanks

oops... forget the previous comment, messed up bug id



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#673971: serendipity: unowned files after purge (policy 6.8, 10.8): /etc/apache2/conf.d/serendipity.conf

2012-05-25 Thread jmroth+debbug
tags 673971 + pending
thanks

postrm checks if the webserver it is trying to remove the config for is
used at all.
At that time in your test, apache2 has already been removed, otherwise
it would have performed the purge correctly.

I don't remember why it performs that check and I have now loosened it.




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#564926:

2010-06-03 Thread jmroth+debbug
[ Please address all mail to 564...@bugs.debian.org too. ]

An update from phpbb2 is not supported anyhow, as the documentation
clearly says.

Greetings,
JM


On 6/2/2010 9:44 PM, Nigel Horne wrote:
> Would that lose my phpbb2 database?
> 
> -Nigel
> 




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#564926: (no subject)

2010-06-02 Thread jmroth+debbug
Since the original install already seems to have been faulty I would
recommend purging the package completely and installing from scratch.

Greetings
JM



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#573524: (no subject)

2010-05-20 Thread jmroth+debbug
Wouldn't this rather be a bug in dbconfig-common?

Maybe also the priority of debconf messages to be shown is set too
high on your system?



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#574976: (no subject)

2010-05-10 Thread jmroth+debbug
tags 574976 wontfix
thanks

AFAIK:
- upstream is AWOL
- this package would contain ONE actual file
- it is not used anywhere else in Debian that we could find out

Therefore we have agreed to just keep this one file in the serendipity
package directly.

JM



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#579144: (no subject)

2010-04-25 Thread jmroth+debbug
forwarded 579144 
http://sourceforge.net/tracker/?func=detail&aid=2992079&group_id=75065&atid=542822
thanks

FWIW, I have made a few recommendations on how to make our lifes easier in the 
upstream issue tracker.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#565738: (no subject)

2010-04-24 Thread jmroth+debbug
Yeah, probably debconf should be used to ask which webservers should
be configured (or not).
However, this doesn't strike me as being that important since Drupal
has a quite good multisite behavior, i.e. it won't show anything under
a domain for which it hasn't been configured.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#547456: (no subject)

2010-04-24 Thread jmroth+debbug
If this is really the case, wouldn't it rather be a bug in aptitude or
dpkg or such?



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#557746: (no subject)

2010-04-19 Thread jmroth+debbug
tags 557746 +patch
thanks

This has been fixed in the current development version.
Actually, we now link to libjs-yui.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#519713: (no subject)

2010-04-19 Thread jmroth+debbug
tags 519713 +pending
thanks

Actually, it does not only happen for the users, but also for groups
etc. ;-)
This is due to the corresponding postgres sequences/serial datatypes
not being updated after prepopulating the DB.
The next version will have the fix.

Why this doesn't trigger any key violations in the DB at runtime, I do
not know. I guess it actually does but there must be something inside
serendipity that handles this exception silently.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#499765: (no subject)

2010-04-19 Thread jmroth+debbug
tags 499765 +moreinfo
owner 499765 !
thanks

I believe your first problem might be a duplicate of #519713.

As far as your second problem is concerned, what action did you
exactly carry out to trigger it?



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#477440: admin credentials: init/reset

2010-04-12 Thread jmroth+debbug
retitle 477440 admin credentials: init/reset
thanks

There has also been a long-standing todo from Jeroen that asks to

> Provide a way to reset passwords, in case the admin looses control

Therefore I am "enhancing" the title of this report.

JM



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#576007: (no subject)

2010-03-31 Thread jmroth+debbug
reopen 564926
merge 576007 564926
thanks

Please stay calm and refrain from opening multiple reports with the
same issue. Please use #564926.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#564926: closed by "J.M.Roth" ()

2010-03-31 Thread jmroth+debbug
On 21 Feb I asked

> Is the database really not there?
> 
> Were there errors during installation?

(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=564926#10)

There was no reply, so I assumed this was solved somehow.

So did you try installing again and see if there are errors (in case
you don't remember from the first time)?

JM



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#506259: (no subject)

2010-03-31 Thread jmroth+debbug
tags 506259 +upstream
thanks

I have forwarded this bug upstream.

As far as feature requests are concerned, AFAIK the phpBB developers have no 
official way to discuss those.

See also: http://area51.phpbb.com/phpBB/viewtopic.php?f=3&t=31607#p201656

There is not much we can do here unless someone provides a patch. ;-)
Or maybe there already is a mod that provides this feature.
I haven't checked.
Feel free to provide more info on this matter.

JM



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#274914: (no subject)

2010-03-24 Thread jmroth+debbug
Oops. The previous patch did not contain all the differences required
to make sense. Here you go again.
diff -Nur websvn-2.3.0.orig/debian/apache.conf websvn-2.3.0/debian/apache.conf
--- websvn-2.3.0.orig/debian/apache.conf2010-03-24 08:58:45.0 
+0100
+++ websvn-2.3.0/debian/apache.conf 2010-03-24 09:19:08.0 +0100
@@ -3,8 +3,13 @@
 Alias /websvn /usr/share/websvn

 
+  ## No MultiViews
   DirectoryIndex index.php
   Options FollowSymLinks
+  ## MultiViews
+  #DirectoryIndex wsvn.php
+  #Options FollowSymLinks MultiViews
+  ## End MultiViews
   Order allow,deny
   Allow from all
   
diff -Nur websvn-2.3.0.orig/debian/docs websvn-2.3.0/debian/docs
--- websvn-2.3.0.orig/debian/docs   2010-03-24 08:58:45.0 +0100
+++ websvn-2.3.0/debian/docs2010-03-24 09:03:43.0 +0100
@@ -1,3 +1,4 @@
 doc/install.html
 doc/style.css
 doc/templates.html
+doc/README.multiviews
\ No newline at end of file
diff -Nur websvn-2.3.0.orig/doc/README.multiviews 
websvn-2.3.0/doc/README.multiviews
--- websvn-2.3.0.orig/doc/README.multiviews 1970-01-01 01:00:00.0 
+0100
+++ websvn-2.3.0/doc/README.multiviews  2010-03-24 09:12:05.0 +0100
@@ -0,0 +1,5 @@
+To enable multiviews, you have to:
+- edit /etc/websvn/apache.conf:
+  + comment out the "## No MultiViews" section,
+  + uncomment the "## Multiviews" section, and
+- uncomment $config->useMultiViews() in /etc/websvn/config.php.
diff -Nur websvn-2.3.0.orig/wsvn.php websvn-2.3.0/wsvn.php
--- websvn-2.3.0.orig/wsvn.php  2009-12-04 06:53:49.0 +0100
+++ websvn-2.3.0/wsvn.php   2010-03-24 08:59:45.0 +0100
@@ -28,10 +28,10 @@
 //
 // e.g. For "http://www.example.com/websvn"; use '/websvn'
 //
-// Note that wsvn.php need not be in the /websvn directory (and normally 
isn't).
 // If you want to use the root server directory, just use a blank string ('').
-//$locwebsvnhttp = '/websvn';
-$locwebsvnhttp = '';
+// In Debian, the application usually is accessible in directory 'websvn':
+$locwebsvnhttp = '/websvn';
+#$locwebsvnhttp = '';

 // Physical location of websvn directory. Change this if your wsvn.php is not 
in
 // the same folder as the rest of the distribution


Bug#274914: (no subject)

2010-03-24 Thread jmroth+debbug
found 274914 2.30-1
tags +patch
severity wishlist
retitle 274914 websvn: deobfuscate enabling of multiviews feature
thanks

I believe the attached patch would alleviate some of the confusion.
diff -Nur websvn-2.3.0.orig/debian/docs websvn-2.3.0/debian/docs
--- websvn-2.3.0.orig/debian/docs   2010-03-24 08:58:45.0 +0100
+++ websvn-2.3.0/debian/docs2010-03-24 09:03:43.0 +0100
@@ -1,3 +1,4 @@
 doc/install.html
 doc/style.css
 doc/templates.html
+doc/README.multiviews
\ No newline at end of file
diff -Nur websvn-2.3.0.orig/doc/README.multiviews 
websvn-2.3.0/doc/README.multiviews
--- websvn-2.3.0.orig/doc/README.multiviews 1970-01-01 01:00:00.0 
+0100
+++ websvn-2.3.0/doc/README.multiviews  2010-03-24 09:12:05.0 +0100
@@ -0,0 +1,5 @@
+To enable multiviews, you have to:
+- edit /etc/websvn/apache.conf:
+  + comment out the "## No MultiViews" section,
+  + uncomment the "## Multiviews" section, and
+- uncomment $config->useMultiViews() in /etc/websvn/config.php.
diff -Nur websvn-2.3.0.orig/wsvn.php websvn-2.3.0/wsvn.php
--- websvn-2.3.0.orig/wsvn.php  2009-12-04 06:53:49.0 +0100
+++ websvn-2.3.0/wsvn.php   2010-03-24 08:59:45.0 +0100
@@ -28,10 +28,10 @@
 //
 // e.g. For "http://www.example.com/websvn"; use '/websvn'
 //
-// Note that wsvn.php need not be in the /websvn directory (and normally 
isn't).
 // If you want to use the root server directory, just use a blank string ('').
-//$locwebsvnhttp = '/websvn';
-$locwebsvnhttp = '';
+// In Debian, the application usually is accessible in directory 'websvn':
+$locwebsvnhttp = '/websvn';
+#$locwebsvnhttp = '';

 // Physical location of websvn directory. Change this if your wsvn.php is not 
in
 // the same folder as the rest of the distribution


Bug#573051: Status update

2010-03-11 Thread jmroth+debbug
Status update:

I am still stuck on upgrading the 3.0.2 pgsql scheme.
The native updater doesn't like it.

ERROR: duplicate key value violates unique constraint
"phpbb_modules_pkey" []

SQL

INSERT INTO phpbb_modules (module_basename, module_enabled,
module_display, parent_id, module_class, module_langname, module_mode,
module_auth, left_id, right_id) VALUES ('board', 1, 1, 3, 'acp',
'ACP_FEED_SETTINGS', 'feed', 'acl_a_board', 39, 40)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#437836: (no subject)

2010-03-09 Thread jmroth+debbug
I was just wondering: what does upstream have to say to this?
(I mean this kind of multi-site support)

I googled this quickly and found several opinions:
- install a package for each site/webspace one wishes to use it in
- install one board and do the rest with the board's permissions (if at
all possible)
- turn caching off

Just wondering...



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#526970: (no subject)

2010-03-09 Thread jmroth+debbug
tags 526970 upstream wontfix
thanks

Yep, for user #1 all auth checks are bypassed by default.
AFAIK there is no admin /role/ by default, unless someone adds it, and
adds users to it.

So I guess there is nothing to do here and at this point.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#505319: @Anthony

2010-03-07 Thread jmroth+debbug
Pt 9 in docs/COPYING of phpBB says

Each version is given a distinguishing version number.  If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and
conditions either of that version >>> or of any later version <<<
published by the Free Software Foundation.  If the Program does not
specify a version number of this License, you may choose any version
ever published by the Free Software Foundation.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#447542: filesystem permissions and layout

2010-03-07 Thread jmroth+debbug
retitle 447542 filesystem permissions and layout
found 447542 3.0.2-4
merge 447542 525690
thanks

I mentioned this briefly in another bug report, though I believe this
should be a separate issue. Therefore I'm using this report which is
related.

I suggest treating several folders like a temp directory, just letting
www-data in is no longer the way to go since the days where we started
using php as fastcgi and such, I believe. This is also necessary to be
able to use multi-site setup flexibly (see also #437836).

chmod 1753
- /var/cache/phpbb3/cache/
- /var/lib/phpbb3/avatars/
- /var/lib/phpbb3/avatars/gallery/
- /var/lib/phpbb3/avatars/upload/
- /var/lib/phpbb3/store/
- /var/lib/phpbb3/files/

Probably what remains in /etc and in /usr should also be moved to /var/lib.
- /usr/share/phpbb3/www/images/ranks/
- /usr/share/phpbb3/www/images/smilies/ (owner can stay root)
- /etc/phpbb3/styles

/etc/phpbb3/styles is another matter:
If we follow the path from the web server to the actual files:
/usr/share/phpbb3/www/styles  ->  /etc/phpbb3/styles,
/etc/phpbb3/styles/*  ->  /usr/share/phpbb3/styles/...

Maybe one should link /usr/share/phpbb3/www/styles directly into
/var/lib/phpbb3/styles/ (new) and put a link to the default styles from
there to /usr/share/phpbb3/styles/, just as /etc/phpbb3/styles/ does it
right now.

However, I do not believe one should leave those default styles writable
via the web. There should be common ground, especially in multi-site.
One could tailor their admin scripts/control panels/whatever to create
new templates derived from the old ones that the users can modify via
the web interface. Anyway, changes that cannot be written to the
filesystem are stored in the database by phpBB AFAIK.

Please discuss.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#550321: (no subject)

2010-03-07 Thread jmroth+debbug
Do we still need to work on this?

I think this would not make it into Lenny anymore, and the only update
path that we have to offer for Squeeze is from Lenny to Squeeze. Or am I
mistaken?

JM



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#564926: (no subject)

2010-02-20 Thread jmroth+debbug
Is the database really not there?

Were there errors during installation?



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#437836: you missed a few spots ;-)

2010-02-16 Thread jmroth+debbug
You missed a few spots which also need the $url_forum variable.

Using the first patch only, e.g. queued PM notificationss are never
delivered.

JM
--- includes/functions.php.orig 2010-02-16 21:50:35.0 +0100
+++ includes/functions.php  2010-02-16 21:51:09.0 +0100
@@ -3556,7 +3556,7 @@
 */
 function page_footer($run_cron = true)
 {
-   global $db, $config, $template, $user, $auth, $cache, $starttime, 
$phpbb_root_path, $phpEx;
+   global $db, $config, $template, $user, $auth, $cache, $starttime, 
$phpbb_root_path, $phpEx, $url_forum;
 
// Output page creation time
if (defined('DEBUG'))
@@ -3601,7 +3601,7 @@
{
$cron_type = '';
 
-   if (time() - $config['queue_interval'] > 
$config['last_queue_run'] && !defined('IN_ADMIN') && 
file_exists($phpbb_root_path . 'cache/queue.' . $phpEx))
+   if (time() - $config['queue_interval'] > 
$config['last_queue_run'] && !defined('IN_ADMIN') && 
file_exists($phpbb_root_path . 'cache/' . $url_forum . '/queue.' . $phpEx))
{
// Process email queue
$cron_type = 'queue';
--- ./includes/acp/acp_language.php.orig2010-02-16 21:59:34.0 
+0100
+++ ./includes/acp/acp_language.php 2010-02-16 22:03:22.0 +0100
@@ -34,6 +34,7 @@
global $config, $db, $user, $auth, $template, $cache;
global $phpbb_root_path, $phpbb_admin_path, $phpEx, 
$table_prefix;
global $safe_mode, $file_uploads;
+   global $url_forum;
 
include_once($phpbb_root_path . 'includes/functions_user.' . 
$phpEx);
 
@@ -269,7 +270,7 @@

foreach ($mkdir_ary as $dir)
{
-   $dir = $phpbb_root_path . 
'store/' . $dir;
+   $dir = $phpbb_root_path . 
'store/' . $url_forum . '/' . $dir;

if (!is_dir($dir))
{
@@ -398,7 +399,7 @@
}
 
$transfer->rename($lang_path . $file, 
$lang_path . $file . '.bak');
-   $result = $transfer->copy_file('store/' 
. $lang_path . $file, $lang_path . $file);
+   $result = $transfer->copy_file('store/' 
. $url_forum . '/' . $lang_path . $file, $lang_path . $file);
 
if ($result === false)
{
@@ -412,9 +413,9 @@
$transfer->close_session();
 
// Remove from storage folder
-   if (file_exists($phpbb_root_path . 
'store/' . $lang_path . $file))
+   if (file_exists($phpbb_root_path . 
'store/' . $url_forum . '/' . $lang_path . $file))
{
-   @unlink($phpbb_root_path . 
'store/' . $lang_path . $file);
+   @unlink($phpbb_root_path . 
'store/' . $url_forum . '/' . $lang_path . $file);
}
 
add_log('admin', 
'LOG_LANGUAGE_FILE_REPLACED', $file);
@@ -998,11 +999,11 @@
 
if ($use_method == '.zip')
{
-   $compress = new compress_zip('w', 
$phpbb_root_path . 'store/lang_' . $row['lang_iso'] . $use_method);
+   $compress = new compress_zip('w', 
$phpbb_root_path . 'store/' . $url_forum . '/' . 'lang_' . $row['lang_iso'] . 
$use_method);
}
else
{
-   $compress = new compress_tar('w', 
$phpbb_root_path . 'store/lang_' . $row['lang_iso'] . $use_method, $use_method);
+   $compress = new compress_tar('w', 
$phpbb_root_path . 'store/' . $url_forum . '/' . 'lang_' . $row['lang_iso'] . 
$use_method, $use_method);
}
 
// Get email templates
@@ -1055,7 +1056,7 @@
$compress->close();
 
$compress->download('lang_' . $row['lang_iso']);
-   @unlink($phpbb_root_path . 'store/lang_' . 
$row['lang_iso'] . $use_method);
+   @unlink($phpbb_root_path . 'store/' . 
$url_forum . '/' . 'lang_' . $row['lang_iso'] . $use_method);
 
exit;
 
@@ -1208,12 +1209,13 @@
function get_file

Bug#504419: (no subject)

2010-02-15 Thread jmroth+debbug
found 504419 phpbb3/3.0.2-4
retitle 504419 sqlite support is completely broken
tags 504419 patch
thanks

omg, that's because dbconfig throws a myriad of errors.

SQL error: unrecognized token: "#" -> wrong comment delimiter!
SQL error: unrecognized token: "`" -> not supported!
SQL error: no such function: UNIX_TIMESTAMP() -> this is not mysql!
SQL error: near ",": syntax error -> extended inserts don't work here

I've attached a working database scheme to be put into
/usr/share/dbconfig-common/data/phpbb3/install/sqlite (I have used the
attached script with a vanilla mysql phpbb3 database as the source)

There are however more problems:

/etc/phpbb3/database.inc.php is not correct in this case, by the way.
I only make it work when it says $dbserver="$basepath/$dbname"
$basepath and $dbname alone make no database connection as the call to
sqlite_(p)open in phpBB expects the first argument to be the file name
(for other auth methods this is the server, but this is how the phpBB DB
abstraction layer works...)
I don't know enough about dbconfig though to fix this.

Last but not least, a dependency on php5-sqlite is missing!

JM


sqlite.gz
Description: GNU Zip compressed data
  #!/bin/sh

USAGE="Usage: $0  "

  if [ "x$2" = "x" ]; then
 echo $USAGE 
 exit
  fi

  if [ -e "$1.db" ]; then
echo "Press return to overwrite. Ctrl-C to quit."
read x
 rm $1.db
  fi

  mysqldump -u root -p$2 --compact --compatible=ansi 
--default-character-set=binary $1 |
  grep -v ' KEY "' |
  grep -v SET | 
  grep -v ' UNIQUE KEY "' |
#  grep -v ' PRIMARY KEY ' |
  sed 's/ unsigned / /g' |
#  sed 's/ auto_increment/ primary key autoincrement/gi' |
#   sed 's/ auto_increment/ primary key /gi' | 
   sed 's/ auto_increment/ /gi' |
  sed 's/ smallint([0-9]*) / integer /gi' |
  sed 's/ mediumint([0-9]*) / integer /gi' |
  sed 's/ tinyint([0-9]*) / integer /gi' |
  sed 's/ int([0-9]*) / integer /gi' |
  sed 's/ character set [^ ]* / /gi' |
  sed 's/ collate [^ ]* / /gi' |
  sed 's/ enum([^)]*) / varchar(255) /gi' |
  sed 's/ on update [^,]*//gi' |
  perl -e 'local $/;$_=<>;s/,\n\)/\n\)/gs;print "begin;\n";print;print 
"commit;\n"' |
  perl -pe '
  if (/^(INSERT.+?)\(/) {
 $a=$1;
 s/\\'\''/'\'\''/g;
 s/\\n/\n/g;
 s/\),\(/\);\n$a\(/g;
  }
  ' > $1.sql
  cat $1.sql | sqlite $1.db > $1.err
  ERRORS=`cat $1.err | wc -l`
  if [ "$ERRORS" == "0" ]; then
 echo "Conversion completed without error. Output files: $1.sql $1.db"
 #rm $1.sql
 rm $1.err
  else
 echo "There were errors during conversion.  Please review $1.err and 
$1.sql for details."
  fi



Bug#497035: (no subject)

2010-02-14 Thread jmroth+debbug
found 497035 phpbb3/3.0.2-4
reassign 497035 dbconfig-common/1.8.39
thanks

I have tried the same thing with drupal6 (DB connection also managed via
dbconfig-common): same result.

So either they copied wrong control code from each other or
dbconfig-common has a flaw, which I believe is more likely, therefore
I'll reassign this.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4b78a296.4050...@iip.lu



Bug#525690: (no subject)

2010-02-14 Thread jmroth+debbug
As far as permissions are concerned I proposed in #550321:


I would suggest treating these like a temp directory, just letting
www-data inside is out since the days where we started using php as
fastcgi and such.

chmod 1753 /var/cache/phpbb3/cache/ /var/lib/phpbb3/avatars/
/var/lib/phpbb3/avatars/gallery/ /var/lib/phpbb3/avatars/upload/
/usr/share/phpbb3/www/images/ranks/
/usr/share/phpbb3/www/images/smilies/ (owner can stay root)
(Note to maintainer: we should discuss all of this -- maybe also create
further symlinks from /usr/share/phpbb3/www/images/{ranks,smilies}
somewhere into /var/lib/phpbb3/ ??)


Maybe we can discuss that here, as the other bug is mainly about upgrading.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4b789820.4020...@iip.lu



Bug#477440: (no subject)

2010-02-14 Thread jmroth+debbug
@Nigel:

For upgrading between version you might take a look at #550321.
This is yet unresolved/not automated in Debian.

Backup/restore only works for backups/restores of the same version AFAIK.

Let's now stick to the subject here ;-)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4b7895c8.3000...@iip.lu



Bug#524361: (no subject)

2010-02-14 Thread jmroth+debbug
AFAIK these new "minor" releases of phpBB sometimes change major things.

Simply "replacing files" will thus not work / will not happen in stable
anyhow, and more work may be necessary.

As far as security is concerned, there have been only 3 issues since
3.0.2 (see
http://www.phpbb.com/support/documents.php?mode=changelog&version=3) --
I hope the security team took a look.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4b78945f.4060...@iip.lu



Bug#550321: upgrade walkthrough

2010-02-14 Thread jmroth+debbug
Hey there,

I have tried to accomplish an update using the installation directory
taken from the 3.0.4 tarball at phpbb.com.
A tough job !

Here's what I did:

aptitude install phpbb3
- apache2
- dbconfig: no

Add the patches from
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=437836 to enable
multi-board support that I use (be careful: the patches do not all work,
see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=437836#92)

I use auto_prepend_file for my PHP CGIs:

 installer.patch), as
the original one does not work. I wonder how anyone was ever able to
successfully use that. Maybe with register_globals=on ?

Before running the updater/installer I change permissions of several
folders.
I would suggest treating these like a temp directory, just letting
www-data inside is out since the days where we started using php as
fastcgi and such.
- chmod 1753 /var/cache/phpbb3/cache/ /var/lib/phpbb3/avatars/
/var/lib/phpbb3/avatars/gallery/ /var/lib/phpbb3/avatars/upload/
/usr/share/phpbb3/www/images/ranks/
/usr/share/phpbb3/www/images/smilies/ (owner can stay root)
(Note to maintainer: we should discuss all of this -- maybe also create
further symlinks from /usr/share/phpbb3/www/images/{ranks,smilies}
somewhere into /var/lib/phpbb3/ ??)

When using open_basedir it obviously needs to allow access to all those
directories of both the old and new installations:
[php.ini] open_basedir =
${open_basedir}:/usr/share/phpbb2/:/var/lib/phpbb2/:/var/cache/phpbb3/:/var/lib/phpbb3/

Run the updater (goto your.site/install/), follow the instructions (give
it the data to your OLD install and use Board path: ../../phpbb2/site/)

There may be some

functions_convert.php [ 2294 ]:
Could not copy file ./../../../phpbb2/site/images/smiles/icon_arrow.gif
 to ./../images/smilies/icon_arrow.gif
Please check that the target directory exists and is writable by the
webserver.

in one of the steps. I wouldn't know why. I ignored it as I am now tired.

Goto the forum, login as one of the previous administrative users,
create a search index as directed and remove the install folder. The
install will then be available.

Cheers!

JM
diff -ru phpBB3/install/install_convert.php install.phpbb3/install_convert.php
--- phpBB3/install/install_convert.php  2008-12-12 16:20:38.0 +0100
+++ install.phpbb3/install_convert.php  2010-02-14 20:07:17.0 +0100
@@ -92,6 +92,7 @@
{
global $lang, $template, $phpbb_root_path, $phpEx, $cache, 
$config, $language, $table_prefix;
global $convert;
+   global $dbms, $dbname, $dbuser, $dbpasswd, 
$dbhost, $table_prefix;
 
$this->tpl_name = 'install_convert';
$this->mode = $mode;
@@ -337,6 +338,7 @@
function get_convert_settings($sub)
{
global $lang, $language, $template, $db, $phpbb_root_path, 
$phpEx, $config, $cache;
+   global $dbms, $dbname, $dbuser, $dbpasswd, 
$dbhost, $table_prefix;
 
require($phpbb_root_path . 'config.' . $phpEx);
require($phpbb_root_path . 'includes/constants.' . $phpEx);
@@ -586,6 +588,7 @@
{
global $template, $user, $phpbb_root_path, $phpEx, $db, $lang, 
$config, $cache;
global $convert, $convert_row, $message_parser, $skip_rows, 
$language;
+   global $dbms, $dbname, $dbuser, $dbpasswd, 
$dbhost, $table_prefix;
 
require($phpbb_root_path . 'config.' . $phpEx);
require($phpbb_root_path . 'includes/constants.' . $phpEx);
@@ -635,7 +638,7 @@
if (empty($convert->options) || empty($convert->options['tag']) 
||
!isset($convert->options['dbms']) ||
!isset($convert->options['dbhost']) ||
-   !isset($convert->options['dbport']) ||
+   //  !isset($convert->options['dbport']) ||
!isset($convert->options['dbuser']) ||
!isset($convert->options['dbpasswd']) ||
!isset($convert->options['dbname']) ||


Bug#437836: patch file creates rejects

2010-02-14 Thread jmroth+debbug
Thanks David!

But (nothing too bad): the store patch created errors and a reject file
(==> acp_database.php.rej), no idea why. I made those changes manually then.

I used the install folder from the original 3.0.4 tarball.
***
*** 26,32 
function main($id, $mode)
{
global $cache, $db, $user, $auth, $template, $table_prefix;
-   global $config, $phpbb_root_path, $phpbb_admin_path, $phpEx;
  
$user->add_lang('acp/database');
  
--- 26,32 
function main($id, $mode)
{
global $cache, $db, $user, $auth, $template, $table_prefix;
+   global $config, $phpbb_root_path, $phpbb_admin_path, $phpEx, 
$url_forum;
  
$user->add_lang('acp/database');
  
***
*** 530,537 
  
if ($store == true)
{
-   global $phpbb_root_path;
-   $file = $phpbb_root_path . 'store/' . $filename . $ext;
  
$this->fp = $open($file, 'w');
  
--- 530,537 
  
if ($store == true)
{
+   global $phpbb_root_path, $url_forum;
+   $file = $phpbb_root_path . 'store/'. $url_forum. '/' . 
$filename . $ext;
  
$this->fp = $open($file, 'w');
  


Bug#248275: (no subject)

2010-02-06 Thread jmroth+debbug
found 248275 0.4.5-8
severity 248275 grave
thanks

No changes in upstream since 2004.

What should we do?
(I hate non-working stuff lying around rotting...)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#561311: (no subject)

2010-01-09 Thread jmroth+debbug
tags 561311 patch
thanks

I moved the redirection to /dev/null which now seems to work as it was
intended to.

--- /root/amavisd-new-cronjob   2010-01-10 03:55:06.0 +0100
+++ /usr/sbin/amavisd-new-cronjob   2010-01-10 03:55:25.0 +0100
@@ -19,7 +19,7 @@
 # WATCH OUT FOR PROPER QUOTING LEVEL WHEN CALLING THIS!
 do_amavis_cmd() {
if [ "$(id -u -n)" != "${SUUSER}" ]; then
-   exec /bin/su - "${SUUSER}" -c "$*"
+   exec /bin/su - "${SUUSER}" -c "$*" >/dev/null
else
# to get the same quoting level as the su path
CMD="$*"
@@ -29,10 +29,10 @@

 case $1 in
sa-sync)
-   do_amavis_cmd "/usr/bin/sa-learn --sync >/dev/null"
+   do_amavis_cmd "/usr/bin/sa-learn --sync"
;;
sa-clean)
-   do_amavis_cmd "/usr/bin/sa-learn --sync --force-expire
>/dev/null"
+   do_amavis_cmd "/usr/bin/sa-learn --sync --force-expire"
;;
*)
echo "$0: unknown cron routine $1" >&2



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#559278: (no subject)

2010-01-01 Thread jmroth+debbug
tags 559278 patch

--- /root/couriergraph.pl.old   2010-01-01 21:42:48.0 +0100
+++ /usr/sbin/couriergraph.pl   2009-12-09 13:41:09.0 +0100
@@ -316,8 +316,8 @@
 my $daemon_pidfile = '/var/run/servergraph/couriergraph.pid';
 my $daemon_rrd_dir = '/var/lib/couriergraph';

-my $courier_pop3d = 'courierpop3login';
-my $courier_imapd = 'imaplogin';
+my $courier_pop3d = 'pop3d';
+my $courier_imapd = 'imapd';
 my $courier_pop3d_ssl = 'pop3d-ssl';
 my $courier_imapd_ssl = 'imapd-ssl';



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#561011: May not be a bug after all

2009-12-21 Thread jmroth+debbug
severity: minor
thanks

I guess it's really due to much less virii being transmitted to my
machine. What the upgrade to Lenny has to do with that, I do not know. I
have to investigate.

The error message appears if there has not been transmitted any
(recognized) virus in the last 24 hours. I presume it would also happen
to the weekly graph if there was no virus detected in a period of 7
days, although I have not had that yet ;)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#552097: (no subject)

2009-12-20 Thread jmroth+debbug
This doesn't seem to be the only problem, see
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=437836



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#550321: merging problem: no upgrade path / no install directory provided

2009-12-20 Thread jmroth+debbug
reassign 550321 3.0.2-4
reassign 440405 3.0.2-4
severity 440405 important
merge 550321 440405
thanks

>From what I see in the current stable 3.0.2-4 there still is no install
folder and no clear upgrade path for older installations.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#537922: (no subject)

2009-08-14 Thread jmroth+debbug
I do have many of those errors in my logs after that upgrade.
The webserver seems to be more often unavailable than before, if I look
at my Nagios notifications...

The exact message is:
[warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade
failed in handle_request function

aptitude.log from Wed, Jul 15 2009
[UPGRADE] apache2 2.2.3-4+etch8 -> 2.2.3-4+etch9
[UPGRADE] apache2-doc 2.2.3-4+etch8 -> 2.2.3-4+etch9
[UPGRADE] apache2-mpm-prefork 2.2.3-4+etch8 -> 2.2.3-4+etch9
[UPGRADE] apache2-threaded-dev 2.2.3-4+etch8 -> 2.2.3-4+etch9
[UPGRADE] apache2-utils 2.2.3-4+etch8 -> 2.2.3-4+etch9
[UPGRADE] apache2.2-common 2.2.3-4+etch8 -> 2.2.3-4+etch9

Now some statistics:
grep 2009 /ap_pass_brigade  | grep Apr | wc -l
48
grep 2009 /ap_pass_brigade  | grep May | wc -l
36
grep 2009 /ap_pass_brigade  | grep Jun | wc -l
96
grep 2009 /ap_pass_brigade  | grep Jul | wc -l
6862
grep 2009 /ap_pass_brigade  | grep Aug | wc -l
9202

(/ap_pass_brigade is a pre-filtered file containing all those error
messages)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org