-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Select all jobs at once from the dashboard #242
Comments
Good point. Let me see what I can do. |
Saw the same use case myself except to delete cron jobs I made when testing. @pschlan Is this already implemented? I see it is. If not, could I pick up this task? |
Of course, feel free to work on it. That would be awesome. |
I tried running the repo in a github codespace (smallest one with 8gb ram). I made a devcontainer from the provided Dockerfile. It uses Ubuntu 20.04 LTS. I followed the steps on https://github.com/pschlan/cron-job.org?tab=readme-ov-file#example-environment-using-docker-compose but on step 4 with Any idea why it isn't builiding? |
I have never seen this. It might be running out of memory, can you try to assign more RAM, even if just for building? |
Doubling the ram fixed the issue. All services started now and showing logs in terminal. Although I get this log showing up: my .env ends like this:
I tried changing the last name from chronos_node to mysql_node? It didn't remove the error. Reverted back. |
I'm unable to create an account after opening up the frontend. Status of 500 from http://127.0.0.1:8010/api/ when clicking create account. |
That's not unusual during startup phase. It should retry and eventually succeed.
Did you set a valid SMTP_SERVER which accepts emails? |
Looking at the terminal it keeps on happening.
Nope. Easiest way to do it? I would expect it to be setup in the docker compose file already. Does using this work also?: https://www.ionos.ca/digitalguide/e-mail/technical-matters/set-up-docker-mail-server/ Here is what I see upon running docker compose up: https://gist.github.com/kleenkanteen/927e6a66a5d51c5eaa94fa7c94d487c6 |
I added this to docker-compose.yml:
and in .env changed this line: Still upon creating an account, I get a 500 server error. |
@pschlan any idea about the MySQL and mailserver error? |
I isolated the MySQL issue by starting it by itself. Details here: https://gist.github.com/kleenkanteen/aa6b066ebb2857e4c0a6bc55be5bdae5 |
Ok after asking for help on stackoverflow it turns out the default_authentication_plugin is deprecated, image is mysql 8.4, but according to the docs, "the plugin is deprecated as of MySQL 8.0.27 and subject to removal in a future MySQL version." Aaaand it just got disabled by default last month: docker-library/mysql#1048 Also, I will move on to adding mailserver to docker compose. |
@pschlan So I'm reading over this guide for setting up a mail server where I can see the email contents and log in: https://docker-mailserver.github.io/docker-mailserver/latest/examples/tutorials/basic-installation/ But there's so much to setup. What is the easiest way to do this email account confirmation flow? |
I am following this email guide: https://www.youtube.com/watch?v=4SQiTXHYrnw which seems the simplest but upon sending an email, nothing sends. This is my email .env's:
anything wrong with these? terminal logs show this upon sending:
|
help me bro I've suffered enough to get this running to this point 😩 (jk I am not suffering but it is hard) |
Ok so I found a way to bypass the email verification login without needing a SMTP server. I was able to login to the site using this method. Here are the steps after creating an account and it says confirmation email sent:
This will expose the docker container on post 3306 of your machine. |
Sorry for not being able to support here, lots of stuff going on the last weeks. I hope I can have a look at this (and your PR - thanks so much for this) soon. |
Np, I asked for help on stack overflow and the folks there found the issue.
When I make a cronjob locally though I remember it saying the notifications
table or something was not found. A few different tables. A good number of
tables were there already when I connected to both MySQL db's through
datagrip. Forgot to mention that and the error. Not sure why all necessary
tables were not created initially?
…On Thu, Jun 27, 2024, 3:24 AM Patrick Schlangen ***@***.***> wrote:
Sorry for not being able to support here, lots of stuff going on the last
weeks. I hope I can have a look at this (and your PR - thanks so much for
this) soon.
I'm glad you found a way to unblock yourself for now.
—
Reply to this email directly, view it on GitHub
<#242 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQF3ZKQCXHJJBEDPXQLAY2DZJO42BAVCNFSM6AAAAABIF5VTG6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJTHE3TSMBSGY>
.
You are receiving this because you commented.Message ID: <pschlan/cron-job
.***@***.***>
|
here is the full error message when I try creating a cronjob: All of it is running in gh codespaces. One weird thing is that in datagrip, I can test the connection to chronos_master and chronos_node. It succeeds for chronos_node but not chronos_master. For the latter, it just infinite loads, see the loading sign at the bottom of this pic: But for chronos_node, connection works: Gist of my docker compose file: https://gist.github.com/kleenkanteen/71038837b8ea3d26e9aa4d1f21e362d0 |
Regarding connecting to mysql-master, found the issue. On line 21 in docker-compose.yml, it should be
One workaround is that in datagrip, I connected to mysql-node and ran the create table statements for the remaining 7 tables. Then I was able to create a cron job successfully. |
It seems MySQL strict mode is not correctly disabled in your setup. That would explain why some tables have not been created properly. It puzzles me a bit since for me it works without issues with the docker compose setup in the repo. I will check again ASAP. |
Hello!
Would it be possible to create an option to select all jobs at once, directly on the panel?
When we need to delete or deactivate multiple jobs, we need to select them one by one and then do the action. When there are many jobs this becomes a bit tiring, the option to select them all would be interesting.
The text was updated successfully, but these errors were encountered: