Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

im trying to deploy a simple php cms app with vuejs as the frontend layer. The Build log runs fine and everythings installs accordingly nevertheless i got the status 404.
ive tried everything from changed my .htacces to reordering the whole app.
what i did incouter is when the app is not located in a subfolder the app deploy and i can access the website, so i think its more of a problem of the plattform digital ocean bc the server tell me that.
244.13.39:33428] AH01276: Cannot serve directory /workspace/: No matching DirectoryIndex (index.php,index.html,index.htm) found, and server-generated directory index forbidden by Options directive [shadev] [2022-05-09 17:54:49] [Mon May 09 17:54:49.185727 2022] [autoindex:error] [pid 202:tid 139807671977728] [client 10.244.13.39:33428] AH01276:
Ive reached out to the customer support which where very fast with replying but was only able to provide me with stackoverflow links that i allready have found.
This is my build log:
[shadev] [2022-05-09 18:22:23] => Initializing build
[shadev] [2022-05-09 18:22:23] => Retrieving source code to /workspace
[shadev] [2022-05-09 18:22:23] => Selecting branch "main"
[shadev] [2022-05-09 18:22:30] => Checking out commit "093694d10d6fdc8f6580b0f8bac31a222864471e"
[shadev] [2022-05-09 18:22:32] => Got source_dir: /
[shadev] [2022-05-09 18:22:32] => Using workspace root /workspace
[shadev] [2022-05-09 18:22:32]
[shadev] [2022-05-09 18:22:32] => Building app using buildpacks
[shadev] [2022-05-09 18:22:32] => Configuring custom build command to be run at the end of the build:
[shadev] [2022-05-09 18:22:32] composer install --no-interaction --prefer-dist --optimize-autoloader --no-dev
[shadev] [2022-05-09 18:22:32]
[shadev] [2022-05-09 18:22:32] {RELOAD_PHP_FPM}
[shadev] [2022-05-09 18:22:32]
[shadev] [2022-05-09 18:22:32] npx pnpm i && npx pnpm run build
[shadev] [2022-05-09 18:22:32] => Running buildpack detection
[shadev] [2022-05-09 18:22:32]
[shadev] [2022-05-09 18:22:33] heroku/nodejs-engine 0.5.1
[shadev] [2022-05-09 18:22:33] digitalocean/node 0.3.4
[shadev] [2022-05-09 18:22:33] digitalocean/php-appdetect 0.0.3
[shadev] [2022-05-09 18:22:33] heroku/php 0.210.4
[shadev] [2022-05-09 18:22:33] digitalocean/procfile 0.0.3
[shadev] [2022-05-09 18:22:33] digitalocean/custom 0.1.0
[shadev] [2022-05-09 18:22:33]
[shadev] [2022-05-09 18:22:33] For documentation on the buildpacks used to build your app, please see:
[shadev] [2022-05-09 18:22:33] Node.js: https://do.co/apps-buildpack-node
[shadev] [2022-05-09 18:22:33] PHP: https://do.co/apps-buildpack-php
[shadev] [2022-05-09 18:22:33]
[shadev] [2022-05-09 18:22:33] => Checking for cache from a previous build
[shadev] [2022-05-09 18:22:36] Layer cache not found
[shadev] [2022-05-09 18:22:37] Restoring metadata for "heroku/nodejs-engine:nodejs" from app image
[shadev] [2022-05-09 18:22:38] Layer cache not found
[shadev] [2022-05-09 18:22:39] Removing "heroku/nodejs-engine:nodejs", not in cache
[shadev] [2022-05-09 18:22:39]
[shadev] [2022-05-09 18:22:39] => Building app
[shadev] [2022-05-09 18:22:39]
[shadev] [2022-05-09 18:22:39] ---> Node.js Buildpack
[shadev] [2022-05-09 18:22:39] ---> Installing toolbox
[shadev] [2022-05-09 18:22:39] ---> - jq
[shadev] [2022-05-09 18:22:40] ---> - yj
[shadev] [2022-05-09 18:22:40] ---> Getting Node version
[shadev] [2022-05-09 18:22:40] ---> Resolving Node version
[shadev] [2022-05-09 18:22:41] ---> Downloading and extracting Node v16.15.0
[shadev] [2022-05-09 18:22:56] ---> Parsing package.json
[shadev] [2022-05-09 18:22:57] ---> No file to start server
[shadev] [2022-05-09 18:22:57] ---> either use 'docker run' to start container or add index.js or server.js
[shadev] [2022-05-09 18:22:57] Project contains package-lock.json, using npm
[shadev] [2022-05-09 18:22:57] Using npm v8.5.5. To configure a different version of npm, set the engines.npm property in package.json.
[shadev] [2022-05-09 18:22:57] See https://do.co/apps-buildpack-node for further instructions.
[shadev] [2022-05-09 18:22:57] Installing node_modules using npm (from package-lock.json)
[shadev] [2022-05-09 18:22:58] Running npm ci
[shadev] [2022-05-09 18:22:58]
[shadev] [2022-05-09 18:23:13]
[shadev] [2022-05-09 18:23:13] added 203 packages, and audited 204 packages in 15s
[shadev] [2022-05-09 18:23:13]
[shadev] [2022-05-09 18:23:13] 30 packages are looking for funding
[shadev] [2022-05-09 18:23:13] run `npm fund` for details
[shadev] [2022-05-09 18:23:13]
[shadev] [2022-05-09 18:23:13] found 0 vulnerabilities
[shadev] [2022-05-09 18:23:13] npm notice
[shadev] [2022-05-09 18:23:13] npm notice New minor version of npm available! 8.5.5 -> 8.9.0
[shadev] [2022-05-09 18:23:13] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.9.0>
[shadev] [2022-05-09 18:23:13] npm notice Run `npm install -g npm@8.9.0` to update!
[shadev] [2022-05-09 18:23:13] npm notice
[shadev] [2022-05-09 18:23:13]
[shadev] [2022-05-09 18:23:18] -----> Bootstrapping...
[shadev] [2022-05-09 18:23:29] -----> Preparing platform package installation...
[shadev] [2022-05-09 18:23:29] -----> Installing platform packages...
[shadev] [2022-05-09 18:23:42] - php (8.1.5)
[shadev] [2022-05-09 18:23:43] - ext-gd (bundled with php)
[shadev] [2022-05-09 18:23:43] - apache (2.4.53)
[shadev] [2022-05-09 18:23:43] - composer (2.3.5)
[shadev] [2022-05-09 18:23:43] - nginx (1.20.2)
[shadev] [2022-05-09 18:23:43] NOTICE: detected userland polyfill packages for PHP extensions
[shadev] [2022-05-09 18:23:43] NOTICE: now attempting to install native extension packages
[shadev] [2022-05-09 18:23:43] Installing extensions provided by symfony/polyfill-mbstring:
- ext-mbstring (bundled with php)ext-mbstring...
[shadev] [2022-05-09 18:23:44] Installing extensions provided by symfony/polyfill-ctype:
- ext-ctype (already enabled) - ext-ctype...
[shadev] [2022-05-09 18:23:47] -----> Installing dependencies...
[shadev] [2022-05-09 18:23:47] Composer version 2.3.5 2022-04-13 16:43:00
[shadev] [2022-05-09 18:23:48] Installing dependencies from lock file
[shadev] [2022-05-09 18:23:48] Verifying lock file contents can be installed on current platform.
[shadev] [2022-05-09 18:23:48] Package operations: 18 installs, 0 updates, 0 removals
[shadev] [2022-05-09 18:23:48] - Downloading getkirby/composer-installer (1.2.1)
[shadev] [2022-05-09 18:23:48] - Downloading league/color-extractor (0.3.2)
[shadev] [2022-05-09 18:23:48] - Downloading claviska/simpleimage (3.6.5)
[shadev] [2022-05-09 18:23:48] - Downloading psr/log (1.1.4)
[shadev] [2022-05-09 18:23:48] - Downloading filp/whoops (2.14.5)
[shadev] [2022-05-09 18:23:48] - Downloading symfony/polyfill-php80 (v1.25.0)
[shadev] [2022-05-09 18:23:48] - Downloading symfony/polyfill-mbstring (v1.24.0)
[shadev] [2022-05-09 18:23:48] - Downloading symfony/polyfill-ctype (v1.25.0)
[shadev] [2022-05-09 18:23:48] - Downloading phpoption/phpoption (1.8.1)
[shadev] [2022-05-09 18:23:48] - Downloading graham-campbell/result-type (v1.0.4)
[shadev] [2022-05-09 18:23:48] - Downloading vlucas/phpdotenv (v5.4.1)
[shadev] [2022-05-09 18:23:48] - Downloading johannschopplich/kirby-extended (2.10.3)
[shadev] [2022-05-09 18:23:48] - Downloading laminas/laminas-escaper (2.9.0)
[shadev] [2022-05-09 18:23:48] - Downloading michelf/php-smartypants (1.8.1)
[shadev] [2022-05-09 18:23:48] - Downloading phpmailer/phpmailer (v6.5.4)
[shadev] [2022-05-09 18:23:48] - Downloading symfony/polyfill-intl-idn (v1.24.0)
[shadev] [2022-05-09 18:23:48] - Downloading getkirby/cms (3.6.3.1)
[shadev] [2022-05-09 18:23:48] - Downloading symfony/polyfill-intl-normalizer (v1.25.0)
[shadev] [2022-05-09 18:23:49] - Installing getkirby/composer-installer (1.2.1): Extracting archive
[shadev] [2022-05-09 18:23:49] - Installing league/color-extractor (0.3.2): Extracting archive
[shadev] [2022-05-09 18:23:49] - Installing claviska/simpleimage (3.6.5): Extracting archive
[shadev] [2022-05-09 18:23:49] - Installing psr/log (1.1.4): Extracting archive
[shadev] [2022-05-09 18:23:49] - Installing filp/whoops (2.14.5): Extracting archive
[shadev] [2022-05-09 18:23:49] - Installing symfony/polyfill-php80 (v1.25.0): Extracting archive
[shadev] [2022-05-09 18:23:49] - Installing symfony/polyfill-mbstring (v1.24.0): Extracting archive
[shadev] [2022-05-09 18:23:49] - Installing symfony/polyfill-ctype (v1.25.0): Extracting archive
[shadev] [2022-05-09 18:23:49] - Installing phpoption/phpoption (1.8.1): Extracting archive
[shadev] [2022-05-09 18:23:49] - Installing graham-campbell/result-type (v1.0.4): Extracting archive
[shadev] [2022-05-09 18:23:49] - Installing vlucas/phpdotenv (v5.4.1): Extracting archive
[shadev] [2022-05-09 18:23:49] - Installing johannschopplich/kirby-extended (2.10.3): Extracting archive
[shadev] [2022-05-09 18:23:49] - Installing laminas/laminas-escaper (2.9.0): Extracting archive
[shadev] [2022-05-09 18:23:49] - Installing michelf/php-smartypants (1.8.1): Extracting archive
[shadev] [2022-05-09 18:23:49] - Installing phpmailer/phpmailer (v6.5.4): Extracting archive
[shadev] [2022-05-09 18:23:49] - Installing symfony/polyfill-intl-idn (v1.24.0): Extracting archive
[shadev] [2022-05-09 18:23:49] - Installing getkirby/cms (3.6.3.1): Extracting archive
[shadev] [2022-05-09 18:23:49] - Installing symfony/polyfill-intl-normalizer (v1.25.0): Extracting archive
[shadev] [2022-05-09 18:23:50] Generating optimized autoload files
[shadev] [2022-05-09 18:23:50] 14 packages you are using are looking for funding.
[shadev] [2022-05-09 18:23:50] Use the `composer fund` command to find out more!
[shadev] [2022-05-09 18:23:52] -----> Preparing runtime environment...
[shadev] [2022-05-09 18:23:52] NOTICE: No Procfile, using 'web: heroku-php-apache2'.
[shadev] [2022-05-09 18:23:52] -----> Checking for additional extensions to install...
[shadev] [2022-05-09 18:23:53] Procfile: configuring type "web" process: "heroku-php-apache2"
[shadev] [2022-05-09 18:23:53] Running custom build command: composer install --no-interaction --prefer-dist --optimize-autoloader --no-dev
[shadev] [2022-05-09 18:23:53]
[shadev] [2022-05-09 18:23:53] {RELOAD_PHP_FPM}
[shadev] [2022-05-09 18:23:53]
[shadev] [2022-05-09 18:23:53] npx pnpm i && npx pnpm run build
[shadev] [2022-05-09 18:23:53] Installing dependencies from lock file
[shadev] [2022-05-09 18:23:53] Verifying lock file contents can be installed on current platform.
[shadev] [2022-05-09 18:23:53] Nothing to install, update or remove
[shadev] [2022-05-09 18:23:53] Generating optimized autoload files
[shadev] [2022-05-09 18:23:54] 14 packages you are using are looking for funding.
[shadev] [2022-05-09 18:23:54] Use the `composer fund` command to find out more!
[shadev] [2022-05-09 18:23:54] bash: line 2: {RELOAD_PHP_FPM}: command not found
[shadev] [2022-05-09 18:23:55] npm WARN exec The following package was not found and will be installed: pnpm
[shadev] [2022-05-09 18:23:57] WARN Moving @types/node that was installed by a different package manager to "node_modules/.ignored
[shadev] [2022-05-09 18:23:57] WARN Moving @vitejs/plugin-vue that was installed by a different package manager to "node_modules/.ignored
[shadev] [2022-05-09 18:23:57] WARN Moving concurrently that was installed by a different package manager to "node_modules/.ignored
[shadev] [2022-05-09 18:23:57] WARN Moving consola that was installed by a different package manager to "node_modules/.ignored
[shadev] [2022-05-09 18:23:57] WARN Moving dotenv that was installed by a different package manager to "node_modules/.ignored
[shadev] [2022-05-09 18:23:57] WARN Moving env-cmd that was installed by a different package manager to "node_modules/.ignored
[shadev] [2022-05-09 18:23:57] WARN Moving eslint that was installed by a different package manager to "node_modules/.ignored
[shadev] [2022-05-09 18:23:57] WARN Moving eslint-config-prettier that was installed by a different package manager to "node_modules/.ignored
[shadev] [2022-05-09 18:23:57] WARN Moving eslint-plugin-vue that was installed by a different package manager to "node_modules/.ignored
[shadev] [2022-05-09 18:23:57] WARN Moving nanoid that was installed by a different package manager to "node_modules/.ignored
[shadev] [2022-05-09 18:23:57] WARN Moving prettier that was installed by a different package manager to "node_modules/.ignored
[shadev] [2022-05-09 18:23:57] WARN Moving sass that was installed by a different package manager to "node_modules/.ignored
[shadev] [2022-05-09 18:23:57] WARN Moving shx that was installed by a different package manager to "node_modules/.ignored
[shadev] [2022-05-09 18:23:57] WARN Moving unplugin-vue-components that was installed by a different package manager to "node_modules/.ignored
[shadev] [2022-05-09 18:23:57] WARN Moving vite that was installed by a different package manager to "node_modules/.ignored
[shadev] [2022-05-09 18:23:57] WARN Moving change-case that was installed by a different package manager to "node_modules/.ignored
[shadev] [2022-05-09 18:23:57] WARN Moving vue that was installed by a different package manager to "node_modules/.ignored
[shadev] [2022-05-09 18:23:57] WARN Moving vue-router that was installed by a different package manager to "node_modules/.ignored
[shadev] [2022-05-09 18:23:57] Progress: resolved 1, reused 0, downloaded 0, added 0
[shadev] [2022-05-09 18:23:58] Progress: resolved 28, reused 0, downloaded 8, added 0
[shadev] [2022-05-09 18:23:59] Progress: resolved 53, reused 0, downloaded 30, added 0
[shadev] [2022-05-09 18:24:00] Progress: resolved 79, reused 0, downloaded 59, added 0
[shadev] [2022-05-09 18:24:01] Progress: resolved 100, reused 0, downloaded 76, added 0
[shadev] [2022-05-09 18:24:02] Progress: resolved 142, reused 0, downloaded 96, added 0
[shadev] [2022-05-09 18:24:03] Progress: resolved 180, reused 0, downloaded 137, added 0
[shadev] [2022-05-09 18:24:04] Progress: resolved 225, reused 0, downloaded 175, added 0
[shadev] [2022-05-09 18:24:04] Packages: +209
[shadev] [2022-05-09 18:24:04] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[shadev] [2022-05-09 18:24:05] Packages are hard linked from the content-addressable store to the virtual store.
[shadev] [2022-05-09 18:24:05] Content-addressable store is at: /home/apps/.local/share/pnpm/store/v3
[shadev] [2022-05-09 18:24:05] Virtual store is at: node_modules/.pnpm
[shadev] [2022-05-09 18:24:05] Progress: resolved 229, reused 0, downloaded 203, added 43
[shadev] [2022-05-09 18:24:06] Progress: resolved 229, reused 0, downloaded 205, added 205
[shadev] [2022-05-09 18:24:07] Progress: resolved 229, reused 0, downloaded 206, added 206
[shadev] [2022-05-09 18:24:08] .../esbuild@0.14.38/node_modules/esbuild postinstall$ node install.js
[shadev] [2022-05-09 18:24:08] .../esbuild@0.14.38/node_modules/esbuild postinstall: Done
[shadev] [2022-05-09 18:24:08] Progress: resolved 229, reused 0, downloaded 209, added 209, done
[shadev] [2022-05-09 18:24:09]
[shadev] [2022-05-09 18:24:09] dependencies:
[shadev] [2022-05-09 18:24:09] + change-case 4.1.2
[shadev] [2022-05-09 18:24:09] + vue 3.2.33
[shadev] [2022-05-09 18:24:09] + vue-router 4.0.15
[shadev] [2022-05-09 18:24:09]
[shadev] [2022-05-09 18:24:09] devDependencies:
[shadev] [2022-05-09 18:24:09] + @types/node 17.0.31
[shadev] [2022-05-09 18:24:09] + @vitejs/plugin-vue 2.3.2
[shadev] [2022-05-09 18:24:09] + concurrently 7.1.0
[shadev] [2022-05-09 18:24:09] + consola 2.15.3
[shadev] [2022-05-09 18:24:09] + dotenv 16.0.0
[shadev] [2022-05-09 18:24:09] + env-cmd 10.1.0
[shadev] [2022-05-09 18:24:09] + eslint 8.15.0
[shadev] [2022-05-09 18:24:09] + eslint-config-prettier 8.5.0
[shadev] [2022-05-09 18:24:09] + eslint-plugin-vue 8.7.1
[shadev] [2022-05-09 18:24:09] + nanoid 3.3.4
[shadev] [2022-05-09 18:24:09] + prettier 2.6.1 (2.6.2 is available)
[shadev] [2022-05-09 18:24:09] + sass 1.51.0
[shadev] [2022-05-09 18:24:09] + shx 0.3.4
[shadev] [2022-05-09 18:24:09] + unplugin-vue-components 0.18.5 (0.19.5 is available)
[shadev] [2022-05-09 18:24:09] + vite 2.9.8
[shadev] [2022-05-09 18:24:09]
[shadev] [2022-05-09 18:24:12]
[shadev] [2022-05-09 18:24:12] > shadev@1.0.0 build /workspace
[shadev] [2022-05-09 18:24:12] > shx rm -f src/.lock && vite build && node scripts/buildServiceWorker.mjs
[shadev] [2022-05-09 18:24:12]
[shadev] [2022-05-09 18:24:13] vite v2.9.8 building for production...
[shadev] [2022-05-09 18:24:13] transforming...
[shadev] [2022-05-09 18:24:15] ✓ 74 modules transformed.
[shadev] [2022-05-09 18:24:15] rendering chunks...
[shadev] [2022-05-09 18:24:16] ../public/dist/manifest.json 1.84 KiB
[shadev] [2022-05-09 18:24:16] ../public/dist/assets/About.9acf6d9f.js 1.12 KiB / gzip: 0.57 KiB
[shadev] [2022-05-09 18:24:16] ../public/dist/assets/Album.28a702be.js 0.93 KiB / gzip: 0.51 KiB
[shadev] [2022-05-09 18:24:16] ../public/dist/assets/Error.dae11ea5.js 0.47 KiB / gzip: 0.34 KiB
[shadev] [2022-05-09 18:24:16] ../public/dist/assets/Home.2c220dad.js 1.23 KiB / gzip: 0.75 KiB
[shadev] [2022-05-09 18:24:16] ../public/dist/assets/Note.7fcaeb4b.js 0.59 KiB / gzip: 0.38 KiB
[shadev] [2022-05-09 18:24:16] ../public/dist/assets/Notes.6f3a1f03.js 0.69 KiB / gzip: 0.45 KiB
[shadev] [2022-05-09 18:24:16] ../public/dist/assets/Works.020dd7ae.js 0.73 KiB / gzip: 0.47 KiB
[shadev] [2022-05-09 18:24:16] ../public/dist/assets/Album.56346695.css 0.83 KiB / gzip: 0.38 KiB
[shadev] [2022-05-09 18:24:16] ../public/dist/assets/About.4c3c5c15.css 0.21 KiB / gzip: 0.15 KiB
[shadev] [2022-05-09 18:24:16] ../public/dist/assets/Error.e30c41b7.css 0.05 KiB / gzip: 0.07 KiB
[shadev] [2022-05-09 18:24:16] ../public/dist/assets/Home.160fdefc.css 0.97 KiB / gzip: 0.47 KiB
[shadev] [2022-05-09 18:24:16] ../public/dist/assets/main.675fd237.css 3.53 KiB / gzip: 1.21 KiB
[shadev] [2022-05-09 18:24:16] ../public/dist/assets/Works.803aac76.css 0.79 KiB / gzip: 0.41 KiB
[shadev] [2022-05-09 18:24:16] ../public/dist/assets/Notes.6298f7e3.css 0.32 KiB / gzip: 0.21 KiB
[shadev] [2022-05-09 18:24:16] ../public/dist/assets/Note.99cbea75.css 0.50 KiB / gzip: 0.27 KiB
[shadev] [2022-05-09 18:24:16] ../public/dist/assets/main.386f4325.js 85.65 KiB / gzip: 33.57 KiB
[shadev] [2022-05-09 18:24:24]
[shadev] [2022-05-09 18:24:24] => Uploading the built Docker image to the container registry...
[shadev] [2022-05-09 18:24:25] Reusing layers from image <registry-uri-0>
[shadev] [2022-05-09 18:24:29] Reusing layer 'heroku/nodejs-engine:nodejs'
[shadev] [2022-05-09 18:24:29] Adding layer 'heroku/php:profile'
[shadev] [2022-05-09 18:25:05] Adding 2/2 app layer(s)
[shadev] [2022-05-09 18:25:05] Reusing layer 'launcher'
[shadev] [2022-05-09 18:25:05] Reusing layer 'config'
[shadev] [2022-05-09 18:25:05] Adding label 'io.buildpacks.lifecycle.metadata'
[shadev] [2022-05-09 18:25:05] Adding label 'io.buildpacks.build.metadata'
[shadev] [2022-05-09 18:25:05] Adding label 'io.buildpacks.project.metadata'
[shadev] [2022-05-09 18:25:37] *** Images (sha256:b3a708c32f39f1ffea7d3cff5ec0721236df4ef0d6b7e6860e127091860dd888):
[shadev] [2022-05-09 18:25:37] <image-1>
[shadev] [2022-05-09 18:25:37] Layer cache not found
[shadev] [2022-05-09 18:25:37] Adding cache layer 'heroku/nodejs-engine:nodejs'
[shadev] [2022-05-09 18:25:40] Adding cache layer 'heroku/nodejs-engine:toolbox'
[shadev] [2022-05-09 18:25:50] Adding cache layer 'digitalocean/node:node_modules'
[shadev] [2022-05-09 18:25:52] Adding cache layer 'heroku/php:shim'
[shadev] [2022-05-09 18:25:54] => Uploaded the built image to the container registry
[shadev] [2022-05-09 18:25:54] => Build complete
dolphinnn
Vaishnavi Vundyala
016512ea60864da0867e5280f293de
Peter Monadjemi
Prince7hakur
devjk1
fc9acbfbc3124cbf8df28a1c5c5cdb
ab871885551143798f41908c709271
gouskova
Saivion Services
Marin
182d09356ab94d3893ddfaca4f0270