Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

News Not working on Ubuntu 14.04 and PHP7 #6

Closed
aproposnix opened this issue Jul 7, 2016 · 2 comments
Closed

News Not working on Ubuntu 14.04 and PHP7 #6

aproposnix opened this issue Jul 7, 2016 · 2 comments

Comments

@aproposnix
Copy link

Guys, all apologies, I'm cross posting as I'm not sure which git account is the correct one to use (both?). My understanding is that you are going to focus on Nextcloud.

Orginal ticket: owncloud-archive/news#1005

Explain the Problem

Feeds are no longer updating since upgrading to PHP7.

I installed PHP 5.6 as discussed in issue 967 (owncloud-archive/news#967)
Since the PHP5.6 PPA was deprecated, I was forced to do an upgrade to 7.

In the log file I see this line:
Fatal cron Failed to connect to the database: An exception occured in driver: could not find driver

System Information

  • News app version: 8.8.0
  • ownCloud version: Nextcloud 9.0.52 (previous Nextcloud versions affected as well)
  • PHP version:
    php -v
    PHP 7.0.8-3+deb.sury.orgtrusty+1 (cli) ( NTS )
    Copyright (c) 1997-2016 The PHP Group
    Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.8-3+deb.sury.org
    trusty+1, Copyright (c) 1999-2016, by Zend Technologies
    with Xdebug v2.4.0, Copyright (c) 2002-2016, by Derick Rethans
  • Database and version: mysql Ver 14.14 Distrib 5.5.49, for debian-linux-gnu (x86_64) using readline 6.3
  • Browser and version: N/A
  • Distribution and version: Ubuntu 14.04
@BernhardPosselt
Copy link
Member

Your php INI that is being used for the command line does not contain your database driver extension. There are usually different INI files for Apache and cli

@BernhardPosselt
Copy link
Member

Closing because of inactivity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants