Problems in new installation

French version following

Good morning,

I’m trying to install nextcloud. It’s a very small nextcloud for family purposes, I have a few problems:

I can’t update Nextcloud. Current version is 27.0.2. Update to Nextcloud 27.1.3 available. (channel: “stable”)

Error screen
 * ## Create backup

Parsing response failed.
Show detailed response

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>503 Service Unavailable</title>
</head><body>
<h1>Service Unavailable</h1>
<p>The server is temporarily unable to service your
request due to maintenance downtime or capacity
problems. Please try again later.</p>
</body></html>
log apache
[Wed Nov 01 11:12:34.392734 2023] [core:crit] [pid 114025:tid 140546446104320] (13)Permission denied: [client 138.2.41.172:47814] AH00529: /srv/data/web/vhosts/daniel-desmedt.eu/htdocs/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/srv/data/web/vhosts/daniel-desmedt.eu/htdocs/' is executable
[Wed Nov 01 11:16:16.588119 2023] [core:crit] [pid 114025:tid 140546513245952] (13)Permission denied: [client 2a02:a03f:6a30:ed00:9a02:cf42:7c2e:6b49:22874] AH00529: /srv/data/web/vhosts/mon.serveur/htdocs/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/srv/data/web/vhosts/mon.serveur/htdocs/data/' is executable
[Wed Nov 01 11:16:21.566396 2023] [core:crit] [pid 114025:tid 140546227894016] (13)Permission denied: [client 2a02:a03f:6a30:ed00:9a02:cf42:7c2e:6b49:11484] AH00529: /srv/data/web/vhosts/mon.serveur/htdocs/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/srv/data/web/vhosts/mon.serveur/htdocs/data/' is executable
in nextcloud.log
(Nothing found)

I can send a test e-mail but by using the mail application.

in nextcloud.log
(Nothing found)

There must be a problem in my installation, but I don’t see what it is.
Thank you in advance for your assistance
EM.


Bonjour,

Je tente d’installer un nextcloud. C’est un tout petit nextcloud à but familial, jai quelques problèmes :

Je n’arrive pas à mettre à jour Nextcloud. (Current version is 27.0.2. Update to Nextcloud 27.1.3 available. (channel: “stable”)

Error screen
 * ## Create backup

Parsing response failed.
Show detailed response

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>503 Service Unavailable</title>
</head><body>
<h1>Service Unavailable</h1>
<p>The server is temporarily unable to service your
request due to maintenance downtime or capacity
problems. Please try again later.</p>
</body></html>
log apache
[Wed Nov 01 11:12:34.392734 2023] [core:crit] [pid 114025:tid 140546446104320] (13)Permission denied: [client 138.2.41.172:47814] AH00529: /srv/data/web/vhosts/daniel-desmedt.eu/htdocs/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/srv/data/web/vhosts/daniel-desmedt.eu/htdocs/' is executable
[Wed Nov 01 11:16:16.588119 2023] [core:crit] [pid 114025:tid 140546513245952] (13)Permission denied: [client 2a02:a03f:6a30:ed00:9a02:cf42:7c2e:6b49:22874] AH00529: /srv/data/web/vhosts/mon.serveur/htdocs/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/srv/data/web/vhosts/mon.serveur/htdocs/data/' is executable
[Wed Nov 01 11:16:21.566396 2023] [core:crit] [pid 114025:tid 140546227894016] (13)Permission denied: [client 2a02:a03f:6a30:ed00:9a02:cf42:7c2e:6b49:11484] AH00529: /srv/data/web/vhosts/mon.serveur/htdocs/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/srv/data/web/vhosts/mon.serveur/htdocs/data/' is executable
in nextcloud.log
(Nothing found)

Je peux envoyer un mail de test mais pas utiliser l’application mail. Il n’y a pas de messages, ni de trace dans le journal, juste l’information que je dois en référer à l’administrateur.

in nextcloud.log
(Nothing found)

Merci d’avance de votre aide,
Emena


Nextcloud Hub 5 (27.0.2)
Operating system and version (eg, Ubuntu 22.04)
Configuration PHP 8.1, sqlite
Server Version: Apache/2.4.43

Check permissions of /srv/data/web/vhosts (ls -la). Should be owned by www-data.
Try updating over cli - sudo -u www-data php occ…

Further infos can be found here:

https://docs.nextcloud.com/server/latest/admin_manual/maintenance/manual_upgrade.html

Thank you for answering me,

It’s strange when I try “php occ upgrade”, it tells me that I have the latest version.

I don’t have access to sudo from my host (gandi), I can’t change the owner.

I’m looking for why, these curious answers,
As soon as I find it, I’ll let you know what it is.

But all ideas and experiences are, of course, welcome.
EM

where is the server running? sound like a web host…

Hello,
It run on gandi
thanks for your help
EM

Hello,

version française

Je pense que j’ai compris ce qui se passe, Gandi a une offre Nextcloud à 18 € par mois. Ils ne vont pas laisser quelqu’un installer une version sur leur hébergeur facilement.

Je ne sais pas ce que je vais faire à l’avenir en ce qui concerne l’hébergement, mais j’ai un gros problème : mon agenda était dans Nextcloud et depuis que j’ai voulu mettre www-data comme owner, rien ne marche.
J’ai tenté de réinstaller l’application. J’ai utilisé la technique proposée dans ton lien, mais dès que je copie le fichier config.php, j’ai une « internal error ».

J’ai besoin de récupérer mon agenda. Je n’en ai pas de copie, juste des copies de ma base de données sqlite.
Merci d’avance pour toute piste quelle qu’elle soit
EM, désespérée


I think I understand what’s going on, Gandi has a Nextcloud offer for €18 per month. They’re not going to let someone install a version on their host easily.

I don’t know what I’m going to do in the future regarding hosting, but I have a big problem: my calendar was in Nextcloud and since I wanted to put www-data as owner, nothing walk.
I tried reinstalling the application. I used the technique proposed in your link, but as soon as I copy the config.php file, I get an “internal error”.

I need my calendar back. I don’t have a copy of it, just copies of my sqlite database.
Thanks in advance for any leads whatsoever.
EM, desperate

Hello,

version française

Je pense que j’ai compris ce qui se passe, Gandi a une offre Nextcloud à 18 € par mois. Ils ne vont pas laisser quelqu’un installer une version sur leur hébergeur facilement.

Je ne sais pas ce que je vais faire à l’avenir en ce qui concerne l’hébergement, mais j’ai un gros problème : mon agenda était dans Nextcloud et depuis que j’ai voulu mettre www-data comme owner, rien ne marche.
J’ai tenté de réinstaller l’application. J’ai utilisé la technique proposée dans ton lien, mais dès que je copie le fichier config.php, j’ai une « internal error ».

J’ai besoin de récupérer mon agenda. Je n’en ai pas de copie, juste des copies de ma base de données sqlite.
Merci d’avance pour toute piste quelle qu’elle soit
EM, désespérée


I think I understand what’s going on, Gandi has a Nextcloud offer for €18 per month. They’re not going to let someone install a version on their host easily.

I don’t know what I’m going to do in the future regarding hosting, but I have a big problem: my calendar was in Nextcloud and since I wanted to put www-data as owner, nothing walk.
I tried reinstalling the application. I used the technique proposed in your link, but as soon as I copy the config.php file, I get an “internal error”.

I need my calendar back. I don’t have a copy of it, just copies of my sqlite database.
Thanks in advance for any leads whatsoever.
EM, desperate

please show ls -la /srv/data/web/vhosts/daniel-desmedt.eu/htdocs/
and ls -la /datafolder
and cat config.php

Search for a folder named app data…wild number… I think there are two

Hello,

Desmedt.eu is another site, drupal, which has nothing to do with Nextcloud. Sorry, I should have removed that line.

ls -la /datafolder

drwxrwxr-x 7 hosting-user hosting-user 10 Nov 2 15:38 .
drwxrwxr-x 6 root hosting-user 6 Nov 2 16:08 …
-rw-r–r-- 1 hosting-user hosting-user 0 Nov 2 15:38 .ocdata
drwxrwxr-x 5 hosting-user hosting-user 5 Nov 1 11:43 amh
drwxrwxr-x 15 hosting-user hosting-user 15 Sep 21 15:40 appdata_ocv4nmiot6sg
drwxrwxr-x 3 hosting-user hosting-user 7 Oct 27 09:02 appdata_snappymail
drwxrwxr-x 2 hosting-user hosting-user 3 Aug 26 13:43 files_external
-rwxrwxr-x 1 hosting-user hosting-user 0 Nov 1 11:28 index.html
-rwxrwxr-x 1 hosting-user hosting-user 2797568 Nov 2 09:14 owncloud.db
drwxrwxr-x 4 hosting-user hosting-user 6 Nov 1 17:47 updater-ocv4nmiot6sg

cat config.php


<?php
CONFIG = array (
  'instanceid' => 'ocv4nmiot6sg',
  'passwordsalt' => 'mv1+JRqLl56NISxMMmv6ANIIX3bXMx',
  'secret' => 'TLk1T+1XMETj8Mi0w1nuEVMS3/wY9V10zYHc/M3hzqfIMNKg',
  'trusted_domains' => 
  array (
    0 => 'monsite.be',
    1 => 'monsite2.be',
  ),
  'datadirectory' => '/srv/data/web/vhosts/monsite.be/externes-data',
  'dbtype' => 'sqlite3',
  'version' => '27.0.2.1',
  'overwrite.cli.url' => 'http://monsite.be',
  'installed' => true,
  
  'mail_from_address' => 'am',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'monsite.be',
  'mail_smtphost' => 'mail.gandi.net',
  'mail_smtpport' => '465',
  'mail_smtpsecure' => 'ssl',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'em@monsite.be',
  'mail_smtppassword' => 'monsite.bex',
  
  array (
    0 => 'mindmap_app',
    1 => 'backup',
    2 => 'mail_roundcube',
  ),
  
  
  'default_phone_region' => '.be',
  'maintenance' => false,
  'updater.secret' => '$2y$10$UxQ65Hdcsgovj7jaB5i5yu/N8u2shQmLwgoOWweISWvy3ZTlYoq9O',
  'theme' => '',
  
  'log_type' => 'file',
  'loglevel' => 1,
);

try modify you config.php

‘overwrite.cli.url’ => ‘https://cloud.monsite.be
‘overwriteprotocol’ => ‘https’

YES,

It WORKS,
Merci a lot
EM

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.