kopano-archiver does nothing, error 8004010f



  • Hi all,

    I am trying to setup kopano-archiver. I configured /etc/kopano/archiver.cfg as shown in the documentation. The docs do not say anything about it, but I created the kopano-archiver database and granted ALL permissions to the user. Then I tried to run the command:

    kopano-archiver -u clemens -A
    

    The command returns immediately with error code 0. The log shows the following:

    Thu Aug 15 10:48:38 2019: [debug  ] Initializing provider "Kopano Directory Service"
    Thu Aug 15 10:48:38 2019: [debug  ] Initializing provider "Private Folders"
    Thu Aug 15 10:48:38 2019: [debug  ] Initializing provider "Public Folders"
    Thu Aug 15 10:48:38 2019: [info   ] Startup command: "kopano-archiver" "-u" "clemens" "-A"
    Thu Aug 15 10:48:38 2019: [info   ] Version 8.7.0
    Thu Aug 15 10:48:38 2019: [crit   ] Config settings:
    Thu Aug 15 10:48:38 2019: [crit   ] *  archive_after = '730'
    Thu Aug 15 10:48:38 2019: [crit   ] *  archive_enable = 'yes'
    Thu Aug 15 10:48:38 2019: [crit   ] *  auto_attach_writable = 'no'
    Thu Aug 15 10:48:38 2019: [crit   ] *  cleanup_action = 'none'
    Thu Aug 15 10:48:38 2019: [crit   ] *  cleanup_follow_purge_after = 'no'
    Thu Aug 15 10:48:38 2019: [crit   ] *  delete_after = '0'
    Thu Aug 15 10:48:38 2019: [crit   ] *  delete_enable = 'yes'
    Thu Aug 15 10:48:38 2019: [crit   ] *  delete_unread = 'yes'
    Thu Aug 15 10:48:38 2019: [crit   ] *  enable_auto_attach = 'yes'
    Thu Aug 15 10:48:38 2019: [crit   ] *  log_buffer_size = '0'
    Thu Aug 15 10:48:38 2019: [crit   ] *  log_file = '/var/log/kopano/archiver.log'
    Thu Aug 15 10:48:38 2019: [crit   ] *  log_level = '6'
    Thu Aug 15 10:48:38 2019: [crit   ] *  log_method = 'file'
    Thu Aug 15 10:48:38 2019: [crit   ] *  log_timestamp = 'yes'
    Thu Aug 15 10:48:38 2019: [crit   ] *  mysql_database = 'kopano_archiver'
    Thu Aug 15 10:48:38 2019: [crit   ] *  mysql_engine = 'InnoDB'
    Thu Aug 15 10:48:38 2019: [crit   ] *  mysql_host = 'localhost'
    Thu Aug 15 10:48:38 2019: [crit   ] *  mysql_password = '********'
    Thu Aug 15 10:48:38 2019: [crit   ] *  mysql_port = '3306'
    Thu Aug 15 10:48:38 2019: [crit   ] *  mysql_socket = ''
    Thu Aug 15 10:48:38 2019: [crit   ] *  mysql_user = 'zarafa'
    Thu Aug 15 10:48:38 2019: [crit   ] *  pid_file = '/var/run/kopano/archiver.pid'
    Thu Aug 15 10:48:38 2019: [crit   ] *  purge-soft-deleted = 'no'
    Thu Aug 15 10:48:38 2019: [crit   ] *  purge_after = '2555'
    Thu Aug 15 10:48:38 2019: [crit   ] *  purge_enable = 'no'
    Thu Aug 15 10:48:38 2019: [crit   ] *  server_socket = 'file:///var/run/kopano/server.sock'
    Thu Aug 15 10:48:38 2019: [crit   ] *  sslkey_file = ''
    Thu Aug 15 10:48:38 2019: [crit   ] *  sslkey_pass = '********'
    Thu Aug 15 10:48:38 2019: [crit   ] *  stub_after = '0'
    Thu Aug 15 10:48:38 2019: [crit   ] *  stub_enable = 'no'
    Thu Aug 15 10:48:38 2019: [crit   ] *  stub_unread = 'no'
    Thu Aug 15 10:48:38 2019: [crit   ] *  track_history = 'no'
    Thu Aug 15 10:48:38 2019: [debug  ] Archiver mode: 6: (Archive)
    Thu Aug 15 10:48:38 2019: [debug  ] ArchiverImpl::GetControl() function entry
    Thu Aug 15 10:48:38 2019: [debug  ] ArchiverImpl::GetControl(): about to create an ArchiveControlImpl object
    Thu Aug 15 10:48:38 2019: [debug  ] Archiver action: archive user "clemens" (autoattach: no, flags 0)
    Thu Aug 15 10:48:38 2019: [debug  ] ArchiveControlImpl::Archive(): function entry.
    Thu Aug 15 10:48:38 2019: [debug  ] ArchiveControlImpl::Archive(): about to create collector.
    Thu Aug 15 10:48:38 2019: [debug  ] ArchiveControlImpl::Archive(): about to get updater.
    Thu Aug 15 10:48:38 2019: [info   ] User: SYSTEM on server "Unknown"
    Thu Aug 15 10:48:38 2019: [debug  ] For "clemens": ArchiveControlImpl::Archive(): about to update store of user "clemens". Flags: 0x00000004
    Thu Aug 15 10:48:38 2019: [debug  ] ArchiveStateUpdater::Update(): function entry
    Thu Aug 15 10:48:38 2019: [debug  ] ArchiveControlImpl::Archive() at exit. Return code before transformation: not found (8004010f)
    Thu Aug 15 10:48:38 2019: [debug  ] Archiver result 1 (Failure)
    

    What was “not found”?
    What am I doing wrong?

    I am using the latest kopano packages from Debian 10.

    Regards

    badewaschl


Log in to reply