blaine07 Posted March 5, 2020 Share Posted March 5, 2020 Can anyone please tell me which PHP file in nextcloud gets edited for this:WARNING: [pool www] server reached pm.max_children setting (5), consider raising itTo add more “children?Php.local.iniOrWww2.conf? Quote Link to comment
andreidelait Posted March 5, 2020 Share Posted March 5, 2020 (edited) 1 hour ago, blaine07 said: Can anyone please tell me which PHP file in nextcloud gets edited for this: WARNING: [pool www] server reached pm.max_children setting (5), consider raising it To add more “children? Php.local.ini Or Www2.conf? www2.conf Here is what I have configured in that file. Please do your research about each parameter. That way you will set the correct values for you. pm = ondemand pm.max_children = 300 pm.start_servers = 8 pm.min_spare_servers = 8 pm.max_spare_servers = 16 pm.max_requests = 500 Edited March 5, 2020 by andreidelait Quote Link to comment
andreidelait Posted March 5, 2020 Share Posted March 5, 2020 5 hours ago, archedraft said: EDIT #2: As it turns out, it was not an interesting development that i could not access my unRAID ip. It is very well documented that this is by design. Anyway, I decided I would just test out using the local option and it appears to be working just fine. I use local as well and never had a problem. I don't see any reason to use SMB unless you have to mount a share from a different host. Why bother with a different protocol when you already have the files stored on the same machine? Quote Link to comment
blaine07 Posted March 5, 2020 Share Posted March 5, 2020 www2.conf Here is what I have configured in that file. Please do your research about each parameter. That way you will set the correct values for you.pm = ondemandpm.max_children = 300pm.start_servers = 8pm.min_spare_servers = 8pm.max_spare_servers = 16pm.max_requests = 500 That’s in Appdata>Nextcloud>php folder, correct? The one inside nextcloud directory? Quote Link to comment
blaine07 Posted March 6, 2020 Share Posted March 6, 2020 Does everyone have "tmp" share set to use cache disk? Also, is their some way to point Nextcloud to use the "tmp" share on Unraid? I know it would be something like /config/www/???? but what would file structure in Nextcloud look like to use Unraids "tmp" share? I know where all I need to place to url to tmp, just not sure how it would be formatted or structured? Thanks! Quote Link to comment
andreidelait Posted March 6, 2020 Share Posted March 6, 2020 12 hours ago, blaine07 said: That’s in Appdata>Nextcloud>php folder, correct? The one inside nextcloud directory? Yes Quote Link to comment
andreidelait Posted March 6, 2020 Share Posted March 6, 2020 I cannot connect to the onlyoffice server for some reason. When I press Save after I add the URL for it I get this error: Error when trying to connect (Error occurred in the document service: Error while downloading the document file to be converted.) I used spaceinvader tutorial to configure it. Quote Link to comment
TristanP Posted March 6, 2020 Share Posted March 6, 2020 (edited) I've installed the latest docker image and attached it to a mariadb but when I go to apps I do not see the openoffice app. Isn't that installed by default? EDIT:I have two unRAID servers (Both 6.8.2 and have the local mariadb set up for Nextcloud as per SpaceInvader One's video) and I got different installation results after some testing. On machine #1 (GIGABYTE GA-7PESH2 w/2 E5-2630L v2 @ 2.40GHz and 128G Memory) the docker downloads, I put in the mariadb info, I can see some spinning as it works through to the document server, and the the web page throws a timeout. Refreshing the page I can log in with the admin account, but there's no sign of openoffice On machine #2 (ASUSTeK COMPUTER INC. P8Z77-V PRO w/i5-2500K CPU @ 3.30GHz and 16G Memory) the docker downloads, i put in the mariadb info, it spins through all the apps but complains that the Community Document Server and Talk fail to download/install. In this case OpenOffice can be seen. Any ideas why I'm seeing different install issues (Neither are error free) Edited March 6, 2020 by TristanP Quote Link to comment
Abigel Posted March 10, 2020 Share Posted March 10, 2020 What is the diffrence between this container and this one: ? Which one is better? Quote Link to comment
saarg Posted March 10, 2020 Share Posted March 10, 2020 3 hours ago, Abigel said: What is the diffrence between this container and this one: ? Which one is better? This one of course Quote Link to comment
Abigel Posted March 10, 2020 Share Posted March 10, 2020 (edited) I have make an upgrade to version 18.01 but now i can not go to older version and don't install the new version. In the old version i can not access settings, due to i can not activate the settings app, an error that it is not the right version for it. And a upgrade is not possible because of Set log level to debug Updating database schema Doctrine\DBAL\Schema\SchemaException: The table with name 'nextcloud.oc_direct_edit' already exists. Update failed Maintenance mode is kept active Reset log level I moved the existed table but now other tables are note existed or already exists in the engine...how can i fix my database? I have appdata backups but a roll back doesnt help. Edited March 10, 2020 by Abigel Quote Link to comment
andreidelait Posted March 11, 2020 Share Posted March 11, 2020 (edited) Finally I have Onlyoffice working (separate docker version) BUT I don't have the close and share buttons in top right corner. when it should be I can't find any relevant information about this. Did any of you have this problem? Edited March 11, 2020 by andreidelait Quote Link to comment
Tucubanito07 Posted March 11, 2020 Share Posted March 11, 2020 Hey guys. Can someone help figure out why I am getting this error? “failed to open stream: No such file or directory at /config/www/nextcloud/lib/private/Files/Storage/Local.php#302” I have searched online and cannot find anything regarding this. Quote Link to comment
MothyTim Posted March 11, 2020 Share Posted March 11, 2020 On 3/6/2020 at 3:29 AM, blaine07 said: Does everyone have "tmp" share set to use cache disk? Also, is their some way to point Nextcloud to use the "tmp" share on Unraid? I know it would be something like /config/www/???? but what would file structure in Nextcloud look like to use Unraids "tmp" share? I know where all I need to place to url to tmp, just not sure how it would be formatted or structured? Thanks! Hi, did you work this out? Might fix my docker image filling up whenever anyone downloads a file problem! I might reinstall the app if so, as I removed it because it was unusable!! Quote Link to comment
blaine07 Posted March 11, 2020 Share Posted March 11, 2020 Hi, did you work this out? Might fix my docker image filling up whenever anyone downloads a file problem! I might reinstall the app if so, as I removed it because it was unusable!!I got it added to Nextcloud Config and the www2.conf file and was generating a bunch of errors in Nextcloud. Not sure what I did wrong and honestly just didn’t spend much time on it. Theirs a Tmp folder share on Unraid and debated it but haven’t made it back round to it sadly. It may be worth you playing with though!!! Would also like to say I played with pm.max children and changed it to on demand etc and overall performance is much better. Once I was able to get a ~2.5gb file uploaded. I’m wondering at what point docker.img starts to unload stuff on its own, because as you said large upload gets docker.img filling up. Not sure at what point it starts trying to figure out what’s on dumping stuff. Mine doing large upload gets docker img up to ~60%. Quote Link to comment
MothyTim Posted March 11, 2020 Share Posted March 11, 2020 Ok might have another go, but on my system the docker image fills up to 100% and then other containers start crashing!! Which is why I removed it in the end! I even increased the size of my docker image to 30GB! Quote Link to comment
jellevdb Posted March 11, 2020 Share Posted March 11, 2020 504 error when creating user and connecting to database. Database connection is correct since i see tables being created. Any tips? Quote Link to comment
diaamadou Posted March 12, 2020 Share Posted March 12, 2020 please help Internal Server Error The server encountered an internal error and was unable to complete your request. Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report. More details can be found in the webserver log. error log from nextcloud/log/nginx 2020/03/12 01:20:48 [error] 349#349: *7 FastCGI sent in stderr: "PHP message: PHP Warning: include(/config/www/nextcloud/lib/composer/composer/../../../lib/private/AppFramework/Http/Request.php): failed to open stream: No such file or directory in /config/www/nextcloud/lib/composer/composer/ClassLoader.php on line 444PHP message: PHP Warning: include(): Failed opening '/config/www/nextcloud/lib/composer/composer/../../../lib/private/AppFramework/Http/Request.php' for inclusion (include_path='.:/usr/share/php7') in /config/www/nextcloud/lib/composer/composer/ClassLoader.php on line 444" while reading response header from upstream, client: 192.168.2.1, server: _, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "nextcloud.domain.com", referrer: "https://nextcloud.domain.com/apps/files/" 2020/03/12 01:20:48 [error] 349#349: *7 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class 'OC\AppFramework\Http\Request' not found in /config/www/nextcloud/lib/base.php:158 Stack trace: #0 /config/www/nextcloud/lib/base.php(582): OC::initPaths() #1 /config/www/nextcloud/lib/base.php(1089): OC::init() #2 /config/www/nextcloud/index.php(36): require_once('/config/www/nex...') #3 {main} thrown in /config/www/nextcloud/lib/base.php on line 158" while reading upstream, client: 192.168.2.1, server: _, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "nextcloud.domain.com", referrer: "https://nextcloud.domain.com/apps/files/" Quote Link to comment
anongum Posted March 12, 2020 Share Posted March 12, 2020 So I setup nextcloud, let's encrypt and mariadb and I can access it remotely, but there are a few problems that seem to be common to many user: 1. The upload speed is capped in both local and remote upload, to 10mb/s. 2. When uploading large files (like a 16gb video file) the upload fails and the webgui becomes buggy or times out, and the docker.img becomes bloated (for this reason I set the docker image to be 200gb) 3. When downloading large files (test on a 4gb file) remotely from a stable connection it fails midway through. What are settings that I can modify to make nextcloud actually usable for large files? Quote Link to comment
MothyTim Posted March 12, 2020 Share Posted March 12, 2020 35 minutes ago, anongum said: So I setup nextcloud, let's encrypt and mariadb and I can access it remotely, but there are a few problems that seem to be common to many user: 1. The upload speed is capped in both local and remote upload, to 10mb/s. 2. When uploading large files (like a 16gb video file) the upload fails and the webgui becomes buggy or times out, and the docker.img becomes bloated (for this reason I set the docker image to be 200gb) 3. When downloading large files (test on a 4gb file) remotely from a stable connection it fails midway through. What are settings that I can modify to make nextcloud actually usable for large files? This is the same problem as I have, no one seems to know as I've asked many times! How Nextcloud has made it to version 18 with such a bad bug I don't know! I've uninstalled it and gone back to Dropbox and wetransfer, but still hopeful that there will be a solution and happy to reinstall and test if anyone has any ideas? Quote Link to comment
trurl Posted March 12, 2020 Share Posted March 12, 2020 3 hours ago, diaamadou said: please help Was it working before? Quote Link to comment
anongum Posted March 12, 2020 Share Posted March 12, 2020 42 minutes ago, MothyTim said: This is the same problem as I have, no one seems to know as I've asked many times! How Nextcloud has made it to version 18 with such a bad bug I don't know! I've uninstalled it and gone back to Dropbox and wetransfer, but still hopeful that there will be a solution and happy to reinstall and test if anyone has any ideas? Man, that's depressing. I hope someone here helps us out on this Quote Link to comment
TristanP Posted March 12, 2020 Share Posted March 12, 2020 Can someone tell me where the Nextcloud error logs are located? This latest version reports that the "Community Document Server" and "Talk" fail to install when the docker image is installed. However after login I see both listed under Apps but when I click on "Remove" Nextcloud reports "an error occured". Can't diagnose when the error message is "It's broken". Quote Link to comment
diaamadou Posted March 12, 2020 Share Posted March 12, 2020 5 hours ago, trurl said: Was it working before? Yes mine was working and I was able to remotely login and upload file. Everything break dow after an update. Quote Link to comment
motodog Posted March 12, 2020 Share Posted March 12, 2020 Hello, I am trying setup nextcloud for the first time and while following along with spaceinvador nextcloud setup. I just finished the letsencrypt portion to then re check if i can connect to nextcloud internally i get this error in the browser "Internal Server Error The server encountered an internal error and was unable to complete your request. Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report. More details can be found in the server log." I don't know where to go from here to diagnose this. Thanks. Quote Link to comment
Recommended Posts
Posted by Squid,
1 reaction
Go to this post
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.