https://dagster.io/ logo
r

Ronak Jain

04/09/2021, 1:47 PM
Hi everyone ! I am getting permission error in my MAC.
Copy code
dagster-scheduler/dagster-scheduler/schedules/scripts/fe95d72f20754d7eaec30af5bf8fb1ad7f75a24b.sh: Operation not permitted
while running scheduler...?
s

sashank

04/09/2021, 1:53 PM
Hey Ronak, are you on the latest version of Dagster? Or any version past 0.10.0? If so, you don't want to configure the
SystemCronScheduler
(which is causing this error)
From our DMs it sounds like you're still in the early stages of exploring Dagster. If you're running pre-0.10.0 Dagster I'd highly recommend upgrading. If there's something preventing you from upgrading, happy to help debug what's going on here
s

Spandan Pyakurel

04/09/2021, 1:58 PM
what would be the latest stable version you recommend us to use?
s

sashank

04/09/2021, 2:01 PM
0.11.4 – The latest one is always the best right now. We only have breaking changes across minor versions (so next breaking changes won't land until 0.12.0).
2
r

Ronak Jain

04/09/2021, 2:06 PM
if I am doing to change version then. getting type of error:
Copy code
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: jobs
[SQL: SELECT jobs.job_body, jobs.job_origin_id 
FROM jobs 
WHERE jobs.job_type = ?]
[parameters: ('SCHEDULE',)]
(Background on this error at: <http://sqlalche.me/e/14/e3q8>)
cc: @sashank
s

sashank

04/09/2021, 2:08 PM
You'll want to run
dagster instance migrate
when upgrading between versions (https://docs.dagster.io/migration) Alternatively, if you don't care about migrating/keeping any of your data, just delete your
$DAGSTER_HOME
directory and re-create it
s

Spandan Pyakurel

04/09/2021, 2:09 PM
you guys are the best. keep up the good work
🙏 1
❤️ 3
r

Ronak Jain

04/09/2021, 2:17 PM
It's type of AttributeError: 'ExternalSchedule' object has no attribute 'get_origin_id'
s

sashank

04/09/2021, 2:17 PM
You probably still have the cron scheduler configured in your
dagster.yaml
Make sure to delete the
scheduler:
key + config from
dagster.yaml
and restart Dagit
r

Ronak Jain

04/09/2021, 2:22 PM
Copy code
scheduler:
  module: dagster_cron.cron_scheduler
  class: SystemCronScheduler
s

sashank

04/09/2021, 2:23 PM
Yup you can get rid of that entirely
r

Ronak Jain

04/09/2021, 2:23 PM
but, it's not working..
s

sashank

04/09/2021, 2:28 PM
What error are you getting after removing that config from
dagster.yaml
?
r

Ronak Jain

04/09/2021, 2:34 PM
It's working
Thanks
s

sashank

04/09/2021, 2:34 PM
🎉
2 Views