Forum OpenACS Development: Re: install issue due to silent error

Collapse
Posted by Gustaf Neumann on
This was quite a subtle bug (took me 2h to understand what's going on). The problem was that probably by accident, the info file of acs-mail-lite package was changed on july 25 to include false for the initial installs. The initial loader just loads these files. But since other essential packages depend on this, the package dependencies could not be satisfied.

The fix is trival: [1]

To recover from the broken install, do something along these lines:

dropdb -U nsadmin oacs-5-8
createdb -U nsadmin -E UNICODE oacs-5-8
psql -U nsadmin -d oacs-5-8 -tAc "create extension hstore"

On the next opportunity, i'll try to improve the error report.

all the best
-g

[1] http://cvs.openacs.org/changelog/OpenACS?cs=oacs-5-8%3Agustafn%3A20140808125705

Collapse
Posted by Benjamin Brink on
Excellent, Gustaf. Quite subtle indeed. Thank you!
Collapse
Posted by Gustaf Neumann on
The error reporting of the bootstrap loader is now improved. Firstly, it formats now the missing dependencies in a human oriented manner. Secondly, for several more load operations, errors are reported directly to the installer window.

It should be easier now to figure out, what's going on if something goes wrong....

all the best
-gustaf

Collapse
Posted by Benjamin Brink on
Excellent!

It's such a luxury to work with a system that provides useful information when things break.

Collapse
Posted by Antonio Pisano on
I Think I take the blame for this issue... Don't really know why that flag got false.

Thanks for the fix

Collapse
Posted by Gustaf Neumann on
no worry, shit happens. maybe the .info file generator has a flaw. -gustaf
Collapse
Posted by Benjamin Brink on
Antonio, you're not to blame. For all we know, there was a glitch in a cvs process that caused it.

General code oversight that made it difficult to identify and trace certain start-up problems. The main thing is that an issue was identified and fixed, and similar issues will be recognized (and fixed) faster.

cheers,
Ben