jupyter-scheduler
jupyter-scheduler copied to clipboard
root_dir override from ServerApp doesn't propagate to scheduler
Description
When configuring:
c.ServerApp.root_dir
The output folder "jobs" is created under the working director and not under the directory configured in ServerApp.root_dir
Is my assumption correct? should ServerApp.root_dir affect the scheduler?
if not, is there another parameter that can do that?
I tried c.SchedulerApp.output_directory = 'some/folder' but the log says:
[W 2024-12-23 09:35:58.308 SchedulerApp] Config option output_directory not recognized by SchedulerApp.
- Create a "Run now" job.
- Click Download.
- Check under the working directory and see the job folder is there and not under ServerApp.root_dir
Expected behavior
I expected the folder to be created under the folder configure in ServerApp.root_dir
Context
- Operating System and version: Ubuntu 24
- Browser and version: N/A
- JupyterLab version: 4.3.4
- Jupyter Scheduler version: 2.10.0
This seems to be happening recently. Any quick fix?
@baraksalomon
For my environment I've removed ServerApp.root_dir and start the server from the folder I intended to use in ServerApp.root_dir.
This might not work for others depending on the complexity of their environment.