In which Wildbook did the issue occur?ACW
What operating system were you using? (eg. MacOS 10.15.3)WIN10
What web browser were you using? (eg. Chrome 79) Chrome latest
What is your role on the site? (admin, researcher, etc) Admin
Removed an Encounter from a named individual and then went to delete the encounter - got this error message;
What did you expect to happen? Encounter is deleted
What are some steps we could take to reproduce the issue?
Trying to delete encounters during data cleanup - also not working - same error message
Leaving this here for the next person to pick this up. I’m seeing this error in the logs:
Trying to create the folder to store a dat file in EncounterDelete2: /var/lib/tomcat8/webapps/wildbook_data_dir/encounters/b/f/bfb18b8c-3884-454f-9d51-a16285073520
869750 I think my startTime is: 1645650840843
869751 – Collecting metrics for: wildbook_taxonomies_total
869752 – Done
869753 Exception in MetricsBot!
869754 java.io.IOException: No space left on device
869755 at java.base/java.io.FileOutputStream.writeBytes(Native Method)
869756 at java.base/java.io.FileOutputStream.write(FileOutputStream.java:354)
869757 at java.base/sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:233)
869758 at java.base/sun.nio.cs.StreamEncoder.implClose(StreamEncoder.java:337)
869759 at java.base/sun.nio.cs.StreamEncoder.close(StreamEncoder.java:161)
869760 at java.base/java.io.OutputStreamWriter.close(OutputStreamWriter.java:255)
869761 at org.ecocean.MetricsBot.refreshMetrics(MetricsBot.java:312)
869762 at org.ecocean.MetricsBot$1.run(MetricsBot.java:90)
869763 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
869764 at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
869765 at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
869766 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
869767 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
869768 at java.base/java.lang.Thread.run(Thread.java:829)
So, it seems related to a space issue. The /data drive was 100% full; I cleared some stuff and got it down to 95%.
After restarting, tomcat, I was able to delete encounter bfb18b8c-3884-454f-9d51-a16285073520 (Wildbook for Carnivores | Login)
@PaulK, it should be working again for now?