Arangodb“的FATAL数据库升级检查失败”

odopli94  于 2022-12-09  发布在  Go
关注(0)|答案(2)|浏览(108)

The arangodb is showing the following error after computer reboot "FATAL Database upgrade check failed for 'mydatabase'" Please inspect the logs from any errors
i had reinstalled the arangodb, and then, running in first time it was ok, but when I reboot the computer it didn´t start anymore
in the log file was this log messages
´´ 2014-07-18T14:49:46Z [6405] INFO ArangoDB 2.2.0 -- ICU 52.1, V8 3.16.14, OpenSSL 1.0.1 14 Mar 2012 2014-07-18T14:49:46Z [6405] INFO using default language 'en' 2014-07-18T14:49:46Z [6405] INFO loaded database '_system' from '/var/lib/arangodb/databases/database-70153' 2014-07-18T14:49:46Z [6405] INFO loaded database 'mydatabase' from '/var/lib/arangodb/databases/database-60101129' 2014-07-18T14:49:46Z [6405] INFO running WAL recovery 2014-07-18T14:49:46Z [6405] INFO dropping database 'mydatabase', directory '/var/lib/arangodb/databases/database-60101129' 2014-07-18T14:49:46Z [6405] INFO creating database 'mydatabase', directory '/var/lib/arangodb/databases/database-60101129' 2014-07-18T14:49:47Z [6405] INFO WAL recovery finished successfully 2014-07-18T14:49:47Z [6405] INFO using endpoint 'tcp://0.0.0.0:8529' for non-encrypted requests 2014-07-18T14:49:47Z [6405] INFO using default API compatibility: 20200 2014-07-18T14:49:47Z [6405] INFO JavaScript using startup '/usr/share/arangodb/js', modules '/usr/share/arangodb/js/server/modules;/usr/share/arangodb/js/common/modules;/usr/share/arangodb/js/node', actions '/usr/share/arangodb/js/actions', application '/var/lib/arangodb-apps' 2014-07-18T14:49:47Z [6405] FATAL Database upgrade check failed for 'mydatabase'. Please inspect the logs from any errors
sorry for my bad english

juzqafwq

juzqafwq1#

这是Unix下启动脚本中的一个错误。

$DAEMON -c $CONF --uid arangodb --gid arangodb --check-version
RETVAL=$?

RETVAL=0

这应该能解决问题。

y4ekin9u

y4ekin9u2#

/etc/init.d/arangodb现在包含以下部分来解决您的问题:

if [ "$RETVAL" -eq 0 ];  then
                $DAEMON --uid arangodb --gid arangodb --pid-file "$PIDFILE" --temp.path "/var/tmp/arangod" --log.foreground-tty false  --supervisor $@
                RETVAL=$?
                log_end_msg $RETVAL
            else
                log_failure_msg "database version check failed, maybe you need to run 'upgrade'?"
            fi

相关问题