Hi everyone ! I am getting permission error in my ...
# announcements
r
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
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
what would be the latest stable version you recommend us to use?
s
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
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
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
you guys are the best. keep up the good work
🙏 1
❤️ 3
r
It's type of AttributeError: 'ExternalSchedule' object has no attribute 'get_origin_id'
s
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
Copy code
scheduler:
  module: dagster_cron.cron_scheduler
  class: SystemCronScheduler
s
Yup you can get rid of that entirely
r
but, it's not working..
s
What error are you getting after removing that config from
dagster.yaml
?
r
It's working
Thanks
s
🎉