-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
The output of upgrade command:
admin@ip-172-26-3-249:~$ ./edgedb server upgrade --nightly
Job for [email protected] failed because the control process exited with error code.
See "systemctl status [email protected]" and "journalctl -xe" for details.
Error: failed to dump "default": process "systemctl" "--user" "start" "edgedb-server@default" failed: exit code: 1
Log is:
Jul 15 10:15:57 ip-172-26-3-249 edgedb-server-1-alpha4[25945]: > sys.exit(main())
Jul 15 10:15:57 ip-172-26-3-249 edgedb-server-1-alpha4[25945]: /usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha4/lib/python3.8/site-package
Jul 15 10:15:57 ip-172-26-3-249 edgedb-server-1-alpha4[25945]: > return self.main(*args, **kwargs)
Jul 15 10:15:57 ip-172-26-3-249 edgedb-server-1-alpha4[25945]: /usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha4/lib/python3.8/site-package
Jul 15 10:15:57 ip-172-26-3-249 edgedb-server-1-alpha4[25945]: > rv = self.invoke(ctx)
Jul 15 10:15:57 ip-172-26-3-249 edgedb-server-1-alpha4[25945]: /usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha4/lib/python3.8/site-package
Jul 15 10:15:57 ip-172-26-3-249 edgedb-server-1-alpha4[25945]: > return ctx.invoke(self.callback, **ctx.params)
Jul 15 10:15:57 ip-172-26-3-249 edgedb-server-1-alpha4[25945]: /usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha4/lib/python3.8/site-package
Jul 15 10:15:57 ip-172-26-3-249 edgedb-server-1-alpha4[25945]: > return callback(*args, **kwargs)
Jul 15 10:15:57 ip-172-26-3-249 edgedb-server-1-alpha4[25945]: /usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha4/lib/python3.8/site-package
Jul 15 10:15:57 ip-172-26-3-249 edgedb-server-1-alpha4[25945]: > server_main(**kwargs)
Jul 15 10:15:57 ip-172-26-3-249 edgedb-server-1-alpha4[25945]: /usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha4/lib/python3.8/site-package
Jul 15 10:15:57 ip-172-26-3-249 edgedb-server-1-alpha4[25945]: > run_server(ServerConfig(**kwargs))
Jul 15 10:15:57 ip-172-26-3-249 edgedb-server-1-alpha4[25945]: /usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha4/lib/python3.8/site-package
Jul 15 10:15:57 ip-172-26-3-249 edgedb-server-1-alpha4[25945]: > need_cluster_restart = _init_cluster(cluster, args)
Jul 15 10:15:57 ip-172-26-3-249 edgedb-server-1-alpha4[25945]: /usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha4/lib/python3.8/site-package
Jul 15 10:15:57 ip-172-26-3-249 edgedb-server-1-alpha4[25945]: > need_restart = asyncio.run(bootstrap.bootstrap(cluster, bootstrap_arg
Jul 15 10:15:57 ip-172-26-3-249 edgedb-server-1-alpha4[25945]: /usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha4/lib/python3.8/asyncio/runn
Jul 15 10:15:57 ip-172-26-3-249 edgedb-server-1-alpha4[25945]: > return loop.run_until_complete(main)
Jul 15 10:15:57 ip-172-26-3-249 edgedb-server-1-alpha4[25945]: uvloop/loop.pyx, line 1456, in uvloop.loop.Loop.run_until_complete
Jul 15 10:15:57 ip-172-26-3-249 edgedb-server-1-alpha4[25945]:
Jul 15 10:15:57 ip-172-26-3-249 edgedb-server-1-alpha4[25945]: /usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha4/lib/python3.8/site-package
Jul 15 10:15:57 ip-172-26-3-249 edgedb-server-1-alpha4[25945]: > await _check_data_dir_compatibility(conn)
Jul 15 10:15:57 ip-172-26-3-249 edgedb-server-1-alpha4[25945]: /usr/lib/x86_64-linux-gnu/edgedb-server-1-alpha4/lib/python3.8/site-package
Jul 15 10:15:57 ip-172-26-3-249 edgedb-server-1-alpha4[25945]: > raise errors.ConfigurationError(
Jul 15 10:15:57 ip-172-26-3-249 edgedb-server-1-alpha4[25945]: ---- Details ----
Jul 15 10:15:57 ip-172-26-3-249 edgedb-server-1-alpha4[25945]: Details: The database instance was initialized with EdgeDB format version 20200
Jul 15 10:15:57 ip-172-26-3-249 edgedb-server-1-alpha4[25945]: Hint: You need to recreate the instance and upgrade using dump/restore.
Jul 15 10:15:57 ip-172-26-3-249 edgedb-server-1-alpha4[25945]: edb.errors.ConfigurationError: database instance incompatible with this version
Jul 15 10:15:57 ip-172-26-3-249 edgedb-server-1-alpha4[25945]: DETAILS: The database instance was initialized with EdgeDB format version 20200
Jul 15 10:15:58 ip-172-26-3-249 systemd[25715]: [email protected]: Main process exited, code=exited, status=1/FAILURE
Jul 15 10:15:58 ip-172-26-3-249 systemd[25715]: Failed to start EdgeDB Database Service, instance "default".
To show nicer error this we might consider running edgedb in foreground and analyze output. Or alternatively, we can implement edgedb server logs
and parse output of that command internally.
Metadata
Metadata
Assignees
Labels
No labels