menu

EdgeDB

Bringing state-of-the-art database technology to the masses.

Channels
Team

What is the correct address for RHEL/Centos/Fedora repository

June 25, 2020 at 3:57pm
The EdgeDB community has a new home. This thread is preserved for historical purposes. The content of this conversation may be innaccurrate or out of date. Go to new community home →

What is the correct address for RHEL/Centos/Fedora repository

June 25, 2020 at 3:57pm
yum gives
Error: Failed to download metadata for repo 'edgedb': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried Ignoring repositories: edgedb

June 25, 2020 at 4:02pm
For RHEL and Centos it's https://packages.edgedb.com/rpm/${dist}/. We don't build Fedora packages at the moment, but you can try installing RHEL 8 packages from https://packages.edgedb.com/rpm/el8/
  • reply
  • like
I'll try it, actually tried building from source as per the tutorial and am getting edb test error. Let you know how it goes
  • reply
  • like
yum gives some dependency errors
  • reply
  • like
sudo yum install edgedb-server-1-alpha3 --skip-broken Last metadata expiration check: 0:16:21 ago on Thu 25 Jun 2020 12:31:18 PM EDT. Dependencies resolved.
Problem: conflicting requests
  • nothing provides libicui18n.so.60()(64bit) needed by edgedb-server-1-alpha3-1.0a3-2020060217.el8.x86_64
  • nothing provides libicuuc.so.60()(64bit) needed by edgedb-server-1-alpha3-1.0a3-2020060217.el8.x86_64
  • Skipping packages with broken dependencies: edgedb-server-1-alpha3 x86_64 1.0a3-2020060217.el8 edgedb 41 M
nothing provides libreadline.so.7()(64bit) needed by edgedb-server-1-alpha3-1.0a3-2020060217.el8.x86_64
Package Arch Version Repo Size
  • reply
  • like
Guess I'll switch my vm and try it with centos8
  • reply
  • like
After installing by yum on CentOS 8 running systemctl fails, journal.xe reports
  • reply
  • like
Jun 25 14:45:08 srv.localdomain edgedb-server[57363]: /usr/lib64/edgedb-server-1-alpha3/lib/python3.8/site-packages/click/core.py, line 535, in invoke Jun 25 14:45:08 srv.localdomain edgedb-server[57363]: > return callback(args, kwargs) Jun 25 14:45:08 srv.localdomain edgedb-server[57363]: /usr/lib64/edgedb-server-1-alpha3/lib/python3.8/site-packages/edb/server/main.py, line 597, in main Jun 25 14:45:08 srv.localdomain edgedb-server[57363]: > server_main(kwargs) Jun 25 14:45:08 srv.localdomain edgedb-server[57363]: /usr/lib64/edgedb-server-1-alpha3/lib/python3.8/site-packages/edb/server/main.py, line 586, in server_main Jun 25 14:45:08 srv.localdomain edgedb-server[57363]: > run_server(ServerConfig(*kwargs)) Jun 25 14:45:08 srv.localdomain edgedb-server[57363]: /usr/lib64/edgedb-server-1-alpha3/lib/python3.8/site-packages/edb/server/main.py, line 324, in run_server Jun 25 14:45:08 srv.localdomain edgedb-server[57363]: > cluster.stop() Jun 25 14:45:08 srv.localdomain edgedb-server[57363]: /usr/lib64/edgedb-server-1-alpha3/lib/python3.8/site-packages/edb/server/pgcluster.py, line 350, in stop Jun 25 14:45:08 srv.localdomain edgedb-server[57363]: > raise ClusterError( Jun 25 14:45:08 srv.localdomain edgedb-server[57363]: edb.server.pgcluster.ClusterError: pg_ctl stop exited with status 1: pg_ctl: PID file "/var/lib/edgedb/1-alpha3/data/postmaster.pid" does not exist Jun 25 14:45:08 srv.localdomain edgedb-server[57363]: Is server running? Jun 25 14:45:09 srv.localdomain systemd[1]: edgedb-server-1-alpha3.service: Main process exited, code=exited, status=1/FAILURE Jun 25 14:45:09 srv.localdomain systemd[1]: edgedb-server-1-alpha3.service: Failed with result 'exit-code'. Jun 25 14:45:09 srv.localdomain systemd[1]: Failed to start Next generation object-relational database.
  • reply
  • like
How much RAM is in that VM? Try bumping that.
  • reply
  • like
The vm had 8G bumped to 10G, same error. This CentOS 8 vm is running as a virtualbox guest on a windows host if that might make a difference.
  • reply
  • like
8G should be plenty. Can you post the full log please (journalctl -u edgedb-server-1-alpha3)?
  • reply
  • like
sure. Post when I bring up CentOS 8 again. Ran the install on CentOS 7.8.2003 and it worked prefectly. Very interesting project so far.
  • reply
  • like

June 26, 2020 at 2:44pm
Brought up CentOS 8, uninstalled, reinstalled edgedb-1-alpha3
  • reply
  • like
journalctl -u edgedb-server-1-alpha3 give -- Logs begin at Fri 2020-06-26 10:20:28 EDT, end at Fri 2020-06-26 10:36:55 EDT. -- Jun 26 10:35:50 srv.localdomain systemd[1]: Starting Next generation object-relational database... Jun 26 10:35:51 srv.localdomain edgedb-server[3719]: INFO 3719 2020-06-26 10:35:51,408 edb.server: EdgeDB server (1.0-alpha.3+gc2234ec4d.d20200602) starting. Jun 26 10:36:53 srv.localdomain edgedb-server[3719]: ---- Exception occurred: pg_ctl stop exited with status 1: pg_ctl: PID file "/var/lib/edgedb/1-alpha3/data/postmaster.pid" does not exist Jun 26 10:36:53 srv.localdomain edgedb-server[3719]: Is server running? Jun 26 10:36:53 srv.localdomain edgedb-server[3719]: ---- Jun 26 10:36:53 srv.localdomain edgedb-server[3719]: 2. edb.server.pgcluster.ClusterError: cluster is not running Jun 26 10:36:53 srv.localdomain edgedb-server[3719]: ---- Traceback ---- Jun 26 10:36:53 srv.localdomain edgedb-server[3719]: /usr/lib64/edgedb-server-1-alpha3/lib/python3.8/site-packages/edb/server/main.py, line 289, in run_server Jun 26 10:36:53 srv.localdomain edgedb-server[3719]: > need_cluster_restart = _init_cluster(cluster, args) Jun 26 10:36:53 srv.localdomain edgedb-server[3719]: /usr/lib64/edgedb-server-1-alpha3/lib/python3.8/site-packages/edb/server/main.py, line 142, in _init_cluster Jun 26 10:36:53 srv.localdomain edgedb-server[3719]: > need_restart = asyncio.run(bootstrap.bootstrap(cluster, bootstrap_args)) Jun 26 10:36:53 srv.localdomain edgedb-server[3719]: /usr/lib64/edgedb-server-1-alpha3/lib/python3.8/asyncio/runners.py, line 43, in run Jun 26 10:36:53 srv.localdomain edgedb-server[3719]: > return loop.run_until_complete(main) Jun 26 10:36:53 srv.localdomain edgedb-server[3719]: uvloop/loop.pyx, line 1456, in uvloop.loop.Loop.run_until_complete Jun 26 10:36:53 srv.localdomain edgedb-server[3719]: Jun 26 10:36:53 srv.localdomain edgedb-server[3719]: /usr/lib64/edgedb-server-1-alpha3/lib/python3.8/site-packages/edb/server/bootstrap.py, line 931, in bootstrap Jun 26 10:36:53 srv.localdomain edgedb-server[3719]: > pgconn = await cluster.connect() Jun 26 10:36:53 srv.localdomain edgedb-server[3719]: /usr/lib64/edgedb-server-1-alpha3/lib/python3.8/site-packages/edb/server/pgcluster.py, line 82, in connect Jun 26 10:36:53 srv.localdomain edgedb-server[3719]: > conn_info = self.get_connection_spec() Jun 26 10:36:53 srv.localdomain edgedb-server[3719]: /usr/lib64/edgedb-server-1-alpha3/lib/python3.8/site-packages/edb/server/pgcluster.py, line 119, in get_connection_spec Jun 26 10:36:53 srv.localdomain edgedb-server[3719]: > addr = self.get_connection_addr() Jun 26 10:36:53 srv.localdomain edgedb-server[3719]: /usr/lib64/edgedb-server-1-alpha3/lib/python3.8/site-packages/edb/server/pgcluster.py, line 104, in get_connection_addr lines 1-23
  • reply
  • like