Starting 2 Athens instances on the same database ends up with one cleaning out the database #946
agentydragon
started this conversation in
Archive
Replies: 3 comments 1 reply
-
How about when running in dev mode, Athens forks your database into a dev-only db? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I do the same workflow as you @agentydragon, often using both release and development versions of Athens on the same DB path, but it doesn't ever to clear my DB. 🤔 |
Beta Was this translation helpful? Give feedback.
1 reply
-
I also use the default path (~/athens). I haven't tested behavior on other
paths.
…On Fri, 16 Apr 2021, 00:56 Paul, ***@***.***> wrote:
Even opening 2 instances of release Athens (beta 66, Appimage on Arch)
causes this to happen for me.
With a non-default database path it doesn't happen (the new instance
creates its db but the old one stays in place and is reopened on a the old
db.
With the original database open every subsequent instance will create its
own, when the original instance is closed the next instance started will
open the original database, every newly opened instance will create its own
database again (yep, a new one every time).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#946 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFORDE7KZLDZI52M63AVM3TI5VJ7ANCNFSM42X2YN3A>
.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This happens to me a bunch when developing. I leave my release version of Athens (as in, not built from HEAD) open, then in my terminal, do the
lein dev
andyarn run electron .
dance. The dev Athens instance opens an empty database, and writes it into the path where my personal database is. The other Athens instance notices the database got overwritten.index.transit
ends up containing the default (empty +Welcome
page) database. Instead, we should do something sane, like detect it and refuse to start maybe.Beta Was this translation helpful? Give feedback.
All reactions