Leantime V2.1.9 #685
Replies: 9 comments 13 replies
-
What a release! Thanks everyone who contributed!
|
Beta Was this translation helpful? Give feedback.
-
Oh no, what errors do you see in resources/error.log ?
…On Tue, Apr 19, 2022 at 9:52 AM mshaw-80 ***@***.***> wrote:
Thanks for updates. Appreciate all the effort that went into it.
I've installed the latest version and have come across an issue that I
wasn't having before. Thats is, whenever I save an item (task, milestone
etc.), I'm met with a http error 500 page.
Any idea what's causing this?
—
Reply to this email directly, view it on GitHub
<#685 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALG4EFS3ZZSKA3GUB22G36DVF23ARANCNFSM5TURVNAA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Can you try to set the config variable:
$email to a correct email return address?
That should fix it. I still need to fail more gracefully in that case.
…On Tue, Apr 19, 2022 at 10:02 AM mshaw-80 ***@***.***> wrote:
Hopefully this makes sense:
[19-Apr-2022 06:48:42 America/Los_Angeles] PHP Fatal error: Uncaught
PHPMailer\PHPMailer\Exception: Invalid address: (From): in /home/reportca/
leantime.reportcatparts.com/vendor/phpmailer/phpmailer/src/PHPMailer.php:1300
Stack trace:
#0 /home/reportca/
leantime.reportcatparts.com/src/core/class.mailer.php(162):
PHPMailer\PHPMailer\PHPMailer->setFrom('', 'Admin (Leantime...')
#1 <#1> /home/reportca/
leantime.reportcatparts.com/src/domain/projects/services/class.projects.php(152):
leantime\core\mailer->sendMail(Array, 'Admin')
#2 <#2> /home/reportca/
leantime.reportcatparts.com/src/domain/tickets/services/class.tickets.php(405):
leantime\domain\services\projects->notifyProjectUsers('Admin updated t...',
'One of your To-...', '7', Array)
#3 <#3> /home/reportca/
leantime.reportcatparts.com/src/domain/tickets/controllers/class.showTicket.php(203):
leantime\domain\services\tickets->updateTicket(23, Array)
#4 <#4> /home/reportca/
leantime.reportcatparts.com/src/core/class.frontcontroller.php(164):
leantime\domain\controllers\showTicket->post(Array)
#5 <#5> /home/reportca/
leantime.reportcatparts.com/src in /home/reportca/
leantime.reportcatparts.com/vendor/phpmailer/phpmailer/src/PHPMailer.php
on line 1300
—
Reply to this email directly, view it on GitHub
<#685 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALG4EFVYIWZE2ZNYVMPWBN3VF24G7ANCNFSM5TURVNAA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Thank you! Appreciate it. Will work on a graceful fallback for this issue
…On Tue, Apr 19, 2022 at 10:12 AM mshaw-80 ***@***.***> wrote:
Thats fixed it. Thank you so much.
Leantime is an awesome system by the way. I love it.
—
Reply to this email directly, view it on GitHub
<#685 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALG4EFVJXSX4LIDBBME4U6TVF25NVANCNFSM5TURVNAA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi Team, Love the new fixes on 2.1.9 (especially the password issue), but I'm also having the same issues with saving or submitting any changes on any pages it tries to redirect to the same page, but with an error 500 on Chrome and no error messages on Firefox just blank. I've re-tested this on 2.1.8 and it appears to be working correctly using the subfolder installation method. I also don't have email setup as its for my own personal use, so I don't require an email notification. What value should I set $email to in my case? Uncaught PHPMailer\PHPMailer\Exception: Invalid address: (From): in \vendor\phpmailer\phpmailer\src\PHPMailer.php:1300 Thanks |
Beta Was this translation helpful? Give feedback.
-
Hi,
I updated phpmailer and apparently it is not very happy with empty from
addresses anymore. Can you make sure the email variable in the config file
is set? That should fix it. I am working on a fix for that.
…On Tue, Apr 26, 2022 at 9:25 PM unknown797 ***@***.***> wrote:
Hi Team,
Love the new fixes on 2.1.9 (especially the password issue), but I'm also
having the same issues with saving or submitting any changes on any pages
it tries to redirect to the same page, but with an error 500 on Chrome and
no error messages on Firefox just blank.
I've re-tested this on 2.1.8 and it appears to be working correctly using
the subfolder installation method. I also don't have email setup as its for
my own personal use, so I don't require an email notification. What value
should I set $email to in my case?
Uncaught PHPMailer\PHPMailer\Exception: Invalid address: (From): in
\vendor\phpmailer\phpmailer\src\PHPMailer.php:1300
Thanks
—
Reply to this email directly, view it on GitHub
<#685 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALG4EFVUY3LEDZBIZXTFGFTVHCJRFANCNFSM5TURVNAA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Sorry, you can set it to any address. Even just ***@***.***
It’s not validating whether you are allowed to send from that address, just
that it exists
On Tue, Apr 26, 2022 at 9:27 PM Marcel Folaron ***@***.***>
wrote:
… Hi,
I updated phpmailer and apparently it is not very happy with empty from
addresses anymore. Can you make sure the email variable in the config file
is set? That should fix it. I am working on a fix for that.
On Tue, Apr 26, 2022 at 9:25 PM unknown797 ***@***.***>
wrote:
> Hi Team,
>
> Love the new fixes on 2.1.9 (especially the password issue), but I'm also
> having the same issues with saving or submitting any changes on any pages
> it tries to redirect to the same page, but with an error 500 on Chrome and
> no error messages on Firefox just blank.
>
> I've re-tested this on 2.1.8 and it appears to be working correctly using
> the subfolder installation method. I also don't have email setup as its for
> my own personal use, so I don't require an email notification. What value
> should I set $email to in my case?
>
> Uncaught PHPMailer\PHPMailer\Exception: Invalid address: (From): in
> \vendor\phpmailer\phpmailer\src\PHPMailer.php:1300
>
> Thanks
>
> —
> Reply to this email directly, view it on GitHub
> <#685 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ALG4EFVUY3LEDZBIZXTFGFTVHCJRFANCNFSM5TURVNAA>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
Beta Was this translation helpful? Give feedback.
-
Hi guys, I am frustrated after I updated to Leantime 2.1.9, with PHP 8.1, MariaDB 10.6.7. I run Leantime on a cloud server in an LXC container with Ubuntu 22.04 LTS and an nginx reverse proxy (in another lxc container). Everything worked fine before but after the upgrade, when I login I keep staying on the login page. There are some warnings on not being able to change sessions and a proxy_fcgi error. Any good soul can point me on the right direction on what to change? If I type a wrong username/password I get the correct error message, if I input the correct user name/password it just redirects to the login page without any warning and I am stuck there. Leantime Installed on /var/www/leantime
I use php8.1-fpm and Fastcgi with a weird error that the pdo_mysql cannot be found but it's actually there
Log 1 (/var/www/leantime/resources/logs/error.log):
Log 2 (leantime-error.log):
Apache modules enabled: Extract of leantime/config/configuration.php:
... Any hint really appreciated, thanks in advance! |
Beta Was this translation helpful? Give feedback.
-
Hey,
I think the first warning is probably the main culprit. Something is up
with you pdo_mysql module.
Php says it can’t load it. I believe everything else following that error
message is a direct result of that issue (session started when error
message appears, so a new Leantime session cannot be started, ini_set
won’t work when a session is in progress etc)
Can you check if the pdo_mysql module is actually installed? It shows up in
your list of modules but the files might not be there or are corrupt.
…On Mon, Jun 20, 2022 at 2:59 AM paschauf ***@***.***> wrote:
Hi guys, I am frustrated after I updated to Leantime 2.1.9, with PHP 8.1,
MariaDB 10.6.7. I run Leantime on a cloud server in an LXC container with
Ubuntu 22.04 LTS and an nginx reverse proxy (in another lxc container).
Everything worked fine before but after the upgrade, when I login I keep
staying on the login page. There are some warnings on not being able to
change sessions and a proxy_fcgi error. Any good soul can point me on the
right direction on what to change? If I type a wrong username/password I
get the correct error message, if I input the correct user name/password it
just redirects to the login page without any warning and I am stuck there.
Leantime Installed on /var/www/leantime
Apache2 points to /var/www/leantime/public/
<VirtualHost *:80>
ServerAdmin admin@***.com
DocumentRoot /var/www/leantime/public/
ServerName leantime.***.com
<Directory /var/www/leantime/public/>
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
</Directory>
<FilesMatch \.php$>
# From the Apache version 2.4.10 and above, use the SetHandler to run PHP as a fastCGI process server
SetHandler "proxy:unix:/run/php/php8.1-fpm.sock|fcgi://localhost"
</FilesMatch>
ErrorLog /var/log/leantime/leantime-error.log
CustomLog /var/log/leantime/leantime-access.log common
</VirtualHost>
I use php8.1-fpm and Fastcgi with a weird error that the pdo_mysql cannot
be found but it's actually there
● php8.1-fpm.service - The PHP 8.1 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php8.1-fpm.service; enabled; vendor preset: enabled)
Drop-In: /run/systemd/system/service.d
└─zzz-lxc-service.conf
Active: active (running) since Mon 2022-06-20 14:32:28 HKT; 1min 38s ago
Docs: man:php-fpm8.1(8)
Process: 1242 ExecStartPost=/usr/lib/php/php-fpm-socket-helper install /run/php/php-fpm.sock /etc/php/8.1/fpm/pool.d/www.conf 81 (code=exited, status=0/SUCCESS)
Main PID: 1239 (php-fpm8.1)
Status: "Processes active: 0, idle: 2, Requests: 5, slow: 0, Traffic: 0req/sec"
Tasks: 3 (limit: 4580)
Memory: 15.0M
CPU: 254ms
CGroup: /system.slice/php8.1-fpm.service
├─1239 "php-fpm: master process (/etc/php/8.1/fpm/php-fpm.conf)" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
├─1240 "php-fpm: pool www" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
└─1241 "php-fpm: pool www" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
Jun 20 14:32:28 leantime systemd[1]: Starting The PHP 8.1 FastCGI Process Manager...
Jun 20 14:32:28 leantime php-fpm8.1[1239]: [20-Jun-2022 14:32:28] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /usr/lib/php/20210902/pdo_mysql (/usr/lib/php/20210902/pdo_mysql: cannot open shared object file: No such file o>
Jun 20 14:32:28 leantime php-fpm8.1[1239]: [20-Jun-2022 14:32:28] NOTICE: PHP message: PHP Warning: Module "imap" is already loaded in Unknown on line 0
Jun 20 14:32:28 leantime systemd[1]: Started The PHP 8.1 FastCGI Process Manager.
Log 1 (/var/www/leantime/resources/logs/error.log):
[20-Jun-2022 14:00:39 Asia/Hong_Kong] PHP Warning: ini_set(): Session ini settings cannot be changed when a session is active in /var/www/leantime-2.1.9/src/core/class.session.php on line 41
[20-Jun-2022 14:00:39 Asia/Hong_Kong] PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/leantime-2.1.9/src/core/class.session.php on line 52
[20-Jun-2022 14:00:39 Asia/Hong_Kong] PHP Warning: session_name(): Session name cannot be changed when a session is active in /var/www/leantime-2.1.9/src/core/class.session.php on line 71
[20-Jun-2022 14:00:39 Asia/Hong_Kong] PHP Warning: session_id(): Session ID cannot be changed when a session is active in /var/www/leantime-2.1.9/src/core/class.session.php on line 72
[20-Jun-2022 14:00:39 Asia/Hong_Kong] PHP Notice: session_start(): Ignoring session_start() because a session is already active in /var/www/leantime-2.1.9/src/core/class.session.php on line 73
Log 2 (leantime-error.log):
[Mon Jun 20 14:00:39.250070 2022] [proxy_fcgi:error] [pid 900] [client 180.162.72.214:0] AH01071: Got error '
PHP message: PHP Warning: ini_set(): Session ini settings cannot be changed when a session is active in /var/www/leantime-2.1.9/config/settings.php on line 49
PHP message: PHP Warning: ini_set(): Session ini settings cannot be changed when a session is active in /var/www/leantime-2.1.9/config/settings.php on line 50
PHP message: PHP Warning: ini_set(): Session ini settings cannot be changed when a session is active in /var/www/leantime-2.1.9/config/settings.php on line 51
PHP message: PHP Warning: ini_set(): Session ini settings cannot be changed when a session is active in /var/www/leantime-2.1.9/config/settings.php on line 52', referer: http://leantime.********.com/
[PHP Modules]
calendar
Core
ctype
curl
date
exif
FFI
fileinfo
filter
ftp
gd
gettext
hash
iconv
imap
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
xmlrpc
Zend OPcache
zlib
[Zend Modules]
Zend OPcache
Apache modules enabled:
access_compat actions alias auth_basic authn_core authn_file authz_core
authz_host authz_user autoindex deflate dir env fcgid filter mime
mpm_prefork negotiation php8.1 proxy proxy_fcgi proxy_fdpass remoteip
reqtimeout rewrite session session_cookie setenvif status
Extract of leantime/config/configuration.php:
...
/* General */
public $sitename = "Leantime"; //Name of your site, can be changed later
public $language = "en-US"; //Default language
public $mainColor = "1b75bb"; //Default color, can be changed later
public $logoPath = "/images/logo.png"; //Default logo path, can be changed later
public $appUrl = ""; //Base URL, trailing slash not needed
public $defaultTimezone = "Asia/Hong_Kong"; //Set default timezone
/* Database */
public $dbHost="localhost"; //Database host
public $dbUser="***"; //Database username
public $dbPassword="***"; //Database password
public $dbDatabase="***"; //Database name
/* Fileupload */
public $userFilePath= "userfiles/"; //Local relative path to store uploaded files (if not using S3)
public $dbBackupPath= "backupdb/"; //Local relative path to store backup files, need permission to write
public $useS3 = false; //Set to true if you want to use S3 instead of local files
public $s3Key = ""; //S3 Key
public $s3Secret = ""; //S3 Secret
public $s3Bucket = ""; //Your S3 bucket
public $s3UsePathStyleEndpoint = false; // false => https://[bucket].[endpoint] ; true => https://[endpoint]/[bucket]
public $s3Region = ""; //S3 region
public $s3FolderName = ""; //Foldername within S3 (can be emtpy)
public $s3EndPoint = ""; //S3 EndPoint S3 Compatible (https://sfo2.digitaloceanspaces.com)
/* Sessions */
public $sessionpassword = "***"; //Salting sessions. Replace with a strong password
public $sessionExpiration = 28800; //How many seconds after inactivity should we logout? 28800seconds = 8hours
...
Any hint really appreciated, thanks in advance!
—
Reply to this email directly, view it on GitHub
<#685 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALG4EFVBJHWF3F3I6PORBFDVQAJEVANCNFSM5TURVNAA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
This discussion was created from the release Leantime V2.1.9.
Beta Was this translation helpful? Give feedback.
All reactions