<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>

<div>Humm...</div>

<div>
<br /></div>

<div>Since it was a brand-new install, I just decided to rerun the install instead of wait to see if anyone had experience with that error.</div>

<div>
<br /></div>

<div>Ran the install again, and this time - the GUI set up script did not kick me out.  So I've got access to the GUI.  But when I attempt another GUI login - I get that same error.  So this is two installs in a row that did that.</div>

<div>
<br /></div>

<div>I just tried the yum reinstall.  It worked beautifully.  I can now log in to the GUI from other browsers on other machines.
<br /></div>

<div>
<br /></div>

<div>Thank you VERY MUCH for the assist Michael!</div>

<div>
<br /></div>

<div>
<br /></div>

<div>Chuck</div>

<div>
<br /></div>
<font size="2">
<br />
<br /><b>---------- Original Message 
-----------</b>
<br />
From: Michael Stauber <mstauber@blueonyx.it> 

<br />
To: blueonyx@mail.blueonyx.it 

<br />
Sent: Thu, 10 Oct 2019 00:34:49 -0500 

<br />
Subject: [BlueOnyx:23298] Re: Problem on initial install set up 

<br />

<br />> Hi Chuck, 
<br />> 
<br />> 

> "An Error was Encountered" 
<br />> 

>  
<br />> 

> "In order to use the encryption class requires that you set an 

<br />> 

> encryption key in your config file." 
<br />> 
<br />> 

CodeIgniter uses encrption for a couple of things and has a config file, 

<br />> 

where an encryption key is stored. I don't want to ship CodeIgniter with 

<br />> 

the same encryption key for everyone. Instead any install auto-generates 

<br />> 

a new key that is automatically inserted into the CodeIgniter configuration. 

<br />> 
<br />> 

In your case the RPM post-install script that does this must have 
<br />> 

crapped out. 
<br />> 
<br />> 

The fix: 
<br />> 
<br />> 

yum reinstall base-alpine-* 
<br />> 
<br />> 

That will reinstall the base-alpine RPMs (which include CodeIgniter). 
<br />> 

And on install of that the CodeIgniter config file will receive the 
<br />> 

proper new encryption key. 
<br />> 
<br />> 

Or you can edit 
<br />> 

/usr/sausalito/ui/chorizo/ci/application/config/config.php and find this 

<br />> 

block_ 
<br />> 
<br />> 

/* 
<br />> 

|-------------------------------------------------------------------------- 

<br />> 

| Encryption Key 
<br />> 

|-------------------------------------------------------------------------- 

<br />> 


<br />> 

| If you use the Encryption class or the Session class you 
<br />> 

| MUST set an encryption key.  See the user guide for info. 
<br />> 


<br />> 

*/ 
<br />> 

$config['encryption_key'] = ''; 
<br />> 
<br />> 

Set an encryption key there and it should work. 
<br />> 
<br />> 

By default (in SVN) the 'encryption_key' is 
<br />> 

"cf81d0da4acb2dbf276413111e8e4d48" and the POST-install of the RPM 

<br />> 

auto-generates a new key this way and then runs sed on the config to 
<br />> 

replace the "stock" key with the new one: 
<br />> 
<br />> 

# Set random number for $config['encryption_key'] in the 
<br />> 

# CodeIgniter config: 
<br />> 

RANDNUMA=`/usr/bin/od -vAn -N8 -tx8 < /dev/urandom | /bin/sed -e 's/^\s//'`; 

<br />> 

RANDNUMB=`/usr/bin/od -vAn -N8 -tx8 < /dev/urandom | /bin/sed -e 's/^\s//'`; 

<br />> 

/bin/sed -i -e 
"s/cf81d0da4acb2dbf276413111e8e4d48/$RANDNUMA$RANDNUMB/" 
<br />> 

/usr/sausalito/ui/chorizo/ci/application/config/config.php 
<br />> 
<br />> 

In your case that must have wiped out the "stock" key instead. 

<br />> 
<br />> 

--  
<br />> 

With best regards 
<br />> 
<br />> 

Michael Stauber 
<br />> 

_______________________________________________ 
<br />> 

Blueonyx mailing list 
<br />> 

Blueonyx@mail.blueonyx.it 
<br />> 

<a href="http://mail.blueonyx.it/mailman/listinfo/blueonyx" target="_blank">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a> 

<br /><b>------- End of Original Message 
-------</b>
<br />

</font>

</BODY>
</HTML>