Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing nextcloud #2625

Closed
mramazanov opened this issue Apr 27, 2024 · 4 comments
Closed

Error installing nextcloud #2625

mramazanov opened this issue Apr 27, 2024 · 4 comments
Labels

Comments

@mramazanov
Copy link

Steps To Reproduce

Installing Nextcloud, it might take a while...
Console has to be executed with the user that owns the data directory
Current user id: 33
Owner id of the data directory: 0
Try adding 'sudo -u #0' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 0' to the docker command (without the single quotes)
{"reqId":"UuzrH2zgvxfBcdyWzmWF","level":3,"time":"2024-04-27T17:53:18+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"fopen(/var/www/nextcloud/config/config.php): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Config.php#225","userAgent":"--","version":"","data":{"app":"PHP"}}
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=XQuSRtmIE0FM4L8FNIMpwqMP74 --admin-user=ncadmin --admin-pass=nextcloud failed

Expected Result

Actual Result

Screenshots, Videos, or Pastebins

No response

Additional Context

No response

Build Version

29

Environment

By using the scripts

Environment Details

No response

@mramazanov mramazanov added the bug label Apr 27, 2024
@xKEVKx
Copy link

xKEVKx commented Apr 27, 2024

I ran into the same issue and reported it here: #2624

I also tried the previous version of the install script and ran into the same issue.

-Kevin

@mramazanov
Copy link
Author

I ran into the same issue and reported it here: #2624

I also tried the previous version of the install script and ran into the same issue.

-Kevin

Thank you, let's hope and wait))

@enoch85
Copy link
Member

enoch85 commented May 7, 2024

Hi guys, just released a new OS version, so now it works on Ubuntu 24.04!

Added the --not-latest flag per default, and will have a closer look at the real issue.

Please test the latest script!

@enoch85
Copy link
Member

enoch85 commented May 7, 2024

Just tested, working in current state!

@enoch85 enoch85 closed this as completed May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants