Ubuntu Focal 20.04 64 bits

Logs

====== Attempt #1

-----> Fetching repository

Cloning into '/tmp/d20240806-7-1urvu7i/input'...

Updating files: 31% (5292/16730) Updating files: 32% (5354/16730) Updating files: 33% (5521/16730) Updating files: 34% (5689/16730) Updating files: 35% (5856/16730) Updating files: 36% (6023/16730) Updating files: 37% (6191/16730) Updating files: 38% (6358/16730) Updating files: 39% (6525/16730) Updating files: 40% (6692/16730) Updating files: 41% (6860/16730) Updating files: 42% (7027/16730) Updating files: 43% (7194/16730) Updating files: 44% (7362/16730) Updating files: 45% (7529/16730) Updating files: 46% (7696/16730) Updating files: 47% (7864/16730) Updating files: 48% (8031/16730) Updating files: 49% (8198/16730) Updating files: 50% (8365/16730) Updating files: 51% (8533/16730) Updating files: 52% (8700/16730) Updating files: 53% (8867/16730) Updating files: 54% (9035/16730) Updating files: 55% (9202/16730) Updating files: 56% (9369/16730) Updating files: 57% (9537/16730) Updating files: 58% (9704/16730) Updating files: 59% (9871/16730) Updating files: 60% (10038/16730) Updating files: 61% (10206/16730) Updating files: 62% (10373/16730) Updating files: 63% (10540/16730) Updating files: 64% (10708/16730) Updating files: 65% (10875/16730) Updating files: 66% (11042/16730) Updating files: 67% (11210/16730) Updating files: 68% (11377/16730) Updating files: 69% (11544/16730) Updating files: 70% (11711/16730) Updating files: 71% (11879/16730) Updating files: 72% (12046/16730) Updating files: 73% (12213/16730) Updating files: 74% (12381/16730) Updating files: 75% (12548/16730) Updating files: 76% (12715/16730) Updating files: 77% (12883/16730) Updating files: 78% (13050/16730) Updating files: 79% (13217/16730) Updating files: 80% (13384/16730) Updating files: 81% (13552/16730) Updating files: 82% (13719/16730) Updating files: 83% (13886/16730) Updating files: 84% (14054/16730) Updating files: 85% (14221/16730) Updating files: 86% (14388/16730) Updating files: 87% (14556/16730) Updating files: 88% (14723/16730) Updating files: 89% (14890/16730) Updating files: 90% (15057/16730) Updating files: 91% (15225/16730) Updating files: 92% (15392/16730) Updating files: 93% (15559/16730) Updating files: 94% (15727/16730) Updating files: 95% (15894/16730) Updating files: 96% (16061/16730) Updating files: 97% (16229/16730) Updating files: 98% (16396/16730) Updating files: 99% (16563/16730) Updating files: 100% (16730/16730) Updating files: 100% (16730/16730), done.

-----> Setting up package repository...

-----> Starting packaging process

-----> Starting service postgres...

-----> Additional environment variables

UUID=144.76.242.2:22/ef6917c2-fc56-44d8-b057-ef70214bc41b

DATABASE_URL=postgres://postgres:0dzn4hAl06D2DFW-@144.76.242.2:58742/postgres

DATABASE_HOST=144.76.242.2

DATABASE_PORT=58742

HOME=/home/pkgr

-----> Found valid cache

-----> Restoring cache...

-----> Fetching pkgr 3b2edf13701ea986a63dce1d39786ab53bc8e644...

-----> Starting packaging process...

-----> [wizard] adding legacy-installer wizard (https://github.com/pkgr/addon-legacy-installer#master)

-----> [wizard] adding openproject-edition wizard (/tmp/d20240806-60-5rhlid/opt/openproject/packaging/addons/openproject-edition#)

-----> [wizard] adding postgres wizard (https://github.com/pkgr/addon-postgres#master)

-----> [wizard] adding apache2 wizard (https://github.com/pkgr/addon-apache2#set-host-header)

-----> [wizard] adding repositories wizard (/tmp/d20240806-60-5rhlid/opt/openproject/packaging/addons/repositories#)

-----> [wizard] adding memcached wizard (https://github.com/pkgr/addon-memcached#master)

-----> [wizard] adding openproject wizard (/tmp/d20240806-60-5rhlid/opt/openproject/packaging/addons/openproject#)

-----> Fetching buildpack https://github.com/opf/heroku-buildpack-multi.git at master

-----> Running hook: "packaging/setup"

-----> Multipack app

=====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-nodejs.git

=====> Detected Framework: Node.js

-----> Creating runtime environment

NPM_CONFIG_PRODUCTION=false

NPM_CONFIG_LOGLEVEL=error

NODE_VERBOSE=false

NODE_ENV=production

NODE_MODULES_CACHE=true

-----> Installing binaries

engines.node (package.json): ^20.9.0

engines.npm (package.json): ^10.1.0

Resolving node version ^20.9.0...

Downloading and installing node 20.16.0...

Bootstrapping npm ^10.1.0 (replacing 10.8.1)...

npm 10.8.2 installed

-----> Restoring cache

- node_modules

-----> Installing dependencies

Installing node modules (package.json)

> openproject@0.1.0 postinstall

> cd frontend && npm install

added 1789 packages, and audited 1790 packages in 16s

241 packages are looking for funding

run `npm fund` for details

14 vulnerabilities (2 moderate, 12 high)

To address issues that do not require attention, run:

npm audit fix

To address all issues (including breaking changes), run:

npm audit fix --force

Run `npm audit` for details.

up to date, audited 90 packages in 17s

11 packages are looking for funding

run `npm fund` for details

found 0 vulnerabilities

-----> Build

-----> Caching build

- node_modules

-----> Pruning devDependencies

Skipping because NPM_CONFIG_PRODUCTION is 'false'

-----> Build succeeded!

=====> Downloading Buildpack: https://github.com/pkgr/heroku-buildpack-ruby.git

=====> Detected Framework: Ruby

-----> Installing bundler 2.3.25

-----> Removing BUNDLED WITH version in the Gemfile.lock

-----> Compiling Ruby/Rails

-----> Using Ruby version: ruby-3.3.4

cp: '/my/cache/vendor/bundle/.' and '/my/cache/vendor/bundle/.' are the same file

-----> Installing dependencies using bundler 2.3.25

Running: BUNDLE_WITHOUT='development:test' BUNDLE_PATH=vendor/bundle BUNDLE_BIN=vendor/bundle/bin BUNDLE_DEPLOYMENT=1 bundle install -j4

Bundle complete! 205 Gemfile dependencies, 296 gems now installed.

Gems in the groups 'development' and 'test' were not installed.

Bundled gems are installed into `./vendor/bundle`

2 installed gems you directly depend on are looking for funding.

Run `bundle fund` for details

Bundle completed (0.37s)

Cleaning up the bundler cache.

Removing bundler (2.3.25)

-----> Detecting rake tasks

-----> Preparing app for Rails asset pipeline

Running: rake assets:precompile

npm run build

I, [2024-08-06T15:12:19.217855 #2056] INFO -- : Increasing database pool size to 17 to match max threads

E, [2024-08-06T15:12:22.346718 #2056] ERROR -- : uninitialized constant WorkPackages::SplitViewComponentPreview

Exporting I18n.js locales

=> Done in 6.49s

Linking frontend plugins

Cleaning linked target directory /tmp/d20240806-60-5rhlid/opt/openproject/frontend/src/app/features/plugins/linked

Linking frontend of OpenProject plugin budgets to /tmp/d20240806-60-5rhlid/opt/openproject/frontend/src/app/features/plugins/linked/budgets.

Linking frontend of OpenProject plugin costs to /tmp/d20240806-60-5rhlid/opt/openproject/frontend/src/app/features/plugins/linked/costs.

Linking frontend of OpenProject plugin openproject-avatars to /tmp/d20240806-60-5rhlid/opt/openproject/frontend/src/app/features/plugins/linked/openproject-avatars.

Linking frontend of OpenProject plugin openproject-documents to /tmp/d20240806-60-5rhlid/opt/openproject/frontend/src/app/features/plugins/linked/openproject-documents.

Linking frontend of OpenProject plugin openproject-github_integration to /tmp/d20240806-60-5rhlid/opt/openproject/frontend/src/app/features/plugins/linked/openproject-github_integration.

Linking frontend of OpenProject plugin openproject-gitlab_integration to /tmp/d20240806-60-5rhlid/opt/openproject/frontend/src/app/features/plugins/linked/openproject-gitlab_integration.

Linking frontend of OpenProject plugin openproject-meeting to /tmp/d20240806-60-5rhlid/opt/openproject/frontend/src/app/features/plugins/linked/openproject-meeting.

Regenerating frontend plugin registry /tmp/d20240806-60-5rhlid/opt/openproject/frontend/src/app/features/plugins/linked-plugins.module.ts.

Regenerating frontend plugin sass /tmp/d20240806-60-5rhlid/opt/openproject/frontend/src/app/features/plugins/linked-plugins.styles.sass.

Building angular frontend

npm warn config production Use `--omit=dev` instead.

> openproject-frontend@0.1.0 build

> node --max_old_space_size=4096 ./node_modules/@angular/cli/bin/ng build --configuration production --named-chunks --source-map

- Generating browser application bundles (phase: setup)...

TypeScript compiler options "target" and "useDefineForClassFields" are set to "ES2022" and "false" respectively by the Angular CLI. To control ECMA version and features use the Browserslist configuration. For more information, see https://angular.io/guide/build#configuring-browser-compatibility

NOTE: You can set the "target" to "ES2022" in the project's tsconfig to remove this warning.

Components styles sourcemaps are not generated when styles optimization is enabled.

{

main: [ '/tmp/d20240806-60-5rhlid/opt/openproject/frontend/src/main.ts' ],

polyfills: [

'/tmp/d20240806-60-5rhlid/opt/openproject/frontend/src/polyfills.ts'

]

}

Killed

rake aborted!

Failed to compile angular frontend: 137

/tmp/d20240806-60-5rhlid/opt/openproject/lib/tasks/assets.rake:75:in `block (4 levels) in <top (required)>'

/tmp/d20240806-60-5rhlid/opt/openproject/lib/tasks/assets.rake:74:in `block (3 levels) in <top (required)>'

/tmp/d20240806-60-5rhlid/opt/openproject/lib/tasks/assets.rake:64:in `chdir'

/tmp/d20240806-60-5rhlid/opt/openproject/lib/tasks/assets.rake:64:in `block (2 levels) in <top (required)>'

Tasks: TOP => assets:precompile => assets:compile_environment => assets:prepare_op => assets:angular

(See full trace by running task with --trace)



!

! Precompiling assets failed.

!

! ERROR: compile failed

Failed to package application

tar: This does not look like a tar archive

tar: Exiting with failure status due to previous errors

! FAILED - Build error.

! Please contact support.