Nextcloud installation

compiz
Posts: 33
Joined: Fri May 28, 2021 12:29 pm

Hello everyone!

I am trying to install nextcloud and no matter what Web template PHP or nginx proxy i chose, I can't get it up and running!
Best I went was to run the install script, never finished of course and had to delete the database.
Does anyone have luck with myvesta and nextcloud?

Thanks in advance
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

Please screenshot the screen from browser, and copy here last few lines of error.log of that domain.
compiz
Posts: 33
Joined: Fri May 28, 2021 12:29 pm

https://www.screencast.com/t/5ePfD2dh
On the site what I see

and wait a bit for the log, i uploaded it as root and need to change owner
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

ok, well, php error log is what we need here...
compiz
Posts: 33
Joined: Fri May 28, 2021 12:29 pm

dpeca wrote: Wed Jun 09, 2021 10:13 am ok, well, php error log is what we need here...
Sorry for the delay

2021/06/09 21:58:17 [error] 19614#19614: *3 openat() "/home/admin/web/site/public_html/index.php/css/core/9df6-5d62-server.css" failed (20: Not a directory), client: xx.xx.xx.xx, server: site, request: "GET /index.php/css/core/9df6-5d62-server.css?v=b92d206521717ac032f8aa58d3c7ff2f-973c0a4f-0 HTTP/1.1", host: "site"
2021/06/09 21:58:17 [error] 19614#19614: *6 openat() "/home/admin/web/site/public_html/index.php/css/core/9df6-5d62-css-variables.css" failed (20: Not a directory), client: xx.xx.xx.xx, server: site, request: "GET /index.php/css/core/9df6-5d62-css-variables.css?v=b92d206521717ac032f8aa58d3c7ff2f-973c0a4f-0 HTTP/1.1", host: "site"
2021/06/09 21:58:17 [error] 19615#19615: *7 openat() "/home/admin/web/site/public_html/index.php/css/notifications/0d6f-5d62-styles.css" failed (20: Not a directory), client: xx.xx.xx.xx, server: site, request: "GET /index.php/css/notifications/0d6f-5d62-styles.css?v=b92d206521717ac032f8aa58d3c7ff2f-973c0a4f-0 HTTP/1.1", host: "site"
2021/06/09 21:58:17 [error] 19614#19614: *8 openat() "/home/admin/web/site/public_html/index.php/css/dashboard/c108-5d62-dashboard.css" failed (20: Not a directory), client: xx.xx.xx.xx, server: site, request: "GET /index.php/css/dashboard/c108-5d62-dashboard.css?v=b92d206521717ac032f8aa58d3c7ff2f-973c0a4f-0 HTTP/1.1", host: "site"
2021/06/09 21:58:17 [error] 19614#19614: *9 openat() "/home/admin/web/site/public_html/index.php/css/activity/ce96-5d62-style.css" failed (20: Not a directory), client: xx.xx.xx.xx, server: site, request: "GET /index.php/css/activity/ce96-5d62-style.css?v=b92d206521717ac032f8aa58d3c7ff2f-973c0a4f-0 HTTP/1.1", host: "site"
2021/06/09 21:58:17 [error] 19615#19615: *10 openat() "/home/admin/web/site/public_html/index.php/css/text/070a-5d62-icons.css" failed (20: Not a directory), client: xx.xx.xx.xx, server: site, request: "GET /index.php/css/text/070a-5d62-icons.css?v=b92d206521717ac032f8aa58d3c7ff2f-973c0a4f-0 HTTP/1.1", host: "site"
2021/06/09 21:58:17 [error] 19614#19614: *3 openat() "/home/admin/web/site/public_html/index.php/css/user_status/872c-5d62-user-status-menu.css" failed (20: Not a directory), client: xx.xx.xx.xx, server: site, request: "GET /index.php/css/user_status/872c-5d62-user-status-menu.css?v=b92d206521717ac032f8aa58d3c7ff2f-973c0a4f-0 HTTP/1.1", host: "site"
2021/06/09 21:58:17 [error] 19614#19614: *9 openat() "/home/admin/web/site/public_html/index.php/css/icons/icons-vars.css" failed (20: Not a directory), client: xx.xx.xx.xx, server: site, request: "GET /index.php/css/icons/icons-vars.css?v=1623265006 HTTP/1.1", host: "site"
2021/06/09 21:58:17 [error] 19615#19615: *7 openat() "/home/admin/web/site/public_html/index.php/core/js/oc.js" failed (20: Not a directory), client: xx.xx.xx.xx, server: site, request: "GET /index.php/core/js/oc.js?v=973c0a4f HTTP/1.1", host: "site"
2021/06/09 21:58:17 [error] 19614#19614: *6 openat() "/home/admin/web/site/public_html/index.php/js/core/merged-template-prepend.js" failed (20: Not a directory), client: xx.xx.xx.xx, server: site, request: "GET /index.php/js/core/merged-template-prepend.js?v=973c0a4f-0 HTTP/1.1", host: "site"
2021/06/09 21:58:17 [error] 19614#19614: *8 openat() "/home/admin/web/site/public_html/index.php/js/activity/activity-sidebar.js" failed (20: Not a directory), client: xx.xx.xx.xx, server: site, request: "GET /index.php/js/activity/activity-sidebar.js?v=973c0a4f-0 HTTP/1.1", host: "site"
2021/06/09 21:58:18 [error] 19614#19614: *8 openat() "/home/admin/web/site/public_html/index.php/apps/dashboard/undefined/img/notifications-new.svg" failed (20: Not a directory), client: xx.xx.xx.xx, server: site, request: "GET /index.php/apps/dashboard/undefined/img/notifications-new.svg HTTP/1.1", host: "site"
2021/06/09 21:58:18 [error] 19615#19615: *7 openat() "/home/admin/web/site/public_html/index.php/apps/dashboard/undefined/js/firstrunwizard-main.js" failed (20: Not a directory), client: xx.xx.xx.xx, server: site, request: "GET /index.php/apps/dashboard/undefined/js/firstrunwizard-main.js HTTP/1.1", host: "site"
2021/06/09 21:58:18 [error] 19614#19614: *3 openat() "/home/admin/web/site/public_html/index.php/apps/dashboard/undefined/img/notifications-new.svg" failed (20: Not a directory), client: xx.xx.xx.xx, server: site, request: "GET /index.php/apps/dashboard/undefined/img/notifications-new.svg HTTP/1.1", host: "site"
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

but here is nothing related to PHP error :(
if the server is online, you can send me credentials to private message, i will take a look

... or try to find PHP related error in error log
didyouexpectthat
Posts: 1
Joined: Thu Jan 07, 2021 9:09 am

Not sure if normal but your index.php is not normally where you have all your files. GET /apps/dashboard/undefined/img/notifications-new.svg, for example, instead of GET /index.php/apps/dashboard/undefined/img/notifications-new.svg. I think in your Nextcloud config, you might have added index.php erroneously.
compiz
Posts: 33
Joined: Fri May 28, 2021 12:29 pm

Guys it is really simple.
I've tried all possible combinations and failed.
Debian 10, myvestacp full updated, apache2 + nginx with php 8 and 7.4 and 7.3 and 7.2.
Whoever managed to run nextcloud please post what settings you've used!
if not, lock the topic and thank you for your time :)
lgreen
Posts: 6
Joined: Thu Jan 13, 2022 5:44 am

compiz wrote: Tue Jul 13, 2021 9:45 pm Guys it is really simple.
I've tried all possible combinations and failed.
Debian 10, myvestacp full updated, apache2 + nginx with php 8 and 7.4 and 7.3 and 7.2.
Whoever managed to run nextcloud please post what settings you've used!
if not, lock the topic and thank you for your time :)
I'm not an expert about MySQL, but this can resolve my problem.

Set my.cnf

Code: Select all

sort_buffer_size = 256M # or higher.
To prevent error 2006, you can increase theses values.

Code: Select all

wait_timeout=360
max_allowed_packet = 100M # or whatever you need.
I'm using Mariadb, so I just go to Server menu, Mariadb, Configure (Advanced Options).
If you found 404 for some files, I remove js, css, svg from "location /" list.
/home/user/conf/mydomain.tld.nginx.ssl.conf
I hope it can help.

Edit: Typo
Last edited by lgreen on Thu Mar 17, 2022 8:34 am, edited 2 times in total.
compiz
Posts: 33
Joined: Fri May 28, 2021 12:29 pm

Well, no matter what I am doing I can't get it up and running!
The server now is Debian 11, 4GB ram, 80gb nvme storage with apache2 and nginx as cache engine, php 7.4 & php 8.0 & php 8.1.
No matter what combo I have tried, the end result is always the same.
"
Internal Server Error

The server was unable to complete your request.

If this happens again, please send the technical details below to the server administrator.

More details can be found in the server log.
Technical details

Remote Address: xx.xx.xx.xx
Request ID: d3NKs4fLDsjcTFVi5XxR"

I have even followed the instructions here "https://forum.vestacp.com/viewtopic.php?t=18206"

Heck i've even rented a new instance to try that as well in a fresh installed myvesta and I am getting the same outcome
Post Reply