v2 Beta Installation Error (Bitnami Windows) REST Exception #404 > Could not find a service for user

This installed successfully on my Windows 10 box.

Then I visit the app and enter all setup credentials to “Create a System Admin User” and click Create and a “Whoops…” message comes up. Looking at the error log, the exact error is " REST Exception #404 > Could not find a service for user, referer: http://localhost:8090/setup".

There were no errors during setup and the services seem to be work fine. I’ve rebooted severally.

How can I fix?

I tried the suggestions at https://github.com/dreamfactorysoftware/dreamfactory/issues/3

but get the errors:

C:\BitNami\dreamfactory-2.0.beta-2\apps\dreamfactory\htdocs>php artisan migrate
PHP Parse error: syntax error, unexpected ‘$value’ (T_VARIABLE) in C:\BitNami\dreamfactory-2.0.beta-2\apps\dreamfactory\htdocs\vendor\aws\aws-sdk-php\src\functions.php on line 36

C:\BitNami\dreamfactory-2.0.beta-2\apps\dreamfactory\htdocs>php artisan db:seed
PHP Parse error: syntax error, unexpected ‘$value’ (T_VARIABLE) in C:\BitNami\dreamfactory-2.0.beta-2\apps\dreamfactory\htdocs\vendor\aws\aws-sdk-php\src\functions.php on line 36

Try running composer update in the htdocs folder.
Then run php artisan migrate and php artisan db:seed

Problems still there. See results of the 3 commands entered below;

C:\BitNami\dreamfactory-2.0.beta-2\apps\dreamfactory\htdocs>php C:\ProgramData\ComposerSetup\bin\composer.phar self-update
Updating to version 7a9eb02190d334513e99a479510f87eed18cf958.
Downloading: 100%
Use composer self-update --rollback to return to version 31eadc6920cd1866bc061fb0087798c37e2b7d14

C:\BitNami\dreamfactory-2.0.beta-2\apps\dreamfactory\htdocs>php artisan migrate
PHP Parse error: syntax error, unexpected ‘$value’ (T_VARIABLE) in C:\BitNami\dreamfactory-2.0.beta-2\apps\dreamfactory\htdocs\vendor\aws\aws-sdk-php\src\functions.php on line 36

C:\BitNami\dreamfactory-2.0.beta-2\apps\dreamfactory\htdocs>php C:\ProgramData\ComposerSetup\bin\composer.phar self-update
You are already using composer version 7a9eb02190d334513e99a479510f87eed18cf958.

copy the composer.phar file into the htdocs folder.
then from the htdocs folder run

/path/to/php.exe composer.phar update

(not self-update)

Then do the artisan commands referenced above. This will update the install based on the composer.json file.

The error won’t go away. See below, after copying the .phar as instructed.

C:\BitNami\dreamfactory-2.0.beta-2\apps\dreamfactory\htdocs>C:\BitNami\dreamfactory-2.0.beta-2\php\php.exe composer.phar update
Loading composer repositories with package information
Updating dependencies (including require-dev)

  • Removing dreamfactory/df-admin-app (0.0.4)

  • Installing dreamfactory/df-admin-app (0.0.6)
    Downloading: 100%

  • Removing symfony/http-foundation (v2.7.4)

  • Installing symfony/http-foundation (v2.7.5)
    Downloading: 100%

  • Removing symfony/dependency-injection (v2.7.4)

  • Installing symfony/dependency-injection (v2.7.5)
    Downloading: 100%

  • Removing dreamfactory/php-utils (1.1.3)

  • Installing dreamfactory/php-utils (1.1.4)
    Downloading: 100%

  • Removing symfony/var-dumper (v2.7.4)

  • Installing symfony/var-dumper (v2.7.5)
    Downloading: 100%

  • Removing symfony/translation (v2.7.4)

  • Installing symfony/translation (v2.7.5)
    Downloading: 100%

  • Removing symfony/routing (v2.7.4)

  • Installing symfony/routing (v2.7.5)
    Downloading: 100%

  • Removing symfony/process (v2.7.4)

  • Installing symfony/process (v2.7.5)
    Downloading: 100%

  • Removing symfony/event-dispatcher (v2.7.4)

  • Installing symfony/event-dispatcher (v2.7.5)
    Downloading: 100%

  • Removing symfony/debug (v2.7.4)

  • Installing symfony/debug (v2.7.5)
    Downloading: 100%

  • Removing symfony/http-kernel (v2.7.4)

  • Installing symfony/http-kernel (v2.7.5)
    Downloading: 100%

  • Removing symfony/finder (v2.7.4)

  • Installing symfony/finder (v2.7.5)
    Downloading: 100%

  • Removing symfony/dom-crawler (v2.7.4)

  • Installing symfony/dom-crawler (v2.7.5)
    Downloading: 100%

  • Removing symfony/css-selector (v2.7.4)

  • Installing symfony/css-selector (v2.7.5)
    Downloading: 100%

  • Removing symfony/console (v2.7.4)

  • Installing symfony/console (v2.7.5)
    Downloading: 100%

  • Removing nikic/php-parser (v1.4.0)

  • Installing nikic/php-parser (v1.4.1)
    Downloading: 100%

  • Removing league/flysystem (1.0.12)

  • Installing league/flysystem (1.0.15)
    Downloading: 100%

  • Removing laravel/framework (v5.1.17)

  • Installing laravel/framework (v5.1.19)
    Downloading: 100%

  • Removing barryvdh/laravel-cors (v0.7.1)

  • Installing barryvdh/laravel-cors (v0.7.2)
    Downloading: 100%

  • Removing dreamfactory/df-core (0.0.8)

  • Installing dreamfactory/df-core (0.0.11)
    Downloading: 100%

  • Removing dreamfactory/df-aws (0.0.4)

  • Installing dreamfactory/df-aws (0.0.5)
    Downloading: 100%

  • Removing dreamfactory/df-rackspace (0.0.2)

  • Installing dreamfactory/df-rackspace (0.0.3)
    Downloading: 100%

  • Removing dreamfactory/df-sqldb (0.0.5)

  • Installing dreamfactory/df-sqldb (0.0.7)
    Downloading: 100%

  • Removing dreamfactory/df-mongodb (0.0.4)

  • Installing dreamfactory/df-mongodb (0.0.5)
    Downloading: 100%

  • Removing dreamfactory/df-couchdb (0.0.4)

  • Installing dreamfactory/df-couchdb (0.0.5)
    Downloading: 100%

  • Removing dreamfactory/df-salesforce (0.0.3)

  • Installing dreamfactory/df-salesforce (0.0.5)
    Downloading: 100%

  • Removing laravel/socialite (v2.0.12)

  • Installing laravel/socialite (v2.0.13)
    Downloading: 100%

  • Removing dreamfactory/df-user (0.0.4)

  • Installing dreamfactory/df-user (0.0.5)
    Downloading: 100%

  • Removing dreamfactory/df-oauth (0.0.4)

  • Installing dreamfactory/df-oauth (0.0.5)
    Downloading: 100%

  • Removing dreamfactory/df-adldap (0.0.4)

  • Installing dreamfactory/df-adldap (0.0.5)
    Downloading: 100%

  • Removing symfony/yaml (v2.7.4)

  • Installing symfony/yaml (v2.7.5)
    Downloading: 100%

  • Removing phpunit/phpunit-mock-objects (2.3.7)

  • Installing phpunit/phpunit-mock-objects (2.3.8)
    Downloading: 100%

  • Removing phpunit/php-code-coverage (2.2.3)

  • Installing phpunit/php-code-coverage (2.2.4)
    Downloading: 100%

  • Removing phpunit/phpunit (4.8.7)

  • Installing phpunit/phpunit (4.8.11)
    Downloading: 100%

  • Removing symfony/class-loader (v2.7.4)

  • Installing symfony/class-loader (v2.7.5)
    Downloading: 100%

Writing lock file
Generating autoload files

php artisan clear-compiled
PHP Parse error: syntax error, unexpected ‘$value’ (T_VARIABLE) in C:\BitNami\dreamfactory-2.0.beta-2\apps\dreamfactory\htdocs\vendor\aws\aws-sdk-php\src\functions.php on line 36
Script php artisan clear-compiled handling the post-update-cmd event returned with an error

[RuntimeException]
Error Output: PHP Parse error: syntax error, unexpected ‘$value’ (T_VARIAB
LE) in C:\BitNami\dreamfactory-2.0.beta-2\apps\dreamfactory\htdocs\vendor\a
ws\aws-sdk-php\src\functions.php on line 36

update [–prefer-source] [–prefer-dist] [–dry-run] [–dev] [–no-dev] [–lock] [–no-plugins] [–no-custom-installers] [–no-autoloader] [–no-scripts] [–no-progress] [–with-dependencies] [-v|vv|vvv|–verbose] [-o|–optimize-autoloader] [–ignore-platform-reqs] [–prefer-stable] [–prefer-lowest] [packages1] … [packagesN]

I’m unable to duplicate this problem.
Did you try to uninstall the Bitnami package, reboot, and run the installer again?

Ok I will do just that. Please note however: my ports 3306 and 80 are already in use by other services so when I installed I configured 3307 and 8090 for dreamfactory MySQL and Apache respectively. I hope this does not cause unexpected results as I will be repeating this installation procedure.

I found out that this is a known issue with the beta-2 for Windows package. Even though you specify for it to use different ports for MySQL it still tries to use the default. Since the installer package doesn’t have root access to existing MySQL server it cannot create the database and tables needed for a successful installation. This issue is resolved in the beta-3 package, due out very soon.

beta-3 is now available from Bitnami. https://bitnami.com/stack/dreamfactory/installer