[erlang-bugs] Check sys.config in release_handler

Andrew Gopienko gopienko@REDACTED
Wed Sep 14 13:43:07 CEST 2011


If sys.config in release-upgrade-tarball contains non term data you won't
see any errors when will do release upgrade
(release_handler:unpack_release, release_handler:install_release,
release_handler:make_permanent).
But sys.config successfully be copied in releases/VSN and at next restart
the node won't be launched.
You will get something like that

Crash dump was written to: erl_crash.dump
could not start kernel pid (application_controller) (error in config file
"/.../releases/VSN/sys.config" (1): bad term)


Andrew Gopienko
Threeline LLC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20110914/e86933a0/attachment.htm>


More information about the erlang-bugs mailing list