I have changed it for now, using the first option. Seems to work as expected.
I am pleased that it is being implemented.
If itās not too much trouble, it would be great if the following problem could also be fixed. It is not possible to fill a column if it has a space. For example: ācol:Expose printing platesā does not work. ācol:Expose_printing_platesā works. Thatās not so bad, but not quite so nice.
This an entirely different thing. It might require a massive redesign of the attribute parsing. But I could look at this afterward.
I dont understand the ask. Metamagik already replaces underscores for spaces, in displaying the column field name.
So, although the column name must be created usin āExpose_printing_platesā it should be displayed as, āExpose printing platesā
It relates to the ConvertToTask emails, to place the created task in columns like āWork in progressā. Currently, this is not possible.
Iāve created an issue for that.
Iām already close to a solution.
Ah now i understand, ill take a look if you get stumped.
Itās almost done, but Iāll push it after we finished the body parsing.
Hi all,
Iām currently setting up Mailmagik on my kanboard instance, and I managed to make it work fine when using the URL to fetchmail
but when I run the cron task from my OVH shared webserver, it exits with 255 error code, and apparently (from what I read online so far), this could be caused by wrong relative URLs in the cronjob php file.
my kanboard root folder is not named ākanboardā so maybe that could be the issue ?
I think we need more details regarding your system and cron command.
hi @alfredb
the cron commands are calling
/prog/plugins/Mailmagik/Controller/FetchmailController.php
and
/prog/plugins/Mailmagik/Controller/EmailViewController.php
my kanboard directory name is āprogā
the php version of the server is 8.1 on MYSQL v.8.0 db
all requirements are met.
what other info can I provide to help understanding the cause of the problem ?
Seems terribly wrong. Please try
prog/cli mailmagik:fetchmail
in your crontab. The same way as your usual cron entry for Kanboard.
Or in case you want/have to use webcron, call
https://<your_server>/?controller=FetchmailController&plugin=Mailmagik&action=run&token=<your_token>
Your token to use can be found at
https://<your_server>/settings/webhook
hi Alfred, and thanks for taking some time to help me.
Tha thing is, on OVH shared hosting, the only way to add a cron task is to enter the path of a .php file :
and the user interface will not allow to enter any space, nor special character as ā?ā or ā=ā
Accepted characters for folders are letters, numbers, and - _ . / characters. Furthermore, it is prohibited to access parent folders using ā¦
so maybe I should create a .php file calling the webcron ?
ps : sorry, this is the first time ever I try to set up a crontaskā¦
After digging a little deeper, I found this topic Cron jobs on OVH - #4 by creecros which mentions websites that provide free external webcron service. I might try thatā¦
Yes, you can do that. But many of them limit the count of invocations per day. It might be a serious limitation for this use case.
I found this page.
If this doesnāt work due to the additional argument, Iād try to create a PHP file in the Kanboard root folder (prog) and insert this instead.
Hi,
thatās the page I was showing you (but in French), so thatās definitely the place for OVH shared hosting users, but the form doesnāt accept special characters, as I was saying, so the additional argument isnāt possible.
I tried some of the free external services, hoping to have them run the webcron at scheduled time (even twice a day woud have been enough for my use case, which is quite specific since we donāt use Kanboard for support tickets or anything of the kind, but for keeping track of music bands proposals sent through a form on our websiteā¦)
But the external service fails as the webcron URL requires to be logged in, in order to runā¦
Redirection detected
It looks like your URL redirects to another URL. cron-job.org does not automatically follow redirections. In most cases, updating the job URL to the redirection target resolves this issue.
Redirection target: https://MY_DOMAIN/login
Thatās what I was thinking of, but I canāt figure out what code the PHP file must contain ?? (Really sorry to be such a noob hereā¦)
Please try to insert and use the following, in this order:
- cli mailmagik:fetchmail
If this doesnāt work, make a copy of the file cli to cli.php.
- cli.php mailmagik:fetchmail
If it still doesnāt work, create and use a file named cronjob.php with the following content.
<?php
shell_exec('./cli mailmagik:fetchmail');
- cronjob.php
This seems to be a bug. Iāll seeā¦
thanks for investigating, and thanks again for taking the time to help me set this up.
as far as the OVH cron GUI is concerned, thereās no way I can pass an argument so I tried the cronjob.php file containing the following code
<?php
shell_exec('./cli mailmagik:fetchmail');
and tested it directly in my web browser, with no success.
(Iām awaiting the cron task to be run by the server in order to see if this changes anythingā¦)