ERR Can not execute during LOADING

$this->redis->eval(LuaScripts::releaseLock(), 1, $this->name, $this->owner);
    /**
     * Get the Lua script to atomically release a lock.
     *
     * KEYS[1] - The name of the lock
     * ARGV[1] - The owner key of the lock instance trying to release it
     *
     * @return string
     */
    public static function releaseLock()
    {
        return <<<'LUA'
if redis.call("get",KEYS[1]) == ARGV[1] then
    return redis.call("del",KEYS[1])
else
    return 0
end
LUA;
    }

looks like all the instances of this error (ERR Can not execute during LOADING) are happening when trying to release a lock with this command. never got the error when using vanilla redis though

@wise-yaffle can you please send me the contents of dragonfly.INFO log

it should be located under /var/log/dragonfly/ afaik