owncloud-archive / news

:newspaper: News app for ownCloud
GNU Affero General Public License v3.0
290 stars 106 forks source link

Error: this app cannot be enabled because it makes the server unstable #1018

Open ghost opened 8 years ago

ghost commented 8 years ago

When enabling the plugin, on a new installation of owncloud, on a Centos 7 box.

Steps to Reproduce

  1. Install owncloud via RPM (i end up with: owncloud-9.0.4-1.el7.remi.noarch)
  2. Clone the plugin via git clone
  3. Try to enable it via admin interface. It fails with the error "Error: this app cannot be enabled because it makes the server unstable"

    System Information

    • News app version: lateest
    • ownCloud version: 9.0.4
    • PHP version: php-common-5.6.26-1.el7.remi
    • Database and version: mariadb-server-5.5.50
    • Distribution and version: Centos7 (with remi enabled)

      Contents of owncloud/data/owncloud.log

Nothing!

Httpd logs:

==> /var/log/httpd/access_log <==
192.168.0.32 - - [18/Sep/2016:02:17:25 -0300] "POST /owncloud/index.php/settings/ajax/enableapp.php HTTP/1.1" 200 53 "-" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0"

==> /var/log/httpd/error_log <==
[Sun Sep 18 02:17:25.504896 2016] [:error] [pid 31005] [client 192.168.0.32:54694] PHP Fatal error:  require_once(): Failed opening required '/usr/share/owncloud/apps/news/appinfo/../vendor/autoload.php' (include_path='/usr/share/owncloud/lib/private:/usr/share/owncloud/config:/usr/share/owncloud/3rdparty:/usr/share/owncloud/apps:/var/lib/owncloud/apps:.:/usr/share/pear:/usr/share/php:/usr/share/owncloud') in /usr/share/owncloud/apps/news/appinfo/app.php on line 16

==> /var/log/httpd/access_log <==
192.168.0.32 - - [18/Sep/2016:02:17:25 -0300] "GET /owncloud/index.php/apps/files HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0"
192.168.0.32 - - [18/Sep/2016:02:17:25 -0300] "POST /owncloud/index.php/disableapp HTTP/1.1" 200 20 "-" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0"

There is any workaround? this app represenets about 70 % of my owncloud use.

BernhardPosselt commented 8 years ago

Yeah, the maintained version is at https://github.com/nextcloud/news this repo is unmaintained

ghost commented 8 years ago

Oh, didn't know about it. Thanks!