1
0
mirror of https://gitlab.com/free_zed/free_zed.gitlab.io.git synced 2024-06-01 22:02:28 +00:00
free_zed.gitlab.io/content/ownCloud-erreur-connection-internet.md
Freezed f348579a90 🎨 Normalize usage of non breaking spaces
Remove ` ` by ` `, less painfull to read
2020-09-27 22:30:18 +02:00

46 lines
2.4 KiB
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Title: ownCloud, erreur de connection internet
Category: Bloc-notes
Date: 2015-04-25 11:11
Lang: fr
Slug: owncloud-erreur-connection-internet
Status: published
Summary: Vieilles notes probablement obsolètes
Tags: viellerie, admin, owncloud, debian
**`/!\` Vieilles notes probablement obsolètes `/!\`**
## Contexte
* Debian 7/k3.14
* ownCloud 8.0.2, installé via [openSUSE Build Service packages](http://software.opensuse.org/download.html?project=isv:ownCloud:community&package=owncloud)
## Problème
Dans le menu d'administration du client web, la vérification de la configuration affiche l'erreur suivante:
Ce serveur ne peut se connecter à internet. Cela signifie que certaines fonctionnalités, telles que le montage de supports de stockage distants, les notifications de mises à jour ou l'installation d'applications tierces ne fonctionneront pas. L'accès aux fichiers à distance, ainsi que les notifications par courriel ne fonctionneront pas non plus. Il est recommandé d'activer la connexion internet pour ce serveur si vous souhaitez disposer de l'ensemble des fonctionnalités offertes.
Veuillez vous référer au guide d'installation.
*Erreur en VO:*
This server has no working internet connection. This means that some of the features like mounting of external storage, notifications about updates or installation of 3rd party apps don´t work. Accessing files from remote and sending of notification emails might also not work. We suggest to enable internet connection for this server if you want to have all features.
## Cheminement
* ping `www.owncloud.org` depuis le serveur, OK
* essai d'échange enre le serveur **OC** & un client **OC** pour Android, OK
* édition du `php.ini`: `allow_url_fopen On`,
* édition du `php.ini`: `allow_url_include On`
* recherche de la fonction dans le code **OC** qui génère ce message d'erreur: `[OC_PATH]/lib/private/util.php`
* isolation de la fonction et essai sur plusieurs machines: `fsockopen()` à bien bien un comportement différant sur le serveur concerné
* suppression de `fsockopen()` dans la directive `disable_functions` :-)
### Sources:
* Forum ownCloud:
* [Internet connection not working](https://forum.owncloud.org/viewtopic.php?f=29&t=23700)
* ["Internet connection not working" behind proxy](https://forum.owncloud.org/viewtopic.php?f=26&t=18623)
* 2by2host, [Warning: fsockopen() has been disabled for security reasons](http://www.2by2host.com/articles/php-errors-faq/disabled_fsockopen/)