ISPCOnfig with Nextcloud (suite) : error 403, no upload more than 11MB

Discussion in 'General' started by ledufakademy, Oct 7, 2020.

  1. ledufakademy

    ledufakademy Member

    hello,

    i'm facing an urging problerm with our migration to ispconfig (nextcloud site), it' seem ispconfig no taking snipets parameter (while they a re in /etc/nginx conf after applying) :

    php option
    nginx option
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    If the snippets are in the generated vhost file and the vhost file has not a .err ending, then the problem is not on ispconfigs side as all what ISPConfig's task is, is to write the snippets into that file. But upload limits are not a nginx config, they are a php config. Check with a phpinfo() file if the php config change was applied.
     
    ledufakademy likes this.
  3. ledufakademy

    ledufakademy Member

    ok till i will do that (i'm not a webmaster !!!grrrhhhh)
     
  4. ledufakademy

    ledufakademy Member

    very strange answer :

    so why php snipets are not enable ?
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Try to manually restart the php-fpm daemon of the used php version and check again.
     
  6. ledufakademy

    ledufakademy Member

    done :

     
  7. ledufakademy

    ledufakademy Member

    end :

    nano /etc/php/7.3/fpm/pool.d/web53.conf

     
  8. ledufakademy

    ledufakademy Member

    i only have on version 7.3 (But , i also see a 7.2 folder under /etc/php/ )
    but a systemctl only give me :

    php7.3-fpm.service
     
  9. ledufakademy

    ledufakademy Member

    i'm really lost with this php stuff , cli, fpm , pool.d php.ini this is very very confusing me.
    KISS ... not for php.
     
  10. ledufakademy

    ledufakademy Member

    For others sites : same issue ! (we have 2 others netcloud instance)
    is this a correct way for testing php info ? (because phpinfo.php , is not allowed with : https://website/phpinfo (for nextcloud )

    it'seems that php pool.d is not working.
    Because :
    /etc/php/7.3/fpm/pool.d/web79.conf

    it's filled with correct infomation.

     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    You can not test php like this, you've tested the wrong PHP, not the one of this website. To test the right PHP, put the phpinfo.php file into the web folder of this website, then open the URL of the site + /phpinfo.php in a web browser and check its content.
     
    ledufakademy likes this.
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    The test you made is wrong, it can not show the php settings of a website. So what it shows must be wrong and not the PHP config of the website. I just explained you how to test correctly. Btw. the pool file in #7 show that the settings must be correct for the site that sues this pool.
     
    ledufakademy likes this.
  13. ledufakademy

    ledufakademy Member

    :mad:
    hummm, i put phpinfo(); in index.php of nextcloud and i cn see the correct info !!!! :D
    ISPconfig and pool.d are correct ;)

    So the issue is not here with php max post etc !!!!
     
  14. ledufakademy

    ledufakademy Member

    you're right.
    bad test. sure.
     
  15. ledufakademy

    ledufakademy Member

    so return to the begining. arghghhhh.
     
  16. ledufakademy

    ledufakademy Member

    Till, i read that :
    ispconfig block .file ? (not sure but ...)

    source : https://help.nextcloud.com/t/cant-upload-file-size-more-than-10mb/86266/3
     
  17. ledufakademy

    ledufakademy Member

    the problem occurs at DigitalOcean hoster too ... so perphaps an ispconfig conf. issue .... with file moving with .file inside chroot user ....
     
  18. ledufakademy

    ledufakademy Member

    here the issue with nginx ...
    https://github.com/nextcloud/documentation/pull/1748/files
     
  19. ledufakademy

    ledufakademy Member

    yes !
    this ispconfig ... lol:

    here :

    no i need to merge option ... (but this was clearly the default nginx conf made by ispconfig)
     
  20. ledufakademy

    ledufakademy Member

    Now , how can i change this ISPconfig default confn ? permanently ?
    wtih

    Because this doesn't work ...

     
    Last edited: Oct 7, 2020

Share This Page