Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

VOLUME FOLDER FIX #206

Merged
merged 7 commits into from
Jan 18, 2024
Merged

VOLUME FOLDER FIX #206

merged 7 commits into from
Jan 18, 2024

Conversation

TBMSP
Copy link
Contributor

@TBMSP TBMSP commented Jan 18, 2024

In version 0.10.0, when doing a fresh installation, the "GlobalQuake" directory is created correctly like the others, however the "volume" directory is not created, where it saves the event files and apparently event files . temporary, which generates an error:

[16:05:01] ERROR: java.io.FileNotFoundException: ..GlobalQuakeData\volume\temp_archive.dat (The system cannot find the specified path)
in java.base/java.io.FileOutputStream.open0 (Native method)
in java.base/java.io.FileOutputStream.open(FileOutputStream.java:295)
in java.base/java.io.FileOutputStream.(FileOutputStream.java:236)
in java.base/java.io.FileOutputStream.(FileOutputStream.java:185)
in globalquake.core.archive.EarthquakeArchive.saveArchive(EarthquakeArchive.java:61)
in globalquake.core.archive.EarthquakeArchive.lambda$archiveQuakeAndSave$1(EarthquakeArchive.java:86)
in java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:577)
in java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
in java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
in java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
in java.base/java.lang.Thread.run(Thread.java:1623)

@xspanger3770
Copy link
Owner

You are right! I've separated the logs and events into separate directory called "volume" since I needed to mount certain volumes inside my GlobalQuake server docker container and I probably forgot to add this check. Thanks!

@xspanger3770 xspanger3770 merged commit 0d95d5f into xspanger3770:develop Jan 18, 2024
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants