[Kanboard] Kanban board

Même problème rencontré que @petrus
Pour supprimer une règle, je passe directement par phpmyadmin,
« kanboard » sql => table « actions » puis je supprime la règle en question

Hey!
Today’s update has an error on my server, tested twice, with the UI, and with console after a reboot :

Info: Now upgrading kanboard...
Info: Creating a safety backup prior to the upgrade
Info: Collecting files to be backed up for kanboard...
Info: Declaring files to be backed up...
Info: Backing up the MySQL database...
Info: Backup script completed for kanboard. (YunoHost will then actually copy those files to the archive).
Info: Creating a backup archive from the collected files...
Info: The archive will contain about 13.6MB of data.
Success! Backup created: kanboard-pre-upgrade2
Success! Backup deleted: kanboard-pre-upgrade1
Info: Updating sources...
Warning: Failed to update sources : YunoHost was able to download the asset 'main' (https://github.com/kanboard/kanboard/archive/refs/tags/v1.2.35.tar.gz) for kanboard, but the asset doesn't match the expected checksum. This could mean that some temporary network failure happened on your server, OR the asset was somehow changed by the upstream maintainer (or a malicious actor?) and YunoHost packagers need to investigate and update the app manifest to reflect this change.
    Expected sha256 checksum: 9b6118ba4e3b3dd17f5313a963be09b7f9c323ad0c78bde3d9a394c6afb30b7e
    Downloaded sha256 checksum: 3c6a4175fe31c50aea68e5a252d9e3f36e98fc0948f93583dfbfacf570171c64
    Downloaded file size: 3.3M
Info: Reverting sources...
Error: Provisioning, deprovisioning, or updating resources for kanboard failed: YunoHost was able to download the asset 'main' (https://github.com/kanboard/kanboard/archive/refs/tags/v1.2.35.tar.gz) for kanboard, but the asset doesn't match the expected checksum. This could mean that some temporary network failure happened on your server, OR the asset was somehow changed by the upstream maintainer (or a malicious actor?) and YunoHost packagers need to investigate and update the app manifest to reflect this change.
    Expected sha256 checksum: 9b6118ba4e3b3dd17f5313a963be09b7f9c323ad0c78bde3d9a394c6afb30b7e
    Downloaded sha256 checksum: 3c6a4175fe31c50aea68e5a252d9e3f36e98fc0948f93583dfbfacf570171c64
    Downloaded file size: 3.3M

If it can help :wink:
Thx !

Hey ! Last update gives me an error :
https://paste.yunohost.org/raw/xufusogaci
Thx!

should be fixed in testing, thanks

Hey !
The current update ( 1.2.42~ynh2 à 1.2.43~ynh1) is not applying, stuck after download (it looks like the same problem as previous message ?)
https://paste.yunohost.org/raw/kiligojozu
Thx !

fixed

Ok thx for reactivity ! I’ll wait a moment to have this 1.2.43~ynh2 to be shown on my box, the ynh1 is still here.

EDIT: It’s ok now !! You’re the boss. Happy xmas :christmas_tree: :gift:

The downloaded file’s SHA256 checksum (c9b60babc60d577a50c3f585a4303c538513f3c8e70c15e660bbb6bf0e9b7ede) doesn’t match the expected checksum (d769e2e2d442b3f5cca9b0002cc316829b65b43de62d2e6a970a0fde21c7d56a), causing the upgrade to fail.

https://paste.yunohost.org/raw/xalufasuta

Continuing to troubleshoot, but it looks like your upstream files have changed.

Hey !

I’m have an upgrade problem :’(
1.2.48~ynh1 —> 1.2.52~ynh1

https://paste.yunohost.org/raw/bakesikopi

Thx for you help :slight_smile:

Hi.

What type of hardware are you using: VPS bought online
What YunoHost version are you running: 12.1.39
How are you able to access your server: ssh/webGUI
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: no

Seems I’ve got an upgrade problem to version 1.2.52~ynh1, too.

https://paste.yunohost.org/raw/gimosariko

Is there help on the way?
Thanks for your commitment.

I’ve a problem too, but not the same that @petrus and @VS4

https://paste.yunohost.org/raw/eqazusisap

I think we have all the same problem, the issue looks like this one :

Yunohost will not install a package with a different checksum in his script. I’m not a dev, but this smells like this kind of problem.
May be with a Yunohost script updated with the new checksum ? Or a good package online updated ? This is strange :thinking:

Hi. Upgrade from 1.2.48~ynh1 to 1.2.52~ynh2 fails. The upgrade log:

https://paste.yunohost.org/raw/nizeludelo

I suspect the config.php file is not up to date.
Could you check if you have the following line in the file var/www/kanboard/config.php around line 294: define('TRUSTED_PROXY_NETWORKS', '127.0.0.1');

some issue…

https://paste.yunohost.org/raw/uhijobiseh

sudo cat /var/www/kanboard/config.php
<?php

/*******************************************************************/
/* Rename this file to config.php if you want to change the values */
/*                                                                 */
/* Make sure all paths are absolute by using __DIR__ where needed  */
/*******************************************************************/

// Data folder (must be writeable by the web server user and absolute)
define('DATA_DIR', '/home/yunohost.app/kanboard/');

// Enable/Disable debug
define('DEBUG', false);

// Available log drivers: syslog, stderr, stdout, system or file
define('LOG_DRIVER', 'system');

// Log filename if the log driver is "file"
define('LOG_FILE',  '/home/yunohost.app/kanboard/debug.log');

// Plugins directory
define('PLUGINS_DIR', '/var/www/kanboard/plugins');

// Plugins directory URL
define('PLUGIN_API_URL', 'https://kanboard.org/plugins.json');

// Enable/Disable plugin installer (Disabled by default for security reasons)
// There is no code review or any approval process to submit a plugin.
// This is up to the Kanboard instance owner to validate if a plugin is legit.
define('PLUGIN_INSTALLER', true);

// Available cache drivers are "file" and "memory"
define('CACHE_DRIVER', 'memory');

// Cache folder to use if cache driver is "file" (must be writeable by the web server user)
define('CACHE_DIR', '/home/yunohost.app/kanboard/cache');

// Folder for uploaded files (must be writeable by the web server user)
define('FILES_DIR', '/home/yunohost.app/kanboard/files');

// Enable/disable email configuration from the user interface
define('MAIL_CONFIGURATION', true);

// E-mail address used for the "From" header (notifications)
define('MAIL_FROM', 'noreply@tank.3demo.info');

// E-mail address used for the "Bcc" header to send a copy of all notifications
define('MAIL_BCC', '');

// Mail transport available: "smtp", "sendmail", "mail" (PHP mail function), "postmark", "mailgun", "sendgrid"
define('MAIL_TRANSPORT', 'smtp');

// SMTP configuration to use when the "smtp" transport is chosen
define('MAIL_SMTP_HOSTNAME', 'localhost');
define('MAIL_SMTP_PORT', 25);
define('MAIL_SMTP_USERNAME', 'kanboard');
define('MAIL_SMTP_PASSWORD', '315a8bafb70779gfcb5d267a');
define('MAIL_SMTP_ENCRYPTION', null); // Valid values are "null", "ssl" or "tls"

// Sendmail command to use when the transport is "sendmail"
define('MAIL_SENDMAIL_COMMAND', '/usr/sbin/sendmail -bs');

// Run automatically database migrations
// If set to false, you will have to run manually the SQL migrations from the CLI during the next Kanboard upgrade
// Do not run the migrations from multiple processes at the same time (example: web page + background worker)
define('DB_RUN_MIGRATIONS', false);

// Database driver: sqlite, mysql, postgres, odbc, dblib, or mssql (sqlite by default)
define('DB_DRIVER', 'mysql');

// Database username
define('DB_USERNAME', 'kanboard');

// Database password
define('DB_PASSWORD', '40e865b81d9a7420ec171b19');

// Database hostname
define('DB_HOSTNAME', 'localhost');

// Database database name
define('DB_NAME', 'kanboard');

// Database custom port (null = default port)
define('DB_PORT', null);

// Mysql SSL key
define('DB_SSL_KEY', null);

// Mysql SSL certificate
define('DB_SSL_CERT', null);

// Mysql SSL CA
define('DB_SSL_CA', null);

// Mysql SSL server verification, set to false if you don't want the Mysql driver to validate the certificate CN
define('DB_VERIFY_SERVER_CERT', null);

// Timeout value for PDO attribute
define('DB_TIMEOUT', null);

// ODBC DSN (default: kanboard)
define('DB_ODBC_DSN', 'kanboard');

// Enable LDAP authentication (false by default)
define('LDAP_AUTH', false);

// LDAP server protocol, hostname and port URL (ldap[s]://hostname:port)
define('LDAP_SERVER', 'ldap://127.0.0.1:389');

// LDAP server port (389 by default)
define('LDAP_PORT', 389);

// By default, require certificate to be verified for ldaps:// style URL. Set to false to skip the verification
define('LDAP_SSL_VERIFY', true);

// Enable LDAP START_TLS
define('LDAP_START_TLS', false);

// By default Kanboard lowercase the ldap username to avoid duplicate users (the database is case sensitive)
// Set to true if you want to preserve the case
define('LDAP_USERNAME_CASE_SENSITIVE', false);

// LDAP bind type: "anonymous", "user" or "proxy"
define('LDAP_BIND_TYPE', 'anonymous');

// LDAP username to use with proxy mode
// LDAP username pattern to use with user mode
define('LDAP_USERNAME', null);

// LDAP password to use for proxy mode
define('LDAP_PASSWORD', null);

// LDAP DN for users
// Example for ActiveDirectory: CN=Users,DC=kanboard,DC=local
// Example for OpenLDAP: ou=People,dc=example,dc=com
define('LDAP_USER_BASE_DN', 'ou=users,dc=yunohost,dc=org');

// LDAP pattern to use when searching for a user account
// Example for ActiveDirectory: '(&(objectClass=user)(sAMAccountName=%s))'
// Example for OpenLDAP: 'uid=%s'
define('LDAP_USER_FILTER', 'uid=%s');

// LDAP attribute for username
// Example for ActiveDirectory: 'sAMAccountName'
// Example for OpenLDAP: 'uid'
define('LDAP_USER_ATTRIBUTE_USERNAME', 'uid');

// LDAP attribute for user full name
// Example for ActiveDirectory: 'displayname'
// Example for OpenLDAP: 'cn'
define('LDAP_USER_ATTRIBUTE_FULLNAME', 'displayname');

// LDAP attribute for user email
define('LDAP_USER_ATTRIBUTE_EMAIL', 'mail');

// LDAP attribute to find groups in user profile
define('LDAP_USER_ATTRIBUTE_GROUPS', 'memberof');

// LDAP attribute for user avatar image: thumbnailPhoto or jpegPhoto
define('LDAP_USER_ATTRIBUTE_PHOTO', '');

// LDAP attribute for user language, example: 'preferredlanguage'
// Put an empty string to disable language sync
define('LDAP_USER_ATTRIBUTE_LANGUAGE', '');

// Automatically create a user profile when a user authenticates via LDAP.
// If set to false, only LDAP users can log in for whom a Kanboard profile already exists.
define('LDAP_USER_CREATION', true);

// Set new user as Manager
define('LDAP_USER_DEFAULT_ROLE_MANAGER', false);

// LDAP DN for administrators
// Example: CN=Kanboard-Admins,CN=Users,DC=kanboard,DC=local
define('LDAP_GROUP_ADMIN_DN', '');

// LDAP DN for managers
// Example: CN=Kanboard Managers,CN=Users,DC=kanboard,DC=local
define('LDAP_GROUP_MANAGER_DN', '');

// Enable LDAP group provider for project permissions
// The end-user will be able to browse LDAP groups from the user interface and allow access to specified projects
define('LDAP_GROUP_PROVIDER', false);

// LDAP Base DN for groups
define('LDAP_GROUP_BASE_DN', '');

// LDAP group filter
// Example for ActiveDirectory: (&(objectClass=group)(sAMAccountName=%s*))
define('LDAP_GROUP_FILTER', '');

// LDAP user group filter
// If this filter is configured, Kanboard will search user groups in LDAP_GROUP_BASE_DN with this filter
// Example for OpenLDAP: (&(objectClass=posixGroup)(memberUid=%s))
define('LDAP_GROUP_USER_FILTER', '');

// LDAP attribute for the user in the group filter
// 'username' or 'dn'
define('LDAP_GROUP_USER_ATTRIBUTE', 'username');

// LDAP attribute for the group name
define('LDAP_GROUP_ATTRIBUTE_NAME', 'cn');

// Enable/Disable groups synchronization when external authentication is used.
define('LDAP_GROUP_SYNC', true);

// Enable/disable the reverse proxy authentication
define('REVERSE_PROXY_AUTH', true);

// Header name to use for the username
define('REVERSE_PROXY_USER_HEADER', 'REMOTE_USER');

// Username of the admin, by default blank
define('REVERSE_PROXY_DEFAULT_ADMIN', 'phil');

// Header name to use for the user email
define('REVERSE_PROXY_EMAIL_HEADER', 'REMOTE_EMAIL');

// Header name to use for the user full name
define('REVERSE_PROXY_FULLNAME_HEADER', 'REMOTE_NAME');

// Default domain to use for setting the email address
define('REVERSE_PROXY_DEFAULT_DOMAIN', 'domain.org');

// Enable/disable remember me authentication
define('REMEMBER_ME_AUTH', false);

// Enable or disable "Strict-Transport-Security" HTTP header
define('ENABLE_HSTS', false);

// Enable or disable "X-Frame-Options: DENY" HTTP header
define('ENABLE_XFRAME', true);

// Escape html inside markdown text
define('MARKDOWN_ESCAPE_HTML', true);

// API alternative authentication header, the default is HTTP Basic Authentication defined in RFC2617
define('API_AUTHENTICATION_HEADER', '');

// Enable/disable url rewrite
define('ENABLE_URL_REWRITE', true);

// Hide login form, useful if all your users use Google/Github/ReverseProxy authentication
define('HIDE_LOGIN_FORM', true);

// Disabling logout (useful for external SSO authentication)
define('DISABLE_LOGOUT', true);

// Enable captcha after 3 authentication failure
define('BRUTEFORCE_CAPTCHA', 3);

// Lock the account after 6 authentication failure
define('BRUTEFORCE_LOCKDOWN', 6);

// Lock account duration in minute
define('BRUTEFORCE_LOCKDOWN_DURATION', 15);

// Session duration in second (0 = until the browser is closed)
// See http://php.net/manual/en/session.configuration.php#ini.session.cookie-lifetime
define('SESSION_DURATION', 0);

// Session handler: db or php
define('SESSION_HANDLER', 'db');

// HTTP client proxy
define('HTTP_PROXY_HOSTNAME', '');
define('HTTP_PROXY_PORT', '3128');
define('HTTP_PROXY_USERNAME', '');
define('HTTP_PROXY_PASSWORD', '');
define('HTTP_PROXY_EXCLUDE', 'localhost');

// Set to false to allow self-signed certificates
define('HTTP_VERIFY_SSL_CERTIFICATE', false);

// TOTP (2FA) issuer name
define('TOTP_ISSUER', 'Kanboard');

// Comma separated list of fields to not synchronize when using external authentication providers
define('EXTERNAL_AUTH_EXCLUDE_FIELDS', 'username');

// Enable or disable displaying group-memberships in userlist (true by default)
define('SHOW_GROUP_MEMBERSHIPS_IN_USERLIST', true);

// Limit number of groups to display in userlist (The full list of group-memberships is always shown, ...
// ... when hovering the mouse over the group-icon of a given user!)
// If set to 0 ALL group-memberships will be listed (7 by default)
define('SHOW_GROUP_MEMBERSHIPS_IN_USERLIST_WITH_LIMIT', 7);

In my case, I don’t have this line.

Adding that line at the end of the config.php file solved the upgrade issue. Thank you.

  • im still on 1.2.48~ynh1
  • added → define(‘TRUSTED_PROXY_NETWORKS’, ‘127.0.0.1’); to the end of /var/www/kanboard/config.php
  • that lets me update to 1.2.52~ynh2, but give me a blank white page
  • * log

Hey !
Upgrade to 1.2.56~ynh1 has been successful within the webinterface.

But when going to the Kanboard URL, I have a blank page shown after logging in Yunohost portal.

Am I alone with this ?
Thx for you help :slight_smile:

hi, update seems to overwrite /var/www/kanboard/config.php
i have to change 3 positions:

// Enable/disable the reverse proxy authentication
define('REVERSE_PROXY_AUTH', false);

// Hide login form, useful if all your users use Google/Github/ReverseProxy authentication
define('HIDE_LOGIN_FORM', false);

// Disabling logout (useful for external SSO authentication)
define('DISABLE_LOGOUT', false);