https://meltano.com/ logo
#announcements
Title
# announcements
f

full-planet-99276

12/23/2020, 6:18 PM
Copy code
initContainers:
    - command:
        - sqlite3
        - .meltano/meltano.db
        - DELETE FROM job WHERE state = 'RUNNING';
        image: nouchka/sqlite3
        name: meltano-clear-running
        volumeMounts:
        - mountPath: /projects
        name: meltano-projects
        workingDir: /projects/default
    - command:
        - rm
        - .meltano/run/gunicorn.pid
        image: alpine
        name: meltano-clear-pid
        volumeMounts:
        - mountPath: /projects
        name: meltano-projects
        workingDir: /projects/default
👍 2
r

ripe-musician-59933

12/23/2020, 6:29 PM
@full-planet-99276 All right, glad we found a workaround! I think we could handle both situations (jobs stuck in running, and a stale gunicorn.pid) much better by default, though, so that the next user won't have to struggle like you did. Do you think you could create issues describing your findings and workaround?
f

full-planet-99276

12/23/2020, 6:29 PM
I can, I will do that shortly
r

ripe-musician-59933

12/23/2020, 6:29 PM
Awesome, thanks
f

full-planet-99276

12/23/2020, 6:32 PM
r

ripe-musician-59933

12/23/2020, 6:39 PM
Thanks!
f

full-planet-99276

12/23/2020, 6:48 PM