-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Owncloud 8 crashes Apache on brand new fresh install Ubuntu 14.04 [Workaround] #14188
Comments
Aha. I've noticed OC8 was giving Apache trouble and was looking on here for answers. My task was complicated by having migrated from SQLite to MySQL at the same time as I upgraded, so wasn't sure if that was part of the problem, but removing php5-apcu seems to have done the trick here, too. |
You cannot use 2 caching modules at the same time. Select between apcu it is newer. |
@jnweiger please have a look - THX |
It depends if php5-apc is Requires anywhere else on the particular computer installation. Best to remove the conflicting Recommended. Not ideal, but avoids too much hell. |
On Ubuntu-14.04, the situation with apc is tricky.
@BoBeR182 I don't follow your description with the conflicts. The package owncloud-fhs is not installed at all. It has no influence on the dependency resolution. Also, it does not conflict with any apc or apcu packages. I'll fix one error in the Recomends: line. It asks for either php5-apcu or php5-apc -- A package 'php5-apc' does not exist in debian universe. It should say php-apc, without a '5'. I'll also make it a Suggests: instead. Unless we have a strong reason to advocate for a caching system, I see this negative experience as a valid reason to not Recommend any. |
Now, this is a workaround: 1. Create a bash script
2. Setup a cronjob 3. Make the script run every 3 hour (that's about when the server crashes)
4. Delete the crontab when this issue is fixed(!) |
I made a very similar script, but it simply hupped apache every couple of
|
Closing this, here is the final fix: #14175 (comment) Please track this issue here: #14175 |
Hey everyone,
I was experiencing the same issue on a new installation, and after some digging around I have successfully concluded that the issue was the cache that was being used.
FYI im on ubuntu 14.04 server.
after running apt-cache depends owncloud i get the following list
Depends: owncloud-server
Depends: owncloud-config-apache
Depends: owncloud-3rdparty
Depends: owncloud-app-activity
Depends: owncloud-app-files
Depends: owncloud-app-files-encryption
Depends: owncloud-app-files-pdfviewer
Depends: owncloud-app-files-trashbin
Depends: owncloud-app-firstrunwizard
Depends: owncloud-app-templateeditor
Depends: owncloud-app-user-ldap
Depends: owncloud-app-external
Depends: owncloud-app-files-external
Depends: owncloud-app-files-sharing
Depends: owncloud-app-files-versions
Depends: owncloud-app-gallery
Depends: owncloud-app-updater
Depends: owncloud-app-user-webdavauth
Depends: owncloud-app-files-locking
Depends: owncloud-app-files-texteditor
Depends: owncloud-app-files-videoviewer
Depends: owncloud-app-provisioning-api
Depends: owncloud-app-user-external
|Suggests: clamav
Suggests: clamav-daemon
Suggests: smbclient
Suggests: libreoffice-writer
Recommends: mysql-server
Recommends: curl
curl:i386
|Recommends: exim4
Recommends:
citadel-mta
courier-mta
esmtp-run
exim4-daemon-light
lsb-invalid-mta
masqmail
msmtp-mta
nullmailer
opensmtpd
qmail-run
sendmail-bin
ssmtp
xmail
dma:i386
dma
exim4-daemon-heavy
postfix
|Recommends: php5-apcu
Recommends:
Conflicts:
Conflicts: owncloud-fhs:i386
As you can see that php5-apc conflicts with the owncloud fhs so php5-apcu is installed instead. This was confirmed by running apt-cache policy on both php5-apc and php5-apcu.
Seeing as that is a recommended package I proceeded to purge it from the system. Owncloud functionality was not effected at all. My OC has been up for over 12 hours now.
Wanted to share this with you all as I hope it will help alot of you as it helped me.
The text was updated successfully, but these errors were encountered: