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

**URL:** <https://community.dreamfactory.com/t/v2-beta-installation-error-bitnami-windows-rest-exception-404-could-not-find-a-service-for-user/1567>\
**Category:** Bitnami Installers\
**Created:** [October 3, 2015, 5:19pm UTC](https://community.dreamfactory.com/t/v2-beta-installation-error-bitnami-windows-rest-exception-404-could-not-find-a-service-for-user/1567 "2015-10-03T17:19:14Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![cmyers](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@cmyers](https://community.dreamfactory.com/u/cmyers)\
**Post date:** [October 3, 2015, 5:19pm UTC](https://community.dreamfactory.com/t/v2-beta-installation-error-bitnami-windows-rest-exception-404-could-not-find-a-service-for-user/1567/1 "2015-10-03T17:19:14Z")

</div>

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](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?

---

<div class="post-metadata">

**Author:** ![cmyers](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@cmyers](https://community.dreamfactory.com/u/cmyers)\
**Post date:** [October 4, 2015, 7:56am UTC](https://community.dreamfactory.com/t/v2-beta-installation-error-bitnami-windows-rest-exception-404-could-not-find-a-service-for-user/1567/2 "2015-10-04T07:56:52Z")

</div>

I tried the suggestions at [https://github.com/dreamfactorysoftware/dreamfactory/issues/3](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

---

<div class="post-metadata">

**Author:** ![formerstaff](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/formerstaff/32/1133_2.png) [@formerstaff](https://community.dreamfactory.com/u/formerstaff)\
**Post date:** [October 7, 2015, 5:55pm UTC](https://community.dreamfactory.com/t/v2-beta-installation-error-bitnami-windows-rest-exception-404-could-not-find-a-service-for-user/1567/3 "2015-10-07T17:55:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![cmyers](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@cmyers](https://community.dreamfactory.com/u/cmyers)\
**Post date:** [October 8, 2015, 3:18pm UTC](https://community.dreamfactory.com/t/v2-beta-installation-error-bitnami-windows-rest-exception-404-could-not-find-a-service-for-user/1567/4 "2015-10-08T15:18:25Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![formerstaff](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/formerstaff/32/1133_2.png) [@formerstaff](https://community.dreamfactory.com/u/formerstaff)\
**Post date:** [October 8, 2015, 3:40pm UTC](https://community.dreamfactory.com/t/v2-beta-installation-error-bitnami-windows-rest-exception-404-could-not-find-a-service-for-user/1567/5 "2015-10-08T15:40:01Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![cmyers](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@cmyers](https://community.dreamfactory.com/u/cmyers)\
**Post date:** [October 8, 2015, 4:52pm UTC](https://community.dreamfactory.com/t/v2-beta-installation-error-bitnami-windows-rest-exception-404-could-not-find-a-service-for-user/1567/6 "2015-10-08T16:52:56Z")

</div>

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]

---

<div class="post-metadata">

**Author:** ![formerstaff](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/formerstaff/32/1133_2.png) [@formerstaff](https://community.dreamfactory.com/u/formerstaff)\
**Post date:** [October 8, 2015, 5:46pm UTC](https://community.dreamfactory.com/t/v2-beta-installation-error-bitnami-windows-rest-exception-404-could-not-find-a-service-for-user/1567/7 "2015-10-08T17:46:05Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![cmyers](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@cmyers](https://community.dreamfactory.com/u/cmyers)\
**Post date:** [October 8, 2015, 8:57pm UTC](https://community.dreamfactory.com/t/v2-beta-installation-error-bitnami-windows-rest-exception-404-could-not-find-a-service-for-user/1567/8 "2015-10-08T20:57:30Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![formerstaff](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/formerstaff/32/1133_2.png) [@formerstaff](https://community.dreamfactory.com/u/formerstaff)\
**Post date:** [October 13, 2015, 2:41pm UTC](https://community.dreamfactory.com/t/v2-beta-installation-error-bitnami-windows-rest-exception-404-could-not-find-a-service-for-user/1567/9 "2015-10-13T14:41:16Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![formerstaff](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/formerstaff/32/1133_2.png) [@formerstaff](https://community.dreamfactory.com/u/formerstaff)\
**Post date:** [October 14, 2015, 1:08pm UTC](https://community.dreamfactory.com/t/v2-beta-installation-error-bitnami-windows-rest-exception-404-could-not-find-a-service-for-user/1567/10 "2015-10-14T13:08:12Z")

</div>

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