shihjay2 / nosh-in-a-box

NOSH in a Box is a self-contained virtual machine that deploys NOSH ChartingSystem, an EHR coded by a physician for physicians
26 stars 13 forks source link

Not getting the Step 9 questions #5

Closed StreckerCM closed 6 years ago

StreckerCM commented 6 years ago

I am setting up nosh-in-a-box and when I do vagrant ssh I get the vagrant@ubuntu-xenial:~$ prompt but i don't get the startup questions. Is there anyway I can run this manually?

Also have you given any thought to creating nosh-in-a-box using Docker?

shihjay2 commented 6 years ago

In the command line: sudo bash /vagrant/install.sh

Did you install NOSH previously on the Vagrant machine somehow? Usually, the provision script starts the install routine right away if a NOSH directory is not found and that is only created after you answer the startup questions. I did some testing and I was not able to replicate your noted behavior after vagrant ssh somehow.

Yes, I have thought of creating a Docker instance installation routine - however, that is down the road as a part of my sister project HIE of One

StreckerCM commented 6 years ago

I installed it from scratch on my Windows 10 machine with VirtualBox 5.1. It didn't launch automatically when I did vagrant ssh. I deleted everything and tried again and it still didn't launch. I found the install script in the vagrant folder but the manual install instructions said to to sh install.sh not bash install.sh so I was getting some errors. I just ran it with bash and it seems to be working now! Thanks for the help!

StreckerCM commented 6 years ago

I ran it manually and everything seems to be working except the My Information link when logged in as the administrator and adding new Physician Users.

A few notes on my setup:

  1. I am running this on a local machine on my home network to try it out
  2. The router is using a non-standard HTTP port on the external side and redirecting to port 80
  3. I have it hosted on a sub domain

My Information

Steps to Reproduce

  1. Log into Nosh
  2. Click On Administrator Link at top right
  3. Click on My Information

Error Message

ErrorException in CoreController.php line 1052: Undefined offset: 1

in CoreController.php line 1052
at HandleExceptions->handleError('8', 'Undefined offset: 1', '/noshdocuments/nosh2/app/Http/Controllers/CoreController.php', '1052', array('request' => object(Request), 'table' => 'users', 'index' => 'id', 'id' => '1', 'subtype' => '1', 'result' => object(stdClass), 'items' => array(array('name' => 'id', 'type' => 'hidden', 'required' => true, 'default_value' => '1'), array('name' => 'username', 'label' => 'Username', 'type' => 'text', 'required' => true, 'readonly' => true, 'default_value' => 'admin'), array('name' => 'firstname', 'label' => 'First Name', 'type' => 'text', 'required' => true, 'default_value' => null), array('name' => 'middle', 'label' => 'Middle Name', 'type' => 'text', 'default_value' => null), array('name' => 'lastname', 'label' => 'Last Name', 'type' => 'text', 'required' => true, 'default_value' => null), array('name' => 'title', 'label' => 'Title', 'type' => 'text', 'default_value' => null), array('name' => 'displayname', 'type' => 'hidden', 'default_value' => 'Administrator'), array('name' => 'email', 'label' => 'E-mail', 'type' => 'email', 'required' => true, 'default_value' => 'chris.strecker@streckercm.com'), array('name' => 'group_id', 'type' => 'hidden', 'default_value' => '1'), array('name' => 'active', 'type' => 'hidden', 'default_value' => '1'), array('name' => 'practice_id', 'label' => 'Practice ID', 'type' => 'text', 'readonly' => true, 'default_value' => '1')), 'form_function' => 'form_users', 'user_arr' => array('Physician', 'Assistant', 'Billing', 'Patient'))) in CoreController.php line 1052
at CoreController->core_form(object(Request), 'users', 'id', '1', '1')
at call_user_func_array(array(object(CoreController), 'core_form'), array(object(Request), 'table' => 'users', 'index' => 'id', 'id' => '1', 'subtype' => '1')) in Controller.php line 55
at Controller->callAction('core_form', array(object(Request), 'table' => 'users', 'index' => 'id', 'id' => '1', 'subtype' => '1')) in ControllerDispatcher.php line 44
at ControllerDispatcher->dispatch(object(Route), object(CoreController), 'core_form') in Route.php line 189
at Route->runController() in Route.php line 144
at Route->run(object(Request)) in Router.php line 653
at Router->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in PostAuth.php line 55
at PostAuth->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Authenticate.php line 33
at Authenticate->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckInstall.php line 85
at CheckInstall->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
at ShareErrorsFromSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in StartSession.php line 64
at StartSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in EncryptCookies.php line 59
at EncryptCookies->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104
at Pipeline->then(object(Closure)) in Router.php line 655
at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 629
at Router->dispatchToRoute(object(Request)) in Router.php line 607
at Router->dispatch(object(Request)) in Kernel.php line 268
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in BeforeMiddleware.php line 20
at BeforeMiddleware->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 46
at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104
at Pipeline->then(object(Closure)) in Kernel.php line 150
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 117
at Kernel->handle(object(Request)) in index.php line 53

Add Physician User Error

Steps to Reproduce

  1. Log into Nosh
  2. Click On Users
  3. Click on + button
  4. Choose Add Physician User
  5. Enter Required User Information
  6. Press Save

Error Message

Swift_TransportException in AbstractSmtpTransport.php line 383: Expected response code 250 but got code "535", with message "535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 https://support.google.com/mail/?p=BadCredentials e30sm2962729qtg.1 - gsmtp "

in AbstractSmtpTransport.php line 383
at Swift_Transport_AbstractSmtpTransport->_assertResponseCode('535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 https://support.google.com/mail/?p=BadCredentials e30sm2962729qtg.1 - gsmtp ', array('250')) in AbstractSmtpTransport.php line 281
at Swift_Transport_AbstractSmtpTransport->executeCommand('RSET ', array('250'), array()) in EsmtpTransport.php line 270
at Swift_Transport_EsmtpTransport->executeCommand('RSET ', array('250')) in XOAuth2Authenticator.php line 55
at Swift_Transport_Esmtp_Auth_XOAuth2Authenticator->authenticate(object(Swift_SmtpTransport), 'nosh@streckercm.com', 'ya29.GlubBUpSeAFJyWZibD86MJk2HDM-zJVlUOH8VhCe8HnntOLFFQC_8idb-lss78aijFkxiUgbWGfkoeJLByeXmNj2G2_FJ-UmfqH4m5zdn9jqPpyFHKiFXQWnRK4A') in AuthHandler.php line 176
at Swift_Transport_Esmtp_AuthHandler->afterEhlo(object(Swift_SmtpTransport)) in EsmtpTransport.php line 332
at Swift_Transport_EsmtpTransport->_doHeloCommand() in AbstractSmtpTransport.php line 118
at Swift_Transport_AbstractSmtpTransport->start() in Mailer.php line 79
at Swift_Mailer->send(object(Swift_Message), array()) in Mailer.php line 395
at Mailer->sendSwiftMessage(object(Swift_Message)) in Mailer.php line 217
at Mailer->send('auth.emails.generic', array('message_data' => 'You are invited to use the NOSH ChartingSystem for Holly K Strecker MA LPA.<br>Go to http://cms.streckercm.com:28080/nosh/accept_invitation/5clkAhf5MM914iVAKIXASrerSF92o0o24WVEob3qZUh2_7ryI1oQuAirjhcF5-Dw4643xkMlINN8xCHqY76SZQ to get registered.', 'message' => object(Message)), object(Closure)) in Facade.php line 237
at Facade::__callStatic('send', array('auth.emails.generic', array('message_data' => 'You are invited to use the NOSH ChartingSystem for Holly K Strecker MA LPA.<br>Go to http://cms.streckercm.com:28080/nosh/accept_invitation/5clkAhf5MM914iVAKIXASrerSF92o0o24WVEob3qZUh2_7ryI1oQuAirjhcF5-Dw4643xkMlINN8xCHqY76SZQ to get registered.'), object(Closure))) in Controller.php line 15740
at Controller->send_mail('auth.emails.generic', array('message_data' => 'You are invited to use the NOSH ChartingSystem for Holly K Strecker MA LPA.<br>Go to http://cms.streckercm.com:28080/nosh/accept_invitation/5clkAhf5MM914iVAKIXASrerSF92o0o24WVEob3qZUh2_7ryI1oQuAirjhcF5-Dw4643xkMlINN8xCHqY76SZQ to get registered.'), 'Invitation to NOSH ChartingSystem', 'holly.strecker@streckercm.com', '1') in CoreController.php line 772
at CoreController->core_action(object(Request), 'users', 'save', '0', 'id', '2')
at call_user_func_array(array(object(CoreController), 'core_action'), array(object(Request), 'table' => 'users', 'action' => 'save', 'id' => '0', 'index' => 'id', 'subtype' => '2')) in Controller.php line 55
at Controller->callAction('core_action', array(object(Request), 'table' => 'users', 'action' => 'save', 'id' => '0', 'index' => 'id', 'subtype' => '2')) in ControllerDispatcher.php line 44
at ControllerDispatcher->dispatch(object(Route), object(CoreController), 'core_action') in Route.php line 189
at Route->runController() in Route.php line 144
at Route->run(object(Request)) in Router.php line 653
at Router->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in PostAuth.php line 55
at PostAuth->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Authenticate.php line 33
at Authenticate->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckInstall.php line 85
at CheckInstall->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
at ShareErrorsFromSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in StartSession.php line 64
at StartSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in EncryptCookies.php line 59
at EncryptCookies->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104
at Pipeline->then(object(Closure)) in Router.php line 655
at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 629
at Router->dispatchToRoute(object(Request)) in Router.php line 607
at Router->dispatch(object(Request)) in Kernel.php line 268
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in BeforeMiddleware.php line 20
at BeforeMiddleware->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 46
at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104
at Pipeline->then(object(Closure)) in Kernel.php line 150
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 117
at Kernel->handle(object(Request)) in index.php line 53
shihjay2 commented 6 years ago

Technically, the "My Information" page should not exist for an administrator user; hence the error you saw. I removed the link in the updated version of NOSH which you can do on your browser - https://<your domain>/nosh/update_system.

Did you set up your Google gmail in this link?

StreckerCM commented 6 years ago

I setup gmail using those instructions my own domain email account (same domain as the site is currently hosted on) I didn't get any errors during the setup only when creating the account. I didn't do the https certificate yet though.

shihjay2 commented 6 years ago

The HTTPS certificate is key; the default Vagrant install goes through getting one for free through LetsEncrypt. You can use the install-ssl command in Vagrant if you didn't do it the first time.

StreckerCM commented 6 years ago

Sorry to bother you again but I got my domain setup so the letsencrypt request doesn't fail anymore. I deleted the old VM and the vagrant files and started again from scratch.

Now I have a new issue where the the installation script fails in the composer section because I have PHP 7.0.28 instead of 7.1. Also the script removes the files from the vagrant folder so after this failure I have to start over or copy them back.

Welcome to NOSH in a Box!
You're seeing this because this is the first time the system has booted.
Let's get started...
Enter your username (for SSH, MySQL, and phpMyAdmin): nosh
Enter your MySQL password (please remember this!): [REDACTED]
Enter your domain name (example.com): [REDACTED]
Adding user `nosh' ...
Adding new group `nosh' (1002) ...
Adding new user `nosh' (1002) with group `nosh' ...
Creating home directory `/home/nosh' ...
Copying files from `/etc/skel' ...
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for nosh
Enter the new value, or press ENTER for the default
        Full Name []: [REDACTED]
        Room Number []: [REDACTED]
        Work Phone []: [REDACTED]
        Home Phone []: 
        Other []:
Is the information correct? [Y/n] y
Adding user `nosh' to group `sudo' ...
Adding user nosh to group sudo
Done.
Created NOSH ChartingSystem cron scripts.
Group ftpshared does not exist.  Making group.
The NOSH ChartingSystem SFTP directories have been created.
Adding user www-data to group ftpshared
Backup of SSH config file created.
SSH config file updated.
Restarting SSH server service
Installing MariaDB and phpMyAdmin...
Executing: /tmp/tmp.JvDzfC2wdQ/gpg.1.sh --recv-keys
--keyserver
hkp://keyserver.ubuntu.com:80
0xF1656F24C74CD1D8
gpg: requesting key C74CD1D8 from hkp server keyserver.ubuntu.com
gpg: key C74CD1D8: public key "MariaDB Signing Key <signing-key@mariadb.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:3 http://ftp.osuosl.org/pub/mariadb/repo/10.1/ubuntu xenial InRelease [3,874 B]
Hit:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Get:5 http://ftp.osuosl.org/pub/mariadb/repo/10.1/ubuntu xenial/main i386 Packages [9,359 B]
Get:6 http://ftp.osuosl.org/pub/mariadb/repo/10.1/ubuntu xenial/main amd64 Packages [9,420 B]
Hit:7 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Get:8 http://ftp.osuosl.org/pub/mariadb/repo/10.1/ubuntu xenial/main ppc64el Packages [9,365 B]
Fetched 32.0 kB in 0s (53.4 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  galera-3 iproute libaio1 libcgi-fast-perl libcgi-pm-perl libencode-locale-perl libfcgi-perl libhtml-parser-perl
  libhtml-tagset-perl libhtml-template-perl libhttp-date-perl libhttp-message-perl libio-html-perl libjemalloc1
  liblwp-mediatypes-perl libmariadbclient18 libmysqlclient18 libtimedate-perl liburi-perl mariadb-client-10.1
  mariadb-client-core-10.1 mariadb-common mariadb-server-10.1 mariadb-server-core-10.1 socat
Suggested packages:
  libdata-dump-perl libipc-sharedcache-perl libwww-perl libterm-readkey-perl mailx mariadb-test tinyca
The following NEW packages will be installed:
  galera-3 iproute libaio1 libcgi-fast-perl libcgi-pm-perl libencode-locale-perl libfcgi-perl libhtml-parser-perl
  libhtml-tagset-perl libhtml-template-perl libhttp-date-perl libhttp-message-perl libio-html-perl libjemalloc1
  liblwp-mediatypes-perl libmariadbclient18 libmysqlclient18 libtimedate-perl liburi-perl mariadb-client
  mariadb-client-10.1 mariadb-client-core-10.1 mariadb-common mariadb-server mariadb-server-10.1
  mariadb-server-core-10.1 socat
0 upgraded, 27 newly installed, 0 to remove and 7 not upgraded.
Need to get 22.8 MB of archives.
After this operation, 191 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 iproute all 1:4.3.0-1ubuntu3.16.04.3 [2,430 B]
Get:2 http://ftp.osuosl.org/pub/mariadb/repo/10.1/ubuntu xenial/main i386 mariadb-common all 10.1.32+maria-1~xenial [3,208 B]
Get:3 http://ftp.osuosl.org/pub/mariadb/repo/10.1/ubuntu xenial/main amd64 galera-3 amd64 25.3.23-xenial [8,015 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial/main amd64 libaio1 amd64 0.3.110-2 [6,356 B]
Get:5 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libjemalloc1 amd64 3.6.0-9ubuntu1 [78.9 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial/universe amd64 socat amd64 1.7.3.1-1 [321 kB]
Get:7 http://ftp.osuosl.org/pub/mariadb/repo/10.1/ubuntu xenial/main amd64 libmysqlclient18 amd64 10.1.32+maria-1~xenial [2,892 B]
Get:8 http://archive.ubuntu.com/ubuntu xenial/main amd64 libhtml-tagset-perl all 3.20-2 [13.5 kB]
Get:9 http://ftp.osuosl.org/pub/mariadb/repo/10.1/ubuntu xenial/main amd64 libmariadbclient18 amd64 10.1.32+maria-1~xenial [589 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial/main amd64 liburi-perl all 1.71-1 [76.9 kB]
Get:11 http://ftp.osuosl.org/pub/mariadb/repo/10.1/ubuntu xenial/main amd64 mariadb-client-core-10.1 amd64 10.1.32+maria-1~xenial [690 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial/main amd64 libhtml-parser-perl amd64 3.72-1 [86.1 kB]
Get:13 http://ftp.osuosl.org/pub/mariadb/repo/10.1/ubuntu xenial/main amd64 mariadb-client-10.1 amd64 10.1.32+maria-1~xenial [1,125 kB]
Get:14 http://archive.ubuntu.com/ubuntu xenial/main amd64 libcgi-pm-perl all 4.26-1 [185 kB]
Get:15 http://ftp.osuosl.org/pub/mariadb/repo/10.1/ubuntu xenial/main amd64 mariadb-server-core-10.1 amd64 10.1.32+maria-1~xenial [4,491 kB]
Get:16 http://archive.ubuntu.com/ubuntu xenial/main amd64 libfcgi-perl amd64 0.77-1build1 [32.3 kB]
Get:17 http://ftp.osuosl.org/pub/mariadb/repo/10.1/ubuntu xenial/main amd64 mariadb-server-10.1 amd64 10.1.32+maria-1~xenial [6,846 kB]
Get:18 http://archive.ubuntu.com/ubuntu xenial/main amd64 libcgi-fast-perl all 1:2.10-1 [10.2 kB]
Get:19 http://archive.ubuntu.com/ubuntu xenial/main amd64 libencode-locale-perl all 1.05-1 [12.3 kB]
Get:20 http://ftp.osuosl.org/pub/mariadb/repo/10.1/ubuntu xenial/main i386 mariadb-client all 10.1.32+maria-1~xenial [2,792 B]
Get:21 http://archive.ubuntu.com/ubuntu xenial/main amd64 libhtml-template-perl all 2.95-2 [60.4 kB]
Get:22 http://ftp.osuosl.org/pub/mariadb/repo/10.1/ubuntu xenial/main i386 mariadb-server all 10.1.32+maria-1~xenial [2,922 B]
Get:23 http://archive.ubuntu.com/ubuntu xenial/main amd64 libtimedate-perl all 2.3000-2 [37.5 kB]
Get:24 http://archive.ubuntu.com/ubuntu xenial/main amd64 libhttp-date-perl all 6.02-1 [10.4 kB]
Get:25 http://archive.ubuntu.com/ubuntu xenial/main amd64 libio-html-perl all 1.001-1 [14.9 kB]
Get:26 http://archive.ubuntu.com/ubuntu xenial/main amd64 liblwp-mediatypes-perl all 6.02-1 [21.7 kB]
Get:27 http://archive.ubuntu.com/ubuntu xenial/main amd64 libhttp-message-perl all 6.11-1 [74.3 kB]
Fetched 22.8 MB in 3s (6,101 kB/s)
Preconfiguring packages ...
Selecting previously unselected package mariadb-common.
(Reading database ... 64665 files and directories currently installed.)
Preparing to unpack .../mariadb-common_10.1.32+maria-1~xenial_all.deb ...
Unpacking mariadb-common (10.1.32+maria-1~xenial) ...
Selecting previously unselected package galera-3.
Preparing to unpack .../galera-3_25.3.23-xenial_amd64.deb ...
Unpacking galera-3 (25.3.23-xenial) ...
Selecting previously unselected package iproute.
Preparing to unpack .../iproute_1%3a4.3.0-1ubuntu3.16.04.3_all.deb ...
Unpacking iproute (1:4.3.0-1ubuntu3.16.04.3) ...
Selecting previously unselected package libmysqlclient18.
Preparing to unpack .../libmysqlclient18_10.1.32+maria-1~xenial_amd64.deb ...
Unpacking libmysqlclient18 (10.1.32+maria-1~xenial) ...
Selecting previously unselected package libmariadbclient18.
Preparing to unpack .../libmariadbclient18_10.1.32+maria-1~xenial_amd64.deb ...
Unpacking libmariadbclient18 (10.1.32+maria-1~xenial) ...
Selecting previously unselected package mariadb-client-core-10.1.
Preparing to unpack .../mariadb-client-core-10.1_10.1.32+maria-1~xenial_amd64.deb ...
Unpacking mariadb-client-core-10.1 (10.1.32+maria-1~xenial) ...
Selecting previously unselected package mariadb-client-10.1.
Preparing to unpack .../mariadb-client-10.1_10.1.32+maria-1~xenial_amd64.deb ...
Unpacking mariadb-client-10.1 (10.1.32+maria-1~xenial) ...
Selecting previously unselected package libaio1:amd64.
Preparing to unpack .../libaio1_0.3.110-2_amd64.deb ...
Unpacking libaio1:amd64 (0.3.110-2) ...
Selecting previously unselected package libjemalloc1.
Preparing to unpack .../libjemalloc1_3.6.0-9ubuntu1_amd64.deb ...
Unpacking libjemalloc1 (3.6.0-9ubuntu1) ...
Selecting previously unselected package mariadb-server-core-10.1.
Preparing to unpack .../mariadb-server-core-10.1_10.1.32+maria-1~xenial_amd64.deb ...
Unpacking mariadb-server-core-10.1 (10.1.32+maria-1~xenial) ...
Selecting previously unselected package socat.
Preparing to unpack .../socat_1.7.3.1-1_amd64.deb ...
Unpacking socat (1.7.3.1-1) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up mariadb-common (10.1.32+maria-1~xenial) ...
Selecting previously unselected package mariadb-server-10.1.
(Reading database ... 64875 files and directories currently installed.)
Preparing to unpack .../mariadb-server-10.1_10.1.32+maria-1~xenial_amd64.deb ...
Unpacking mariadb-server-10.1 (10.1.32+maria-1~xenial) ...
Selecting previously unselected package libhtml-tagset-perl.
Preparing to unpack .../libhtml-tagset-perl_3.20-2_all.deb ...
Unpacking libhtml-tagset-perl (3.20-2) ...
Selecting previously unselected package liburi-perl.
Preparing to unpack .../liburi-perl_1.71-1_all.deb ...
Unpacking liburi-perl (1.71-1) ...
Selecting previously unselected package libhtml-parser-perl.
Preparing to unpack .../libhtml-parser-perl_3.72-1_amd64.deb ...
Unpacking libhtml-parser-perl (3.72-1) ...
Selecting previously unselected package libcgi-pm-perl.
Preparing to unpack .../libcgi-pm-perl_4.26-1_all.deb ...
Unpacking libcgi-pm-perl (4.26-1) ...
Selecting previously unselected package libfcgi-perl.
Preparing to unpack .../libfcgi-perl_0.77-1build1_amd64.deb ...
Unpacking libfcgi-perl (0.77-1build1) ...
Selecting previously unselected package libcgi-fast-perl.
Preparing to unpack .../libcgi-fast-perl_1%3a2.10-1_all.deb ...
Unpacking libcgi-fast-perl (1:2.10-1) ...
Selecting previously unselected package libencode-locale-perl.
Preparing to unpack .../libencode-locale-perl_1.05-1_all.deb ...
Unpacking libencode-locale-perl (1.05-1) ...
Selecting previously unselected package libhtml-template-perl.
Preparing to unpack .../libhtml-template-perl_2.95-2_all.deb ...
Unpacking libhtml-template-perl (2.95-2) ...
Selecting previously unselected package libtimedate-perl.
Preparing to unpack .../libtimedate-perl_2.3000-2_all.deb ...
Unpacking libtimedate-perl (2.3000-2) ...
Selecting previously unselected package libhttp-date-perl.
Preparing to unpack .../libhttp-date-perl_6.02-1_all.deb ...
Unpacking libhttp-date-perl (6.02-1) ...
Selecting previously unselected package libio-html-perl.
Preparing to unpack .../libio-html-perl_1.001-1_all.deb ...
Unpacking libio-html-perl (1.001-1) ...
Selecting previously unselected package liblwp-mediatypes-perl.
Preparing to unpack .../liblwp-mediatypes-perl_6.02-1_all.deb ...
Unpacking liblwp-mediatypes-perl (6.02-1) ...
Selecting previously unselected package libhttp-message-perl.
Preparing to unpack .../libhttp-message-perl_6.11-1_all.deb ...
Unpacking libhttp-message-perl (6.11-1) ...
Selecting previously unselected package mariadb-client.
Preparing to unpack .../mariadb-client_10.1.32+maria-1~xenial_all.deb ...
Unpacking mariadb-client (10.1.32+maria-1~xenial) ...
Selecting previously unselected package mariadb-server.
Preparing to unpack .../mariadb-server_10.1.32+maria-1~xenial_all.deb ...
Unpacking mariadb-server (10.1.32+maria-1~xenial) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for systemd (229-4ubuntu21.2) ...
Processing triggers for ureadahead (0.100.0-19) ...
Setting up galera-3 (25.3.23-xenial) ...
Setting up iproute (1:4.3.0-1ubuntu3.16.04.3) ...
Setting up libaio1:amd64 (0.3.110-2) ...
Setting up libjemalloc1 (3.6.0-9ubuntu1) ...
Setting up socat (1.7.3.1-1) ...
Setting up libhtml-tagset-perl (3.20-2) ...
Setting up liburi-perl (1.71-1) ...
Setting up libhtml-parser-perl (3.72-1) ...
Setting up libcgi-pm-perl (4.26-1) ...
Setting up libfcgi-perl (0.77-1build1) ...
Setting up libcgi-fast-perl (1:2.10-1) ...
Setting up libencode-locale-perl (1.05-1) ...
Setting up libhtml-template-perl (2.95-2) ...
Setting up libtimedate-perl (2.3000-2) ...
Setting up libhttp-date-perl (6.02-1) ...
Setting up libio-html-perl (1.001-1) ...
Setting up liblwp-mediatypes-perl (6.02-1) ...
Setting up libhttp-message-perl (6.11-1) ...
Setting up libmysqlclient18 (10.1.32+maria-1~xenial) ...
Setting up libmariadbclient18 (10.1.32+maria-1~xenial) ...
Setting up mariadb-client-core-10.1 (10.1.32+maria-1~xenial) ...
Setting up mariadb-client-10.1 (10.1.32+maria-1~xenial) ...
Setting up mariadb-server-core-10.1 (10.1.32+maria-1~xenial) ...
Setting up mariadb-server-10.1 (10.1.32+maria-1~xenial) ...
2018-04-14  1:52:52 140093402241280 [Note] /usr/sbin/mysqld (mysqld 10.1.32-MariaDB-1~xenial) starting as process 27577 ...
2018-04-14  1:52:52 140093402241280 [Note] InnoDB: innodb_empty_free_list_algorithm has been changed to legacy because of small buffer pool size. In order to use backoff, increase buffer pool at least up to 20MB.

2018-04-14  1:52:52 140093402241280 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2018-04-14  1:52:52 140093402241280 [Note] InnoDB: The InnoDB memory heap is disabled
2018-04-14  1:52:52 140093402241280 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-04-14  1:52:52 140093402241280 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2018-04-14  1:52:52 140093402241280 [Note] InnoDB: Compressed tables use zlib 1.2.8
2018-04-14  1:52:52 140093402241280 [Note] InnoDB: Using Linux native AIO
2018-04-14  1:52:52 140093402241280 [Note] InnoDB: Using SSE crc32 instructions
2018-04-14  1:52:52 140093402241280 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2018-04-14  1:52:52 140093402241280 [Note] InnoDB: Completed initialization of buffer pool
2018-04-14  1:52:52 140093402241280 [Note] InnoDB: Highest supported file format is Barracuda.
2018-04-14  1:52:52 140093402241280 [Note] InnoDB: 128 rollback segment(s) are active.
2018-04-14  1:52:52 140093402241280 [Note] InnoDB: Waiting for purge to start
2018-04-14  1:52:52 140093402241280 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.38-83.0 started; log sequence number 1616717
2018-04-14  1:52:52 140092643473152 [Note] InnoDB: Dumping buffer pool(s) not yet started
2018-04-14  1:52:52 140093402241280 [Note] Plugin 'FEEDBACK' is disabled.
Setting up mariadb-client (10.1.32+maria-1~xenial) ...
Setting up mariadb-server (10.1.32+maria-1~xenial) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for systemd (229-4ubuntu21.2) ...
Processing triggers for ureadahead (0.100.0-19) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  dbconfig-common dbconfig-mysql javascript-common libjs-jquery libjs-sphinxdoc libjs-underscore php-gettext
  php-mbstring php-phpseclib php-tcpdf php7.0-mbstring
Suggested packages:
  php-libsodium php-gmp www-browser
The following NEW packages will be installed:
  dbconfig-common dbconfig-mysql javascript-common libjs-jquery libjs-sphinxdoc libjs-underscore php-gettext
  php-mbstring php-phpseclib php-tcpdf php7.0-mbstring phpmyadmin
0 upgraded, 12 newly installed, 0 to remove and 7 not upgraded.
Need to get 13.3 MB of archives.
After this operation, 50.5 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 dbconfig-common all 2.0.4ubuntu1 [582 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial/universe amd64 dbconfig-mysql all 2.0.4ubuntu1 [1,038 B]
Get:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 javascript-common all 11 [6,066 B]
Get:4 http://archive.ubuntu.com/ubuntu xenial/main amd64 libjs-jquery all 1.11.3+dfsg-4 [161 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial/main amd64 libjs-underscore all 1.7.0~dfsg-1ubuntu1 [46.7 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libjs-sphinxdoc all 1.3.6-2ubuntu1.1 [57.6 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial/universe amd64 php-gettext all 1.0.11-2build1 [15.8 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 php7.0-mbstring amd64 7.0.28-0ubuntu0.16.04.1 [465 kB]
Get:9 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 php-mbstring all 1:7.0+35ubuntu6.1 [1,940 B]
Get:10 http://archive.ubuntu.com/ubuntu xenial/universe amd64 php-phpseclib all 2.0.1-1build1 [173 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial/universe amd64 php-tcpdf all 6.0.093+dfsg-1ubuntu1 [7,881 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 phpmyadmin all 4:4.5.4.1-2ubuntu2 [3,934 kB]
Fetched 13.3 MB in 3s (3,833 kB/s)
Preconfiguring packages ...
Selecting previously unselected package dbconfig-common.
(Reading database ... 65272 files and directories currently installed.)
Preparing to unpack .../dbconfig-common_2.0.4ubuntu1_all.deb ...
Unpacking dbconfig-common (2.0.4ubuntu1) ...
Selecting previously unselected package dbconfig-mysql.
Preparing to unpack .../dbconfig-mysql_2.0.4ubuntu1_all.deb ...
Unpacking dbconfig-mysql (2.0.4ubuntu1) ...
Selecting previously unselected package javascript-common.
Preparing to unpack .../javascript-common_11_all.deb ...
Unpacking javascript-common (11) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../libjs-jquery_1.11.3+dfsg-4_all.deb ...
Unpacking libjs-jquery (1.11.3+dfsg-4) ...
Selecting previously unselected package libjs-underscore.
Preparing to unpack .../libjs-underscore_1.7.0~dfsg-1ubuntu1_all.deb ...
Unpacking libjs-underscore (1.7.0~dfsg-1ubuntu1) ...
Selecting previously unselected package libjs-sphinxdoc.
Preparing to unpack .../libjs-sphinxdoc_1.3.6-2ubuntu1.1_all.deb ...
Unpacking libjs-sphinxdoc (1.3.6-2ubuntu1.1) ...
Selecting previously unselected package php-gettext.
Preparing to unpack .../php-gettext_1.0.11-2build1_all.deb ...
Unpacking php-gettext (1.0.11-2build1) ...
Selecting previously unselected package php7.0-mbstring.
Preparing to unpack .../php7.0-mbstring_7.0.28-0ubuntu0.16.04.1_amd64.deb ...
Unpacking php7.0-mbstring (7.0.28-0ubuntu0.16.04.1) ...
Selecting previously unselected package php-mbstring.
Preparing to unpack .../php-mbstring_1%3a7.0+35ubuntu6.1_all.deb ...
Unpacking php-mbstring (1:7.0+35ubuntu6.1) ...
Selecting previously unselected package php-phpseclib.
Preparing to unpack .../php-phpseclib_2.0.1-1build1_all.deb ...
Unpacking php-phpseclib (2.0.1-1build1) ...
Selecting previously unselected package php-tcpdf.
Preparing to unpack .../php-tcpdf_6.0.093+dfsg-1ubuntu1_all.deb ...
Unpacking php-tcpdf (6.0.093+dfsg-1ubuntu1) ...
Selecting previously unselected package phpmyadmin.
Preparing to unpack .../phpmyadmin_4%3a4.5.4.1-2ubuntu2_all.deb ...
Unpacking phpmyadmin (4:4.5.4.1-2ubuntu2) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libapache2-mod-php7.0 (7.0.28-0ubuntu0.16.04.1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Setting up dbconfig-common (2.0.4ubuntu1) ...

Creating config file /etc/dbconfig-common/config with new version
Setting up dbconfig-mysql (2.0.4ubuntu1) ...
Setting up javascript-common (11) ...
apache2_invoke: Enable configuration javascript-common
Setting up libjs-jquery (1.11.3+dfsg-4) ...
Setting up libjs-underscore (1.7.0~dfsg-1ubuntu1) ...
Setting up libjs-sphinxdoc (1.3.6-2ubuntu1.1) ...
Setting up php-gettext (1.0.11-2build1) ...
Setting up php7.0-mbstring (7.0.28-0ubuntu0.16.04.1) ...

Creating config file /etc/php/7.0/mods-available/mbstring.ini with new version
Setting up php-mbstring (1:7.0+35ubuntu6.1) ...
Setting up php-phpseclib (2.0.1-1build1) ...
Setting up php-tcpdf (6.0.093+dfsg-1ubuntu1) ...
Setting up phpmyadmin (4:4.5.4.1-2ubuntu2) ...
Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
dbconfig-common: writing config to /etc/dbconfig-common/phpmyadmin.conf

Creating config file /etc/dbconfig-common/phpmyadmin.conf with new version

Creating config file /etc/phpmyadmin/config-db.php with new version
granting access to database phpmyadmin for phpmyadmin@localhost: success.
verifying access for phpmyadmin@localhost: success.
creating database phpmyadmin: success.
verifying database phpmyadmin exists: success.
populating database via sql...  done.
dbconfig-common: flushing administrative password
apache2_invoke: Enable configuration phpmyadmin
Processing triggers for libapache2-mod-php7.0 (7.0.28-0ubuntu0.16.04.1) ...
MariaDB and phpMyAdmin installed.
Enabled mcrypt and imap modules for PHP.
The NOSH ChartingSystem documents directory has been created.
The NOSH ChartingSystem scan and fax directories are secured.
The NOSH ChartingSystem documents directory is secured.
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Installing nosh2/nosh2 (dev-master c13ef2da88dc30ecbe40b1cec1a8258a305b6f91)
  - Installing nosh2/nosh2 (dev-master master): Downloading (100%)
Created project in /noshdocuments/nosh2
> php -r "copy('.env.example', '.env');"
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for doctrine/annotations v1.6.0 -> satisfiable by doctrine/annotations[v1.6.0].
    - doctrine/annotations v1.6.0 requires php ^7.1 -> your PHP version (7.0.28) does not satisfy that requirement.
  Problem 2
    - Installation request for doctrine/cache v1.7.1 -> satisfiable by doctrine/cache[v1.7.1].
    - doctrine/cache v1.7.1 requires php ~7.1 -> your PHP version (7.0.28) does not satisfy that requirement.
  Problem 3
    - Installation request for doctrine/collections v1.5.0 -> satisfiable by doctrine/collections[v1.5.0].
    - doctrine/collections v1.5.0 requires php ^7.1 -> your PHP version (7.0.28) does not satisfy that requirement.
  Problem 4
    - Installation request for doctrine/common v2.8.1 -> satisfiable by doctrine/common[v2.8.1].
    - doctrine/common v2.8.1 requires php ~7.1 -> your PHP version (7.0.28) does not satisfy that requirement.
  Problem 5
    - Installation request for doctrine/dbal v2.7.1 -> satisfiable by doctrine/dbal[v2.7.1].
    - doctrine/dbal v2.7.1 requires php ^7.1 -> your PHP version (7.0.28) does not satisfy that requirement.
  Problem 6
    - Installation request for doctrine/inflector v1.3.0 -> satisfiable by doctrine/inflector[v1.3.0].
    - doctrine/inflector v1.3.0 requires php ^7.1 -> your PHP version (7.0.28) does not satisfy that requirement.
  Problem 7
    - Installation request for doctrine/instantiator 1.1.0 -> satisfiable by doctrine/instantiator[1.1.0].
    - doctrine/instantiator 1.1.0 requires php ^7.1 -> your PHP version (7.0.28) does not satisfy that requirement.
  Problem 8
    - doctrine/inflector v1.3.0 requires php ^7.1 -> your PHP version (7.0.28) does not satisfy that requirement.
    - laravel/framework v5.3.31 requires doctrine/inflector ~1.0 -> satisfiable by doctrine/inflector[v1.3.0].
    - Installation request for laravel/framework v5.3.31 -> satisfiable by laravel/framework[v5.3.31].
shihjay2 commented 6 years ago

Thanks for letting me know; there was a recent update to NOSH2 that had a PHP dependency change; I have updated the release so I would download the new installation files for Vagrant and try again.

StreckerCM commented 6 years ago

Thank you! That worked I got it installed and up and running. My wife has been able to enter most of her data into the system except for the Payors link. When she selects that option under a patient she gets the following php error:

DecryptException in Encrypter.php line 144: The payload is invalid.

in Encrypter.php line 144
at Encrypter->getJsonPayload(null) in Encrypter.php line 103
at Encrypter->decrypt(null) in helpers.php line 360
at decrypt(null) in ChartController.php line 6973
at ChartController->payors_list(object(Request), 'active')
at call_user_func_array(array(object(ChartController), 'payors_list'), array(object(Request), 'type' => 'active')) in Controller.php line 55
at Controller->callAction('payors_list', array(object(Request), 'type' => 'active')) in ControllerDispatcher.php line 44
at ControllerDispatcher->dispatch(object(Route), object(ChartController), 'payors_list') in Route.php line 189
at Route->runController() in Route.php line 144
at Route->run(object(Request)) in Router.php line 653
at Router->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckPatient.php line 19
at CheckPatient->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in PostAuth.php line 55
at PostAuth->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in VerifyCsrfToken.php line 65
at VerifyCsrfToken->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Authenticate.php line 33
at Authenticate->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckInstall.php line 85
at CheckInstall->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
at ShareErrorsFromSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in StartSession.php line 64
at StartSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in EncryptCookies.php line 59
at EncryptCookies->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104
at Pipeline->then(object(Closure)) in Router.php line 655
at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 629
at Router->dispatchToRoute(object(Request)) in Router.php line 607
at Router->dispatch(object(Request)) in Kernel.php line 268
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in BeforeMiddleware.php line 20
at BeforeMiddleware->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 46
at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104
at Pipeline->then(object(Closure)) in Kernel.php line 150
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 117
at Kernel->handle(object(Request)) in index.php line 53
sahoahfoa commented 6 years ago

DecryptException in Encrypter.php line 144: The payload is invalid.

This is out scope of this issue / project. Best to create a new issue here--> https://github.com/shihjay2/nosh2/issues

shihjay2 commented 6 years ago

It's possible this error may be due to the installation of nosh-in-a-box or nosh2 but I need more information of how this error gets generated as I am not able to replicate this in my testing environments.

This error appears to be occurring when you have a payor record that has a credit card number attached to. If so, was this a brand new entry that was just saved and subsequently running the payor list you get the error or was it imported from a previous install?

You may want to go into your Vagrant box terminal and see if you have an environment variable that stores the encryption key - if it's missing for some reason that could be the source of the problem

cd /noshdocuments/nosh2 cat .env

Look for the entry APP_KEY and it should start with base64: and other numbers/letters afterwards. If it's empty, please let me know.

shihjay2 commented 6 years ago

Found out a possible scenario where this would happen - if demographics were not set first and you enter the payor link, the error will be thrown as the value is null in the database; and the query apparently was not able to discern the null value as a condition. This has been fixed; do the https:///nosh/update_system command in the browser and it should work now. As @sahoahfoa stated, in the future if it's related to NOSH after installation, please create a new issue in the nosh2 project page.

StreckerCM commented 6 years ago

Sorry, I was going to move it but you answered the question first. I checked APP_KEY was not blank; however, after performing the update the issue was resolved. Thanks for your help!

sahoahfoa commented 6 years ago

I know this issue is closed, but I noticed the issue wasn't exactly solved. It seems that the install script is only called if the ubuntu user is used to log in with. When I log in with vagrant ssh the vagrant user is used. It seems this may have been a stopgap for this bug --> [https://bugs.launchpad.net/cloud-images/+bug/1569237]()?? I noticed on line 48 of provision.sh that this may have been the case since commenting line 45 and uncommenting line 48 would fix this. If there's another reason just ignore this.

shihjay2 commented 6 years ago

Thanks @sahoahfoa, you are correct that I had saved that code in provision.sh because a year ago, Ubuntu vagrant boxes were not using vagrant as the user and it sounds like recently it corrected this (I haven't checked back in a while). After testing it on an updated vagrant box environment, I have confirmed that they are now using vagrant as the username and I have updated the provision.sh code now to do that so that the install code will now be reliably executed at first login on vagrant ssh Fixed in commit 6720960a1b55823e5102d23a50f66e7a6ff9030c.