I have been running a local instance of Fauna successfully. Following a reboot it will no longer start using the command:
docker run --rm --name faunadb -p 8443:8443 -p 8084:8084 -v ~/projects/fauna/faunadb:/var/lib/faunadb -v ~/projects/fauna/faunadb:/var/log/faunadb fauna/faunadb
The error log follows:
Starting…
Loaded configuration from /etc/faunadb.yml…
Trace sampling enabled without exporters?
Feature Flags File: /etc/feature-flag-periodic.d/feature-flags.json
Data path: /var/lib/faunadb
Temp path: /var/lib/faunadb/tmp================================================================================
New fauna version available 5.0.0-beta → 1.5.3-SNAPSHOT
Changelog: https://github.com/fauna/faunadb-jvm/blob/main/CHANGELOG.txtSLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See SLF4J Error Codes for further details.
HTTP Server started at port 8084.
Identified as ab68b6c7-1f53-4970-8652-ed89dfab4cff at 172.17.0.2.
Uncaught Exception on Main Thread. Terminating:
fauna.tx.log.LogChecksumException: TX(1740614) in /var/lib/faunadb/system/log_topology.binlog.3 does not match checksum.
at fauna.tx.log.BinaryLogFile.$anonfun$runVerify$2(BinaryLogFile.scala:624)
at fauna.tx.log.BinaryLogFile.$anonfun$runVerify$2$adapted(BinaryLogFile.scala:614)
at scala.collection.IterableOnceOps.foreach(IterableOnce.scala:575)
at scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:573)
at fauna.tx.log.AbstractEntriesIterator.foreach(EntriesIterator.scala:116)
at fauna.tx.log.BinaryLogFile.$anonfun$runVerify$1(BinaryLogFile.scala:614)
at fauna.tx.log.BinaryLogFile.$anonfun$runVerify$1$adapted(BinaryLogFile.scala:614)
at fauna.tx.log.BinaryLogFile.runVerify(BinaryLogFile.scala:613)
at fauna.tx.log.BinaryLogFile$.open(BinaryLogFile.scala:244)
at fauna.tx.log.BinaryLogFile$.open(BinaryLogFile.scala:221)
at fauna.tx.log.BinaryLogStore.$anonfun$new$2(BinaryLogStore.scala:148)
at fauna.tx.log.BinaryLogStore.$anonfun$new$2$adapted(BinaryLogStore.scala:147)
at scala.collection.StrictOptimizedIterableOps.map(StrictOptimizedIterableOps.scala:100)
at scala.collection.StrictOptimizedIterableOps.map$(StrictOptimizedIterableOps.scala:87)
at scala.collection.immutable.NumericRange.map(NumericRange.scala:40)
at fauna.tx.log.BinaryLogStore.(BinaryLogStore.scala:147)
at fauna.tx.log.CBORBinaryLogStore.(BinaryLogStore.scala:93)
at fauna.tx.log.BinaryLogStore$.open(BinaryLogStore.scala:56)
at fauna.tx.consensus.ReplicatedLog$Builder.open(ReplicatedLog.scala:314)
at fauna.cluster.ClusterService$LogAndStateBuilder.makeLogAndState(ClusterService.scala:72)
at fauna.cluster.topology.LogTopology$.apply(LogTopology.scala:121)
at fauna.repo.cassandra.CassandraService.(CassandraService.scala:458)
at fauna.repo.cassandra.CassandraService$.initializeAndStart(CassandraService.scala:246)
at fauna.repo.cassandra.CassandraService$.start(CassandraService.scala:192)
at fauna.repo.cassandra.CassandraService$.$anonfun$maybeStart$1(CassandraService.scala:179)
at fauna.repo.cassandra.CassandraService$.$anonfun$maybeStart$1$adapted(CassandraService.scala:179)
at scala.Option.map(Option.scala:242)
at fauna.repo.cassandra.CassandraService$.maybeStart(CassandraService.scala:179)
at fauna.api.APIServer.setupCassandraService(FaunaApp.scala:689)
at fauna.api.APIServer.$anonfun$$init$$2(FaunaApp.scala:415)
at fauna.api.FaunaApp.$anonfun$main$3(FaunaApp.scala:217)
at fauna.api.FaunaApp.$anonfun$main$3$adapted(FaunaApp.scala:217)
at scala.collection.IterableOnceOps.foreach(IterableOnce.scala:575)
at scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:573)
at scala.collection.AbstractIterable.foreach(Iterable.scala:933)
at fauna.api.FaunaApp.main(FaunaApp.scala:217)
at fauna.core.Enterprise.main(Enterprise.scala)