{"id":16696371,"url":"https://github.com/gbevan/portage-arangodb-overlay","last_synced_at":"2026-04-21T16:04:58.076Z","repository":{"id":85850076,"uuid":"46998506","full_name":"gbevan/portage-arangodb-overlay","owner":"gbevan","description":"Gentoo Portage overlay for ArangoDB.","archived":false,"fork":false,"pushed_at":"2018-01-01T20:53:08.000Z","size":95,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-20T21:36:53.444Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gbevan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-11-27T20:40:08.000Z","updated_at":"2018-02-26T19:20:39.000Z","dependencies_parsed_at":"2023-03-06T20:45:45.736Z","dependency_job_id":null,"html_url":"https://github.com/gbevan/portage-arangodb-overlay","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbevan%2Fportage-arangodb-overlay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbevan%2Fportage-arangodb-overlay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbevan%2Fportage-arangodb-overlay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbevan%2Fportage-arangodb-overlay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gbevan","download_url":"https://codeload.github.com/gbevan/portage-arangodb-overlay/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243510122,"owners_count":20302294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T17:28:00.030Z","updated_at":"2025-12-30T16:42:56.768Z","avatar_url":"https://github.com/gbevan.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# portage-arangodb-overlay\n\n## Gentoo Portage overlay for ArangoDB (v3)\n\n[ArangoDB - the multi-model NoSQL database](https://www.arangodb.com/).\n\n/etc/layman/layman.cfg add:\n\n    overlays: ...\n              https://github.com/gbevan/portage-arangodb-overlay/raw/master/repository.xml\n\nrun:\n\n    layman -f -a gbevan-arangodb\n    emerge -v --ask arangodb3\n\nto start (systemd):\n\n    systemctl enable arangodb3\n    systemctl start arangodb3\n\n(pre-systemd init scripts are also provided - let me know if you have any issues/fixes)\n\n## Upgrading\n\n    layman -s gbevan-arangodb\n    emerge -v -u arangodb3\n\nEnsure all active connections, from applications and arangosh etc, are shutdown/closed before restarting:\n\n    systemctl daemon-reload\n    systemctl restart arangodb3\n\nCheck the logs:\n\n    journalctl -b -u arangodb3\n\nIf you get message like:\n\n    FATAL Database 'partout' needs upgrade. Please start the server with the --upgrade option\n\nthen:\n\n    arangod --uid arangodb --gid arangodb --upgrade\n\n## Upgrading from v3.1 to v3.2\n\nIf you get error in `/var/log/arangodb3/arangod.log`:\n\n    2017-08-02T20:20:42Z [17223] ERROR In database '_system': Database directory version (30126) is lower than current version (30200).\n    2017-08-02T20:20:42Z [17223] ERROR In database '_system': ----------------------------------------------------------------------\n    2017-08-02T20:20:42Z [17223] ERROR In database '_system': It seems like you have upgraded the ArangoDB binary.\n    2017-08-02T20:20:42Z [17223] ERROR In database '_system': If this is what you wanted to do, please restart with the\n    2017-08-02T20:20:42Z [17223] ERROR In database '_system':   --database.auto-upgrade true\n    2017-08-02T20:20:42Z [17223] ERROR In database '_system': option to upgrade the data in the database directory.\n    2017-08-02T20:20:42Z [17223] ERROR In database '_system': Normally you can use the control script to upgrade your database\n    2017-08-02T20:20:42Z [17223] ERROR In database '_system':   /etc/init.d/arangodb stop\n    2017-08-02T20:20:42Z [17223] ERROR In database '_system':   /etc/init.d/arangodb upgrade\n    2017-08-02T20:20:42Z [17223] ERROR In database '_system':   /etc/init.d/arangodb start\n    2017-08-02T20:20:42Z [17223] ERROR In database '_system': ----------------------------------------------------------------------\n    2017-08-02T20:20:42Z [17223] FATAL Database '_system' needs upgrade. Please start the server with the --database.auto-upgrade option\n    2017-08-02T20:20:42Z [17223] FATAL Database '_system' upgrade failed. Please inspect the logs from the upgrade procedure\n\nYou will have to upgrade the database using:\n\n    /usr/sbin/arangod --pid-file /var/run/arangod3/arangod.pid --server.uid arangodb3 --database.auto-upgrade true\n\nAnd then try restarting again.\n\n## Upgrading from v2 to v3\n\nThe ebuild for v3 now working, but read the following carefully:\n\n__VERY IMPORTANT: If upgrading from v2.\\* to v3.\\* - read the ArangoDB docs.  The database format has changed to use VelocityPack, and is not compatible with the 2.* version database.  See: https://docs.arangodb.com/3.0/Manual/Administration/Upgrading/Upgrading30.html__\n\n(Assuming you have read and are following the above migration instructions...)\n\nYou will have to uninstall arangodb v2 prior to installing arangodb3\n\n    systemctl stop arangodb\n    emerge --unmerge arangodb\n    emerge -v arangodb3\n    systemctl start arangodb3\n\nif you get error:\n\n    2016-07-21T19:44:17Z [19412] INFO JavaScript using startup 'share/arangodb3/js', application '/var/lib/arangodb3-apps'\n    2016-07-21T19:44:17Z [19412] ERROR cannot locate file 'server/initialize.js': No such file or directory\n    2016-07-21T19:44:17Z [19412] ERROR unknown script 'server/initialize.js'\n    2016-07-21T19:44:17Z [19412] FATAL cannot load JavaScript file 'server/initialize.js'\n    2016-07-21T19:44:17Z [19412] ERROR cannot locate file 'server/initialize.js': No such file or directory\n    2016-07-21T19:44:17Z [19412] ERROR unknown script 'server/initialize.js'\n    2016-07-21T19:44:17Z [19412] FATAL cannot load JavaScript file 'server/initialize.js'\n\nedit ```/etc/arangodb3/arangod.conf```\n\n    startup-directory = /usr/share/arangodb3/js\n                        ^^^^^ \u003c- add this to path\n\nrepeat for ```/etc/arangodb3/arangosh.conf```\n\n\n## Developer Notes:\n\n* When releasing new ebuild, run:\n\n        ebuild arangodb3-3.x.x.ebuild manifest\n\n  for your new ebuild version, then commit/push.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgbevan%2Fportage-arangodb-overlay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgbevan%2Fportage-arangodb-overlay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgbevan%2Fportage-arangodb-overlay/lists"}