Change default landing page NGINX to Nextcloud Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
zartarr88
Posts: 20
Joined: Sun Jul 05, 2020 4:18 am

Re: Change default landing page NGINX to Nextcloud

Post by zartarr88 »

Joulinar wrote: Thu Jul 09, 2020 1:46 am btw I tested the same using lighttpd web server and could easily upload a 1GB file without issues

for me it looks some on redis

Code: Select all

root@DietPi3:/run/redis# ls -la
total 4
drwxr-sr-x  2 redis redis  80 Jul  9 01:25 .
drwxr-xr-x 23 root  root  660 Jul  9 01:25 ..
-rw-rw----  1 redis redis   4 Jul  9 01:25 redis-server.pid
srwxrwx---  1 redis redis   0 Jul  9 01:25 redis-server.sock
root@DietPi3:/run/redis#
Roger, I'm actually not even caring about any chunk size error anymore, I just wish I stopped tinkering even if it gives me errors. At this point I can't even get into the site because of something I did with redis and permissions ;

i believe the culprit is "usermode -a -G redis www-data" a tip I found on a site and I don't know what impact it had on what I"m facing right now
User avatar
Joulinar
Posts: 2059
Joined: Sat Nov 16, 2019 12:49 am

Re: Change default landing page NGINX to Nextcloud

Post by Joulinar »

well you just add a user to a group with this command. this should not impact anything
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
zartarr88
Posts: 20
Joined: Sun Jul 05, 2020 4:18 am

Re: Change default landing page NGINX to Nextcloud

Post by zartarr88 »

Hi Joulinar , still working at it . do you think the redis-server might be causing loops?
I think this might be it, working on trying to figure this out. any help thanks

Code: Select all

Jul 09 09:13:21 DietPi redis[586]: Could not create serv
er TCP listening socket ::1:6379: bind: Cannot assign requested address
Jul 09 09:13:21 DietPi redis[586]: Warning: 32 bit insta
nce detected but no memory limit set. Setting 3 GB maxmemory limit with 'noevict
ion' policy now.
Jul 09 09:13:21 DietPi systemd[1]: redis-server.service: Can't open PID file /ru
n/redis/redis-server.pid (yet?) after start: No such file or directory
User avatar
Joulinar
Posts: 2059
Joined: Sat Nov 16, 2019 12:49 am

Re: Change default landing page NGINX to Nextcloud

Post by Joulinar »

honestly I'm not sure that this is related to redis. I did a test with lighttpd as web server, and I was able to upload a file of 1.2GB without issues. I guess it's more related to nginx as web server an some time out parameter
picture.png
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
zartarr88
Posts: 20
Joined: Sun Jul 05, 2020 4:18 am

Re: Change default landing page NGINX to Nextcloud

Post by zartarr88 »

Roger,
1) does changing from nginx to lighttpd entail any changes need to be made in other places or is it automated with dietpi ?

2) i do believe I have my server up and running tho , good news. several days of troubleshooting.
User avatar
Joulinar
Posts: 2059
Joined: Sat Nov 16, 2019 12:49 am

Re: Change default landing page NGINX to Nextcloud

Post by Joulinar »

before changing anything. How many applications you have running using nginx web server? Just Nextcloud or something else.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
zartarr88
Posts: 20
Joined: Sun Jul 05, 2020 4:18 am

Re: Change default landing page NGINX to Nextcloud

Post by zartarr88 »

HI joul.
I just run Nextcloud, NGINX, PHP, REDIS, etc.. + one of the desktop environ + Real VNC .
I have pretty much returned back to working state almost. I haven't been able to try if the lock testing is gone (I think Redis works fine now)
The only errors I am encountering now are nextcloud related:

Error PHP Undefined index: debugMode at /var/www/nextcloud/core/templates/exception.php#26
Error PHP Undefined index: debugMode at /var/www/nextcloud/core/templates/exception.php#17
Fatal webdav OCP\Files\NotPermittedException: Could not create path
User avatar
Joulinar
Posts: 2059
Joined: Sat Nov 16, 2019 12:49 am

Re: Change default landing page NGINX to Nextcloud

Post by Joulinar »

it might be good to check on a nextcloud specialised board for the nextcloud errors ;)
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply