Some common config file changes prevent db from starting

server.directories.import=/Users/johnjackson
apoc.export.file.enabled=True

If ether of the above are in my config, the DB won't start. I need to be able to export files.

Please provide the following information if you ran into a more serious issue:

  • which OS do you use? MacOS
  • neo4j version, desktop version, Version 1.6.1 (1.6.1.122)
  • neo4j.log
[2025-01-13 11:35:56.726] [info]  Retrieving status for DBMS[database-afe99b5b-b222-4ad7-84a2-38f3d7a7678f]
[2025-01-13 11:35:57.220] [info]  Retrieved status for DBMS[database-afe99b5b-b222-4ad7-84a2-38f3d7a7678f]: false
[2025-01-13 11:35:57.238] [info]  Checking ports
[2025-01-13 11:35:57.251] [info]  Starting Neo4j
[2025-01-13 11:35:57.251] [info]  Starting DBMS [database-afe99b5b-b222-4ad7-84a2-38f3d7a7678f] 'v5.25.1'
[2025-01-13 11:35:58.690] [info]  Retrieved status for DBMS[database-afe99b5b-b222-4ad7-84a2-38f3d7a7678f]: false

renderer.log

[2025-01-13 11:35:56.723] [info]  Function[]
[2025-01-13 11:35:57.222] [info]  Action[DBMS_STARTING] {
  id: 'database-afe99b5b-b222-4ad7-84a2-38f3d7a7678f',
  type: 'DBMS_STARTING'
}
[2025-01-13 11:35:57.237] [info]  Function[]
[2025-01-13 11:35:58.691] [info]  Action[DBMS_STOPPED] {
  id: 'database-afe99b5b-b222-4ad7-84a2-38f3d7a7678f',
  type: 'DBMS_STOPPED'
}
[2025-01-13 11:35:58.703] [debug] Sending {
  id: 'database-afe99b5b-b222-4ad7-84a2-38f3d7a7678f',
  type: 'DBMS_STOPPED'
}
[2025-01-13 11:35:58.757] [info]  Action[DBMS_STOPPED] {
  id: 'database-afe99b5b-b222-4ad7-84a2-38f3d7a7678f',
  type: 'DBMS_STOPPED'
}
[2025-01-13 11:35:58.769] [debug] Sending {
  id: 'database-afe99b5b-b222-4ad7-84a2-38f3d7a7678f',
  type: 'DBMS_STOPPED'
}
[2025-01-13 11:35:58.892] [info]  Action[NOTIFICATION_LOAD_ALL] {
  notifications: {
    'd44a89be-8b7e-436c-84ee-d91ea35814d8': {
      type: 'error',
      message: 'Failed to connect to server. Please ensure that your database is listening on the correct host and port and that you have compatible encryption settings both on Neo4j server and driver. Note that the default encryption setting has changed in Neo4j 4....',
      timestamp: 1731958407732,
      sentryEventId: '4040315528d647d5bd85ac5bc35bfd32'
    },
    'dc180502-b2fe-430e-be11-5c164be3ec6b': {
      type: 'error',
      message: 'DBMS process terminated, see logs.',
      timestamp: 1731958738765,
      sentryEventId: '2edfd5393e3e4e0b897d255533c0629f'
    },
    '8e924a3c-5022-4c5d-8546-dc96ed933c9e': {
      type: 'error',
      message: 'undefined',
      timestamp: 1731958738826,
      sentryEventId: '3a7c999aeab846c599a6f0b35cf7ba4a'
    },
    '6e82990f-c82d-4d4c-b35f-edbdccad7381': {
      type: 'error',
      message: 'DBMS process terminated, see logs.',
      timestamp: 1731959115644,
      sentryEventId: '772dcb27a35743c193d67b474bda08ce'
    },
    'b1026210-2f90-49db-b0d0-80e1e551ac38': {
      type: 'error',
      message: 'undefined',
      timestamp: 1731959115676,
      sentryEventId: 'b0c63077212e4ae88793fafe244d44fb'
    },
    '7a4b1460-b0f2-42b4-a0d3-d29b7f802b92': {
      type: 'error',
      message: 'DBMS process terminated, see logs.',
      timestamp: 1731959258656,
      sentryEventId: '74b46733d3e74a3790a60e8d6d6698e4'
    },
    'bca4581a-bb7a-46b8-b3c8-adcc9c281ba0': {
      type: 'error',
      message: 'undefined',
      timestamp: 1731959258703,
      sentryEventId: 'ead5d9dda0884d979339a72a771a62eb'
    },
    '872892c9-9df6-4f0e-b507-cc1838a7be5d': {
      type: 'error',
      message: 'DBMS process terminated, see logs.',
      timestamp: 1731959289146,
      sentryEventId: '912e63ab87df43dfbb2e701c5356410b'
    },
    'b8e308c2-d0a9-418d-bc14-74bb5289306b': {
      type: 'error',
      message: 'undefined',
      timestamp: 1731959289185,
      sentryEventId: '359aba5d42f84866a4bd15f7d057220e'
    },
    '70a34c41-3e27-4542-a77f-7e3a335d515f': {
      type: 'error',
      message: 'DBMS process terminated, see logs.',
      timestamp: 1731959322634,
      sentryEventId: '21a919f43d9540fabae7931a43026f7d'
    },
    '7ee63130-aa1b-4a20-829d-f02977cddcae': {
      type: 'error',
      message: 'undefined',
      timestamp: 1731959322683,
      sentryEventId: 'ae59658645e04b0bbf01b804fc6257f8'
    },
    'a0fd5b7f-9c53-4a37-babf-6b073ad5bf48': {
      type: 'error',
      message: 'DBMS process terminated, see logs.',
      timestamp: 1731959416139,
      sentryEventId: '21b682229a114602bf024c6446d5a966'
    },
    'ada4d546-7cfb-48c7-a684-f0fc842313ae': {
      type: 'error',
      message: 'undefined',
      timestamp: 1731959416231,
      sentryEventId: 'bb946080556743fbac53944b2ad9eca5'
    },
    '1f26d135-0441-4694-bb2c-a711a74bea3f': {
      type: 'error',
      message: 'DBMS process terminated, see logs.',
      timestamp: 1731959459703,
      sentryEventId: '65bec1435a244227996241ff0e69f822'
    },
    'd782c199-5e10-48ea-a2f0-b9ac28b81c4e': {
      type: 'error',
      message: 'undefined',
      timestamp: 1731959459736,
      sentryEventId: '3d7944454e2a4a1f865515803c4fee6e'
    },
    '8421bc2d-0a28-4aa0-9cfa-8f5e08c0ca9b': {
      type: 'error',
      message: 'DBMS process terminated, see logs.',
      timestamp: 1731959513254,
      sentryEventId: '1a20e528a80d4c01b06b508188d3b348'
    },
    '101f25a0-48ec-45d8-8a75-9d37598bb1d5': {
      type: 'error',
      message: 'undefined',
      timestamp: 1731959513289,
      sentryEventId: '716a519121c741c2846d78f3eeec0905'
    },
    'd34c7cda-1f4c-440b-9891-41b7d8c2afc0': {
      type: 'error',
      message: 'DBMS process terminated, see logs.',
      timestamp: 1731959564456,
      sentryEventId: 'd843c83d04c849b389ed231938a53bdd'
    },
    '2e694bb9-92fd-40f9-9be7-25a6462f777b': {
      type: 'error',
      message: 'undefined',
      timestamp: 1731959564502,
      sentryEventId: '119c1fdea0ec41d5adedff74124345dc'
    },
    '6cb1977b-d491-4053-9ae7-fea74d998120': {
      type: 'error',
      message: 'DBMS process terminated, see logs.',
      timestamp: 1731959714711,
      sentryEventId: 'e5fb248c4fed4ab2b0a7616d0ab144dc'
    },
    '80aeb686-85e3-41c1-a13c-1300dc3c68b3': {
      type: 'error',
      message: 'undefined',
      timestamp: 1731959714765,
      sentryEventId: 'd8e5d522dbda4f25b5462ab2a6aee1cd'
    },
    'c4988354-d4b2-429e-bb64-d1cb8591caf6': {
      type: 'error',
      message: 'DBMS process terminated, see logs.',
      timestamp: 1731959744057,
      sentryEventId: '1e2eecb0454a44d0904d3f307e29015b'
    },
    '50b00185-ab7f-473d-9280-72a91fc16bd8': {
      type: 'error',
      message: 'undefined',
      timestamp: 1731959744094,
      sentryEventId: 'f885d92d3fe242ac895ce75d6d6203b5'
    },
    '3ac0c6ba-57d3-4a8f-b1ac-9404f071f452': {
      type: 'error',
      message: 'DBMS process terminated, see logs.',
      timestamp: 1731959768638,
      sentryEventId: '3a893aae4c1b46ba9dac8ec66978ea63'
    },
    '05610943-6e0a-4f68-8094-a07ae207d2f3': {
      type: 'error',
      message: 'DBMS process terminated, see logs.',
      timestamp: 1736789758860,
      sentryEventId: '38d4f960d90441bd822a4ec635f4827c'
    }
  },
  type: 'NOTIFICATION_LOAD_ALL'
}
[2025-01-13 11:35:58.907] [info]  Action[NOTIFICATION_LOAD_ALL] {
  notifications: {
    '71008d4e-e3a9-43be-9cb1-26426cd943e8': {
      type: 'error',
      message: 'Failed to connect to server. Please ensure that your database is listening on the correct host and port and that you have compatible encryption settings both on Neo4j server and driver. Note that the default encryption setting has changed in Neo4j 4....',
      timestamp: 1731958407732,
      sentryEventId: '4040315528d647d5bd85ac5bc35bfd32'
    },
    '61a9d994-be74-413d-9e8a-f7805a7c00a7': {
      type: 'error',
      message: 'DBMS process terminated, see logs.',
      timestamp: 1731958738765,
      sentryEventId: '2edfd5393e3e4e0b897d255533c0629f'
    },
    '911dd77f-0509-4cde-9c25-51e9c81170fa': {
      type: 'error',
      message: 'undefined',
      timestamp: 1731958738826,
      sentryEventId: '3a7c999aeab846c599a6f0b35cf7ba4a'
    },
    '245823eb-ec89-4813-88af-941c70d0e53f': {
      type: 'error',
      message: 'DBMS process terminated, see logs.',
      timestamp: 1731959115644,
      sentryEventId: '772dcb27a35743c193d67b474bda08ce'
    },
    '11c0408a-70a7-48fd-97c2-ebbc9ff4b908': {
      type: 'error',
      message: 'undefined',
      timestamp: 1731959115676,
      sentryEventId: 'b0c63077212e4ae88793fafe244d44fb'
    },
    'e84e9045-146a-46a2-bd19-e7856c1f41fb': {
      type: 'error',
      message: 'DBMS process terminated, see logs.',
      timestamp: 1731959258656,
      sentryEventId: '74b46733d3e74a3790a60e8d6d6698e4'
    },
    'd0eaa2c4-f2f1-4cd1-b7c0-d41804ff5876': {
      type: 'error',
      message: 'undefined',
      timestamp: 1731959258703,
      sentryEventId: 'ead5d9dda0884d979339a72a771a62eb'
    },
    'e3d3b8e9-744a-4099-95e0-aed222d25a1e': {
      type: 'error',
      message: 'DBMS process terminated, see logs.',
      timestamp: 1731959289146,
      sentryEventId: '912e63ab87df43dfbb2e701c5356410b'
    },
    '344ef439-9efc-4843-8129-351a25e100c8': {
      type: 'error',
      message: 'undefined',
      timestamp: 1731959289185,
      sentryEventId: '359aba5d42f84866a4bd15f7d057220e'
    },
    '09775e20-dd50-4039-9a61-0d54e5b1a807': {
      type: 'error',
      message: 'DBMS process terminated, see logs.',
      timestamp: 1731959322634,
      sentryEventId: '21a919f43d9540fabae7931a43026f7d'
    },
    'f0683a43-6bff-4318-bd9c-abb0b37fe87e': {
      type: 'error',
      message: 'undefined',
      timestamp: 1731959322683,
      sentryEventId: 'ae59658645e04b0bbf01b804fc6257f8'
    },
    '446f83c3-380e-4cbe-91da-5e2c2dc064b4': {
      type: 'error',
      message: 'DBMS process terminated, see logs.',
      timestamp: 1731959416139,
      sentryEventId: '21b682229a114602bf024c6446d5a966'
    },
    'c053bbd3-2083-44e7-bed4-9af6166bd0c1': {
      type: 'error',
      message: 'undefined',
      timestamp: 1731959416231,
      sentryEventId: 'bb946080556743fbac53944b2ad9eca5'
    },
    'bede8200-3ee7-4e3e-bb95-6101741f0839': {
      type: 'error',
      message: 'DBMS process terminated, see logs.',
      timestamp: 1731959459703,
      sentryEventId: '65bec1435a244227996241ff0e69f822'
    },
    'e6b7d7c3-9ee1-40a5-a2e8-7d69137fcbc4': {
      type: 'error',
      message: 'undefined',
      timestamp: 1731959459736,
      sentryEventId: '3d7944454e2a4a1f865515803c4fee6e'
    },
    '2095eef4-e5a2-473e-8b6c-33dce2eeec27': {
      type: 'error',
      message: 'DBMS process terminated, see logs.',
      timestamp: 1731959513254,
      sentryEventId: '1a20e528a80d4c01b06b508188d3b348'
    },
    '06853a13-aaa6-46ec-8fb8-ed243285c06a': {
      type: 'error',
      message: 'undefined',
      timestamp: 1731959513289,
      sentryEventId: '716a519121c741c2846d78f3eeec0905'
    },
    'e738631e-f656-4ab9-ae16-f0e29826df49': {
      type: 'error',
      message: 'DBMS process terminated, see logs.',
      timestamp: 1731959564456,
      sentryEventId: 'd843c83d04c849b389ed231938a53bdd'
    },
    'e70e0502-3065-4ef1-912e-b6bbe81c5956': {
      type: 'error',
      message: 'undefined',
      timestamp: 1731959564502,
      sentryEventId: '119c1fdea0ec41d5adedff74124345dc'
    },
    '0bbdd292-5494-462d-8883-f2d5c60104a1': {
      type: 'error',
      message: 'DBMS process terminated, see logs.',
      timestamp: 1731959714711,
      sentryEventId: 'e5fb248c4fed4ab2b0a7616d0ab144dc'
    },
    '977ac33f-3482-4e90-985f-740329ad8aa0': {
      type: 'error',
      message: 'undefined',
      timestamp: 1731959714765,
      sentryEventId: 'd8e5d522dbda4f25b5462ab2a6aee1cd'
    },
    '29b55d58-c49b-45dc-ac4d-f8ecf065bdb5': {
      type: 'error',
      message: 'DBMS process terminated, see logs.',
      timestamp: 1731959744057,
      sentryEventId: '1e2eecb0454a44d0904d3f307e29015b'
    },
    'c5b3742d-ade3-4100-8efc-a966cce07ec5': {
      type: 'error',
      message: 'undefined',
      timestamp: 1731959744094,
      sentryEventId: 'f885d92d3fe242ac895ce75d6d6203b5'
    },
    'e07bfc03-6763-4dff-ab5f-2232ff3c3b56': {
      type: 'error',
      message: 'DBMS process terminated, see logs.',
      timestamp: 1731959768638,
      sentryEventId: '3a893aae4c1b46ba9dac8ec66978ea63'
    },
    '79bbfa4e-8e41-41d7-86a8-5804f41ba0f2': {
      type: 'error',
      message: 'undefined',
      timestamp: 1736789758904,
      sentryEventId: 'e3b65e4386994393a60d23edee9b6f0e'
    }
  },
  type: 'NOTIFICATION_LOAD_ALL'
}

@jj.routerguy

apoc setting should not be in your conf/neo4j.conf but rather in conf/apoc.conf ( if the file doesnt exist, simply create it and add your apoc config settings )

OOOOOOHHhhhhhhhh and I fixed the other one. I had two import directory config lines. Thanks so much