Skip to content

OCC Failure during first script run #2793

@Grischa92

Description

@Grischa92

Steps To Reproduce

  1. Install Ubuntu 24.04.03 VM onto proxmox and run Updates and Upgrades. Second Hard Disk is also attached and ready for format.
  2. Run first script: after the download of Nextcloud from Github Repository the script tries to run the install of nextcloud with "occ". It failes because occ is not known. When iam looking into the nextcloud folder under /var/www/nextcloud, there are the empty folders data and update.

Tried the script with different users and passwords. Also with root.

Expected Result

Nextcloud is downloaded and extracted to /var/www/nextcloud and occ is present and ready to used for the installation.

Actual Result

Nextcloud folder is empty and no occ ready for installation. Script aborts during second try and figures that its not a clean system:

Shell Output
Installing Nextcloud, it might take a while...
Could not open input file: /var/www/nextcloud/occ
Sorry but something went wrong. Please report this issue to https://github.com/nextcloud/vm/issues and include the output of the error message. Thank you!
sudo -u www-data php /var/www/nextcloud/occ maintenance:install --data-dir=/mnt/ncdata --database=pgsql --database-name=nextcloud_db --database-user=nextcloud_db_user --database-pass=y58sljjiEqx5#YRN5l --admin-user=ncadmin --admin-pass=nextcloud failed
Could not open input file: /var/www/nextcloud/occ
Could not open input file: /var/www/nextcloud/occ
Checking connection to https://download.nextcloud.com/server/releases...
Home/SME Server not detected. No worries, just testing the function.
postgresql is installed, it must be a clean server.

Screenshots, Videos, or Pastebins

Additional Context

No response

Build Version

32

Environment

By using the scripts

Environment Details

  • Ubuntu 24.04.03 VM

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions