DuckCorp Projects: Issues
https://projects.duckcorp.org/
https://projects.duckcorp.org/favicon.ico?1669909042
2022-08-28T14:08:34Z
DuckCorp Projects
Redmine
DuckCorp Infrastructure - Bug #779 (Resolved): Upgrade NextCloud (from 23.0.8 to 24.0.4)
https://projects.duckcorp.org/issues/779
2022-08-28T14:08:34Z
Pierre-Louis Bonicoli
pierre-louis.bonicoli@ir5.eu
<p>Upgrade instructions: <code>toushirou</code>@<code>/srv/www/sites/stuff.milkypond.org/README.Duck</code>.</p>
<pre>
2022-08-28T15:34:59+00:00 Disabled incompatible app: breezedark
2022-08-28T15:34:59+00:00 Disabled incompatible app: end_to_end_encryption
2022-08-28T15:34:59+00:00 Disabled incompatible app: epubreader
2022-08-28T15:34:59+00:00 Disabled incompatible app: spreed
2022-08-28T15:34:59+00:00 Disabled incompatible app: twofactor_admin
2022-08-28T15:34:59+00:00 Disabled incompatible app: weather
</pre>
Supported apps:
<ul>
<li><a href="https://apps.nextcloud.com/apps/end_to_end_encryption" class="external">end_to_end_encryption</a></li>
<li><a href="https://apps.nextcloud.com/apps/breezedark" class="external">breezedark</a></li>
<li><a href="https://apps.nextcloud.com/apps/spreed" class="external">spreed</a></li>
</ul>
Unsupported/Unmaintained apps:
<ul>
<li>weather (disabled): <a class="external" href="https://github.com/nextcloud/weather/issues/102">https://github.com/nextcloud/weather/issues/102</a></li>
<li>twofactor_admin (enabled but the <code>occ</code> command <code> twofactorauth:admin:generate-code</code> doesn't appears ?): <a class="external" href="https://github.com/ChristophWurst/twofactor_admin/issues/229">https://github.com/ChristophWurst/twofactor_admin/issues/229</a></li>
</ul>
Patch applied:
<ul>
<li>epubreader: <a class="external" href="https://github.com/e-alfred/epubreader/issues/44">https://github.com/e-alfred/epubreader/issues/44</a> (patch attached)</li>
</ul>
DuckCorp Infrastructure - Bug #778 (Resolved): Upgrade NextCloud (from 23.0.7 to 23.0.8)
https://projects.duckcorp.org/issues/778
2022-08-28T12:36:32Z
Pierre-Louis Bonicoli
pierre-louis.bonicoli@ir5.eu
<p>Upgrade instructions: <code>toushirou</code>@<code>/srv/www/sites/stuff.milkypond.org/README.Duck</code>.</p>
DuckCorp Infrastructure - Bug #776 (Resolved): Users are unable to register to projects.duckcorp.org
https://projects.duckcorp.org/issues/776
2022-07-10T10:42:55Z
Pierre-Louis Bonicoli
pierre-louis.bonicoli@ir5.eu
<p>There is an issue related to the captcha:<br /><pre>
Oops, we failed to validate your reCAPTCHA response. Please try again.
</pre><br />I tried with firefox and chromium.</p>
<p><code>/var/log/redmine/dc/production.log</code> from the <code>redmine</code> LXC container:<br /><pre>
Started POST "/account/register" for 185.238.6.46 at 2022-07-10 12:53:52 +0000
Processing by AccountController#register as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"[REDACTED]", "user"=>{"login"=>"pilou_test", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "firstname"=>"pilou", "lastname"=>"pilou_test", "mail"=>"pilou_test@ir5.eu", "language"=>"fr"}, "g-recaptcha-response"=>"[REDACTED]", "commit"=>"Soumettre"}
Current user: anonymous
Rendering plugins/recaptcha/app/views/account/register.html.erb within layouts/base
Rendered plugins/recaptcha/app/views/account/register.html.erb within layouts/base (8.8ms)
Completed 200 OK in 3022ms (Views: 14.7ms | ActiveRecord: 1.4ms)
</pre></p>
DuckCorp Infrastructure - Bug #775 (Resolved): Ninjabot doesn't handle unreachable network
https://projects.duckcorp.org/issues/775
2022-07-10T09:29:08Z
Pierre-Louis Bonicoli
pierre-louis.bonicoli@ir5.eu
<p>Ninjabot was unable to reconnect after encountering a temporarily unreachable network:<br /><pre>
Jul 07 00:40:11 orthos.duckcorp.org ninjabot[1608725]: <= {} None PING ['irc2.duckcorp.org']
Jul 07 00:41:31 orthos.duckcorp.org ninjabot[1608725]: [126B blob data]
Jul 07 00:42:08 orthos.duckcorp.org ninjabot[1608725]: [132B blob data]
Jul 07 00:46:31 orthos.duckcorp.org ninjabot[1608725]: [129B blob data]
Jul 07 00:58:02 orthos.duckcorp.org ninjabot[1608725]: Traceback (most recent call last):
Jul 07 00:58:02 orthos.duckcorp.org ninjabot[1608725]: File "/opt/ninjabot/venv/bin/ninjabot", line 8, in <module>
Jul 07 00:58:02 orthos.duckcorp.org ninjabot[1608725]: sys.exit(ninjabot.cli())
Jul 07 00:58:02 orthos.duckcorp.org ninjabot[1608725]: File "/opt/ninjabot/venv/lib/python3.9/site-packages/ninjabot/ninjabot.py", line 38, in cli
Jul 07 00:58:02 orthos.duckcorp.org ninjabot[1608725]: client.start()
Jul 07 00:58:02 orthos.duckcorp.org ninjabot[1608725]: File "/opt/ninjabot/venv/lib/python3.9/site-packages/py_irc/irc.py", line 99, in start
Jul 07 00:58:02 orthos.duckcorp.org ninjabot[1608725]: buf = self.socket.recv(4096)
Jul 07 00:58:02 orthos.duckcorp.org ninjabot[1608725]: File "/usr/lib/python3.9/ssl.py", line 1226, in recv
Jul 07 00:58:02 orthos.duckcorp.org ninjabot[1608725]: return self.read(buflen)
Jul 07 00:58:02 orthos.duckcorp.org ninjabot[1608725]: File "/usr/lib/python3.9/ssl.py", line 1101, in read
Jul 07 00:58:02 orthos.duckcorp.org ninjabot[1608725]: return self._sslobj.read(len)
Jul 07 00:58:02 orthos.duckcorp.org ninjabot[1608725]: OSError: [Errno 101] Network is unreachable
Jul 07 04:56:32 orthos.duckcorp.org ninjabot[1608725]: [127B blob data]
Jul 07 04:56:32 orthos.duckcorp.org ninjabot[1608725]: Connection broke up
Jul 07 04:56:32 orthos.duckcorp.org ninjabot[1608725]: Attemting to connect to irc.milkypond.org
Jul 07 04:56:32 orthos.duckcorp.org ninjabot[1608725]: Connected to irc.milkypond.org
</pre><br />The bot wasn't connected at <code>04:56:32</code>, a manual restart of the service was required.</p>
DuckCorp Infrastructure - Bug #774 (Resolved): slapd service was stopped on toushirou
https://projects.duckcorp.org/issues/774
2022-06-27T05:22:44Z
Pierre-Louis Bonicoli
pierre-louis.bonicoli@ir5.eu
<p>unattended-upgrades restarted slapd process but slapd wasn't able to start due to other slapd being also restarted by unattended-upgrades:<br /><pre>
Log started: 2022-06-27 06:24:52
[...]
Restarting services...
systemctl restart apache2.service clamav-daemon.service clamav-freshclam.service dovecot.service fail2ban.service mariadb.service matrix-appservice-irc.service matrix-synapse.service named.service nslcd.service php7.4-fpm.service postfix-mta-sts-resolver.service postfix@-.service proftpd.service redis-server.service rspamd.service slapd.service smokeping.service spoolinger.service ssh.service stunnel4.service systemd-journald.service systemd-udevd.service thelounge.service tt-rss.service xl2tpd.service
</pre><br /><pre>
Jun 27 06:25:14 Toushirou slapd[51648]: Stopping OpenLDAP: slapd
Jun 27 06:25:14 Toushirou slapd[51914]: failed!
Jun 27 06:25:14 Toushirou systemd[1]: slapd.service: Control process exited, code=exited, status=1/FAILURE
Jun 27 06:25:14 Toushirou systemd[1]: slapd.service: Failed with result 'exit-code'.
Jun 27 06:25:14 Toushirou systemd[1]: slapd.service: Unit process 3026804 (slapd) remains running after unit stopped.
Jun 27 06:25:14 Toushirou systemd[1]: Stopped LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol).
Jun 27 06:25:14 Toushirou systemd[1]: slapd.service: Consumed 23min 5.763s CPU time.
Jun 27 06:25:14 Toushirou systemd[1]: slapd.service: Found left-over process 3026804 (slapd) in control group while starting unit. Ignoring.
Jun 27 06:25:14 Toushirou systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Jun 27 06:25:14 Toushirou systemd[1]: Starting LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol)...
Jun 27 06:25:14 Toushirou slapd[51915]: Starting OpenLDAP: slapd.
Jun 27 06:25:14 Toushirou systemd[1]: Started LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol).
Jun 27 06:26:16 Toushirou slapd[3026804]: slap_client_connect: URI=ldaps://db-ldap-3.duckcorp.org DN="cn=[REDACTED],cn=config" ldap_sasl_bind_s failed (-1)
Jun 27 06:26:16 Toushirou slapd[3026804]: do_syncrepl: rid=103 rc -1 retrying
Jun 27 06:29:16 Toushirou slapd[3026804]: slap_client_connect: URI=ldaps://db-ldap-3.duckcorp.org DN="cn=[REDACTED],cn=config" ldap_sasl_bind_s failed (-1)
Jun 27 06:29:16 Toushirou slapd[3026804]: do_syncrepl: rid=003 rc -1 retrying
Jun 27 06:29:16 Toushirou slapd[3026804]: conn=-1 op=0 syncprov_checkpoint: running checkpoint
Jun 27 06:29:16 Toushirou slapd[3026804]: DIGEST-MD5 common mech free
Jun 27 06:29:16 Toushirou slapd[3026804]: DIGEST-MD5 common mech free
Jun 27 06:29:16 Toushirou slapd[3026804]: slapd stopped.
Jun 27 06:29:16 Toushirou slapd[52543]: Stopping OpenLDAP: slapd.
Jun 27 06:29:16 Toushirou systemd[1]: slapd.service: Succeeded.
Jun 27 08:55:22 Toushirou systemd[1]: Starting LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol)...
Jun 27 08:55:22 Toushirou slapd[117269]: @(#) $OpenLDAP: slapd 2.5.6+dfsg-1~exp1 (Aug 10 2021 03:50:37) $
Debian OpenLDAP Maintainers <pkg-openldap-devel@lists.alioth.debian.org>
</pre></p>
DuckCorp Infrastructure - Enhancement #773 (New): Investigate Kea usage
https://projects.duckcorp.org/issues/773
2022-06-26T11:59:48Z
Pierre-Louis Bonicoli
pierre-louis.bonicoli@ir5.eu
<p>ISC doesn't recommend <a href="https://www.isc.org/dhcp/" class="external">ISC DHCP</a> (for new project):</p>
<blockquote>
<p>We recommend that new implementers use Kea and implement ISC DHCP only if Kea does not meet their needs. The Kea distribution does not currently include either a client or a relay.</p>
</blockquote>
<p>The next Debian release provides a <a href="https://packages.debian.org/bookworm/kea" class="external">Kea package</a>.</p>
DuckCorp Infrastructure - Bug #772 (Resolved): toushirou: matrix-appservice-irc.service is failed
https://projects.duckcorp.org/issues/772
2022-06-14T23:14:23Z
Pierre-Louis Bonicoli
pierre-louis.bonicoli@ir5.eu
<pre>
# systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
● matrix-appservice-irc.service loaded failed failed Matrix AppService IRC
# journalctl -u matrix-appservice-irc.service
Jun 15 03:06:58 Toushirou systemd[1]: matrix-synapse.service: Scheduled restart job, restart counter is at 169177.
Jun 15 03:06:58 Toushirou systemd[1]: Stopped Synapse Matrix homeserver.
Jun 15 03:06:58 Toushirou systemd[1]: Starting Synapse Matrix homeserver...
Jun 15 03:06:59 Toushirou python3[1288189]: ERROR:root:Needed matrix-common==1.0.0, got matrix-common==1.1.0
Jun 15 03:06:59 Toushirou python3[1288189]: Missing Requirements: "matrix-common==1.0.0"
Jun 15 03:06:59 Toushirou python3[1288189]: To install run:
Jun 15 03:06:59 Toushirou python3[1288189]: pip install --upgrade --force "matrix-common==1.0.0"
Jun 15 03:06:59 Toushirou systemd[1]: matrix-synapse.service: Control process exited, code=exited, status=1/FAILURE
Jun 15 03:06:59 Toushirou systemd[1]: matrix-synapse.service: Failed with result 'exit-code'.
Jun 15 03:06:59 Toushirou systemd[1]: Failed to start Synapse Matrix homeserver.
# apt policy matrix-synapse
matrix-synapse:
Installed: 1.52.0-1~bpo11+1
Candidate: 1.57.1-1~bpo11+1
Version table:
1.57.1-1~bpo11+1 100
100 https://deb.debian.org/debian bullseye-backports/main amd64 Packages
*** 1.52.0-1~bpo11+1 100
100 /var/lib/dpkg/status
1.40.0-1~fto11+1 100
100 https://fasttrack.debian.net/debian bullseye-fasttrack/main amd64 Packages
# apt install -t bullseye-backports matrix-synapse
# systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
● matrix-appservice-irc.service loaded failed failed Matrix AppService IRC
# systemctl restart matrix-appservice-irc.service
# systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
0 loaded units listed.
</pre>
DuckCorp Infrastructure - Bug #771 (Resolved): Toushirou: leftovers related to 00d55fd3 (apache2 ...
https://projects.duckcorp.org/issues/771
2022-06-05T18:45:48Z
Pierre-Louis Bonicoli
pierre-louis.bonicoli@ir5.eu
<p>Following <a class="changeset" title="guihome: reorganize DDNS account" href="https://projects.duckcorp.org/projects/dc-admin/repository/duckcorp-infra/revisions/00d55fd33fe9c2d59cfb99ecf4d299e0cad81325">00d55fd3</a>, <code>logrotate</code> failed to reload <code>apache2</code>.</p>
I removed the following files:
<ul>
<li><code>/etc/apache2/sites-enabled/www.<redacted>.eu_ssl.conf</code></li>
<li><code>/etc/php/7.{3,4}/fpm/pool.d/www.<redacted>.eu.conf</code></li>
</ul>
<p>and reloaded <code>apache2.service</code>, restarted both <code>php7.4-fpm.service</code> and <code>logrotate.service</code>.</p>
<p>Then I checked status and logs of these services.</p>
DuckCorp Infrastructure - Enhancement #770 (Resolved): redmine_dc: delete spam accounts
https://projects.duckcorp.org/issues/770
2022-04-19T20:10:01Z
Pierre-Louis Bonicoli
pierre-louis.bonicoli@ir5.eu
<p>I deleted some redmine accounts (from the redmine DuckCorp instance only), for example those listed by this command:<br /><pre>
wget https://www.stopforumspam.com/downloads/listed_email_365.gz
gunzip listed_email_365.gz
mysql redmine_dc -B -N -s -e "select user_id, address from email_addresses inner join users where email_addresses.user_id = users.id;" | gawk '$1 !~ /^[0-9]+$/{ a[$1] = ""} $2 in a { print $1 " " $2 }' listed_email_365 | wc -l
</pre><br />I also deleted some (3) locked accounts and almost all inactivated accounts.</p>
DuckCorp Infrastructure - Bug #769 (Rejected): Toushirou get stuck randomly at boot
https://projects.duckcorp.org/issues/769
2022-04-15T23:36:48Z
Pierre-Louis Bonicoli
pierre-louis.bonicoli@ir5.eu
<p>Toushirou get stuck randomly at boot.</p>
Another reboot party needs to be planned in order to assess this issue:
<ul>
<li><a href="https://www.askapache.com/linux/linux-debugging/" class="external">kernel parameters</a>: <code>debug ignore_loglevel log_buf_len=10M print_fatal_signals=1 LOGLEVEL=8 earlyprintk=vga,keep sched_debug console=ttyS0,115200 systemd.log_level=debug</code></li>
<li><a href="https://www.suse.com/support/kb/doc/?id=000019461" class="external">step by step systemd boot process</a></li>
<li><a class="external" href="https://wiki.debian.org/systemd#systemd_hangs_on_startup_or_shutdown">https://wiki.debian.org/systemd#systemd_hangs_on_startup_or_shutdown</a></li>
</ul>
<p>Pictures:<br /><img src="https://projects.duckcorp.org/attachments/download/167/2022-04-13-185627_001.jpeg" loading="lazy" style="width: 50%;" alt="" /><br /><img src="https://projects.duckcorp.org/attachments/download/168/2022-04-13-185651_001.jpeg" loading="lazy" style="width: 50%;" alt="" /></p>
DuckCorp Infrastructure - Bug #606 (Resolved): Bip service unavailable since Oct 15 (Thorfinn)
https://projects.duckcorp.org/issues/606
2017-10-23T20:21:58Z
Pierre-Louis Bonicoli
pierre-louis.bonicoli@ir5.eu
<pre>
# systemctl status bip
● bip.service - LSB: Bip irc proxy init script
Loaded: loaded (/etc/init.d/bip; generated; vendor preset: enabled)
Active: active (exited) since Wed 2017-07-12 07:37:23 CEST; 3 months 12 days ago
Docs: man:systemd-sysv-generator(8)
Tasks: 0 (limit: 4915)
Memory: 0B
CPU: 0
CGroup: /system.slice/bip.service
</pre>
<pre>
/var/log/kern.log.2.gz:Oct 15 01:50:46 thorfinn kernel: [8186790.310410] bip[754]: segfault at 8 ip 00007f1a72593f60 sp 00007fffe5f65610 error 4 in libc-2.24.so[7f1a7252c000+195000]
</pre>
<pre>
13-10-2017 23:34:20 ERROR: fd 11: Connection error
13-10-2017 23:34:20 ERROR: Error while reading on fd 11
13-10-2017 23:34:20 ERROR: client read_lines error, closing...
15-10-2017 00:25:52 ERROR: fd 15: Connection error
15-10-2017 00:25:52 ERROR: Error while reading on fd 15
15-10-2017 00:25:52 ERROR: client read_lines error, closing...
15-10-2017 00:32:05 ERROR: fd 17: Connection error
15-10-2017 00:32:05 ERROR: Error while reading on fd 17
15-10-2017 00:32:05 ERROR: client read_lines error, closing...
</pre>
<p>Thanks to Gorou for pointing that.</p>
DuckCorp Infrastructure - Bug #531 (In Progress): Logcheck on Elwing seems unable to send mail
https://projects.duckcorp.org/issues/531
2017-05-02T15:31:47Z
Pierre-Louis Bonicoli
pierre-louis.bonicoli@ir5.eu
<p>On <code>Orfeo</code>, in <code>/var/log/mail.log</code><br /><pre>
May 1 12:55:34 orfeo postfix/smtpd[14064]: NOQUEUE: reject: RCPT from unknown[2400:4030:9f9b:e901::1]: 450 4.7.1 Client host rejected: cannot find your hostname, [2400:4030:9f9b:e901::1]; from=<daemon@hq.duckcorp.org> to=<root@hq.duckcorp.org> proto=ESMTP helo=<Elwing.hq.duckcorp.org>
[...]
May 1 12:55:34 orfeo postfix/smtpd[19450]: NOQUEUE: reject: RCPT from unknown[2400:4030:9f9b:e901::1]: 450 4.7.1 Client host rejected: cannot find your hostname, [2400:4030:9f9b:e901::1]; from=<duck@hq.duckcorp.org> to=<duck@hq.duckcorp.org> proto=ESMTP helo=<Elwing.hq.duckcorp.org>
</pre></p>
DuckCorp Infrastructure - Bug #465 (Resolved): qwebirc: use SSL
https://projects.duckcorp.org/issues/465
2015-07-17T12:33:49Z
Pierre-Louis Bonicoli
pierre-louis.bonicoli@ir5.eu
<p>The qwebirc instance (available on <a class="external" href="https://irconweb.milkypond.org">https://irconweb.milkypond.org</a>) should use SSL while connecting to irc.milkypond.org</p>
DuckCorp Infrastructure - Bug #444 (Resolved): Owncould: documents shared by links are unavailabl...
https://projects.duckcorp.org/issues/444
2015-02-26T00:15:13Z
Pierre-Louis Bonicoli
pierre-louis.bonicoli@ir5.eu
<p>Owncould: documents shared by links are unavailable for 'logged-but-not-administrator' users, an error message is displayed:<br /><pre>
Unable to generate a URL for the named route "ocsms.sms.index" as such route does not exist.
</pre></p>
Logs checked:
<ul>
<li>/var/log/owncloud.log contains the error displayed to the end-user:<br /><pre>
{"app":"remote","message":"Unable to generate a URL for the named route \"ocsms.sms.index\" as such route does not exist.","level":4,"time":"2015-02-26T00:13:12+00:00"}
</pre></li>
<li>/var/log/apache2/milkypond/error.log</li>
<li>/var/log/apache2/error.log</li>
</ul>
<p>This backtrace is displayed when <code>/etc/owncloud/config.php</code> contains <code>define( "DEBUG", 1);</code>:<br /><pre>
Unable to generate a URL for the named route "ocsms.sms.index" as such route does not exist.
#0 /usr/share/owncloud/lib/private/route/router.php(258): Symfony\Component\Routing\Generator\UrlGenerator->generate('ocsms.sms.index', Array, false)
#1 /usr/share/owncloud/lib/private/route/cachingrouter.php(39): OC\Route\Router->generate('ocsms.sms.index', Array, false)
#2 /usr/share/owncloud/lib/private/urlgenerator.php(41): OC\Route\CachingRouter->generate('ocsms.sms.index', Array)
#3 /usr/share/owncloud/lib/private/helper.php(44): OC\URLGenerator->linkToRoute('ocsms.sms.index', Array)
#4 /usr/share/owncloud/lib/public/util.php(221): OC_Helper::linkToRoute('ocsms.sms.index', Array)
#5 /usr/share/owncloud/apps/ocsms/appinfo/app.php(24): OCP\Util::linkToRoute('ocsms.sms.index')
#6 /usr/share/owncloud/lib/private/app.php(113): require_once('/usr/share/ownc...')
#7 /usr/share/owncloud/lib/private/app.php(95): OC_App::requireAppFile('ocsms')
#8 /usr/share/owncloud/lib/private/app.php(75): OC_App::loadApp('ocsms')
#9 /usr/share/owncloud/apps/files_sharing/public.php(5): OC_App::loadApps()
#10 /usr/share/owncloud/public.php(46): require_once('/usr/share/ownc...')
#11 {main}
</pre></p>
DuckCorp Infrastructure - Bug #443 (New): clamav@hq.duckcorp.org: User unknown in virtual alias t...
https://projects.duckcorp.org/issues/443
2015-02-24T00:30:17Z
Pierre-Louis Bonicoli
pierre-louis.bonicoli@ir5.eu
<p>On orfeo, <code>/var/log/mail.log</code> contains, the following error:<br /><pre>
Feb 22 09:50:31 orfeo postfix/smtpd[15387]: NOQUEUE: reject: RCPT from ppp0-dsl-elwing.hq.duckcorp.org[193.17.192.249]:
550 5.1.1 <clamav@hq.duckcorp.org>: Recipient address rejected: User unknown in virtual alias table;
from=<> to=<clamav@hq.duckcorp.org> proto=ESMTP helo=<Elwing.hq.duckcorp.org>
</pre></p>