-
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 ubuntu package: php5 dependency #20963
Comments
cc @jnweiger |
:~$ apt-cache depends owncloud-server You could add the redis mod |
I have the same problem. One way to solve this could be: http://askubuntu.com/a/237354 But I have not tested that solution yet. If anyone does, please let me know how it went. EDIT: Did not work. |
sidenote: Redis is even difficult with php5: the ubuntu-14.04 php5-redis module is too old, they say: |
@jnweiger That's why you have to build it: https://www.techandme.se/how-to-configure-redis-cache-in-ubuntu-14-04-with-owncloud/ pecl install works and provides 2.2.7 |
I've started somewhat. Feel free to improve: owncloud-archive/vm@252ddbd |
@jnweiger If you want to install an old redis server version, that looks fine. 👍 |
It's a production system. Compilers should run elsewhere. |
@jnweiger What about the original issue ---^ ? |
Please don't add a dependency on php-redis on owncloud-server, at most it should be an optional dependency, definitely not required or recommended |
Yes. This is optional and only important for big installations. |
Well, yes, i should have said "optional" or "recommended" only. I have Redis server v=3.0.5 here and it works like a charm with ownCloud. |
FYI:
|
The correct solution is to have an owncloud package without any dependencies. this may be helpful with many other dependency issues too. |
If you decide to go that path it has to be clear in the docs which php modules that are needed to make ownCloud run properly. cc @carlaschroder |
Actual result
EDIT EDIT 2 |
The VM is released, thought you would like to know: https://www.techandme.se/owncloud-8-2-1-php-7-redis-cache-lets-encrypt-webmin/ |
btw I just installed php 7 + all the needed php 7 modules on openSUSE 13.2. It overwrote a few files due to conflicts but otherwise, everything was smooth and worked after I removed apcu caching from the config.php. I still have php5 installed, will remove it once ownCloud-server won't also be removed ;-) |
Well, so much for "PHP 7 Is Here And ownCloud Is Ready"... any news on the issue? |
@MrGraversen ownCloud works with PHP 7, just download the VM and give it a try. ;) You could get it working with ownCloud with some hacking in Ubuntu. EDIT Something like:
NOTE, NOT TESTED THIS METHOD. But it should work |
@jnweiger Saw that the new 8.2.2 installed php5-cgi separately. Does this mean that the issue is addressed? |
No... |
Any news on the issue...? |
@MrGraversen right now, most people who work on this are on holiday. I'm sure there will be attention for this in the new year ;-) |
Got it working pretty easily using @enoch85 method on a Linux Mint 17.3 desktop. It's a basic install, I will keep testing with different configs and apps enabled too see if my favourites apps setup still work. If everything is good, next step will be to test it on a Ubuntu 14.04 server :) Yay! |
Look, we all know that it's working well... That's not the matter. The matter is a Linux packaging issue. |
I believe the packages were updated to not handle dependencies at all... Not sure if that has already been applied fully, but it's a rather dirty solution to this problem. What's going to happen with the packages is a tad unclear at the moment, we're not happy with the state either. |
No, it hasn't been updated... Perhaps for the next 8.2.3 ?... in March 2016.... pfff (In fact, i think that they know Owncloud is not fully compatible with PHP7, contrary what it is said. The "Sabre/Dav" part used in core is the culprit.) see here : https://groups.google.com/forum/#!topic/sabredav-discuss/kHWTl4dT9jo [quote] |
@Akhenaton Just to be clear - ownCloud works with PHP 7. I've tested it, @jospoortvliet tested it - and I'm sure several others did to. I agree that the dependency issue is bad, but it's going to be solved. |
As this will be released in 9.0.1 I will close this. Feel free to reopen if the issue presists. |
This is still an issue: owncloud-archive/documentation#2222 (comment) cc @jnweiger |
Hi, I used to have PHP 5.6.x on my server, but now I have PHP 7.0 and want to uninstall PHP 5.6 completely. The only package I could uninstall was libapache2-mod-php5 so there are at least no duplicate PHP modules for apache2 on my server anymore... |
@arjanvlek Which OS do you run? |
@enoch85 Debian 8.4 |
@arjanvlek apt-get install owncloud-deps-php7.0 && apt-get remove --purge owncloud-deps-php5 |
@arjanvlek Just mv the @RealRancor beat me to it ;) |
Sorry that it is in Dutch but this is what this command gives me: De volgende pakketten hebben niet-voldane vereisten: |
@arjanvlek What I wrote works anyway, I just did it on 7 servers myself today. |
It misses some PHP7.0 packages on my server. From which repo did you get php7.0? I used dotDeb |
@enoch85 Oh wow I see the apt-get command wasn't posted by you! Will try the other method and see if it works. |
Done. |
apt-get install owncloud immediately wants to install php5 packages again... |
@arjanvlek If you know what you are doing you can just install PHP 7 again. Try to do a |
@enoch85 Yep I installed PHP7.0 and owncloud again. I found out that PHP7 support is incomplete with dotdeb and therefore owncloud-deps-php7 can't be installed due to missing packages. Therefore I'll leave php5 on my server until I find a better php7 repo. Any suggestions for a better php7 repo? Or wait until debian 9 which will include it in its default repos? Anyway thanks for helping me. |
@arjanvlek I use this on Debian: https://github.com/enoch85/ownCloud-VM/blob/master/debian/owncloud_install.sh#L190-214 Good luck. |
@enoch85 I got everything installed back and enabled php7 using this sudo a2dismod php5 && sudo a2enmod php7.0 && sudo service apache2 restart The old packages didn't take up that much space and all works fine now. |
Is this still an issue ? @owncloud/packaging |
Personally, I eventually gave up using ownCloud altogether because this issue dragged on for several months. I think it is still an issue. |
I just left the php5 packages on the system and never looked back. |
It is no longer a problem. For quite some time it was sufficient to install only the owncloud-files package from the official repository. Running it on Ubuntu 14.04.5 for a few months now without any problems. |
@Vectrex thanks for letting us to know. |
I confirm this issue is resolved. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I am using the ubuntu 14.04 package on my server and would like to upgrade to php7 (currently using php5.6 mod_apache).
The owncloud-server package (version 8.2.1) however depends on php5.
So it is currently not possible to upgrade to php7.
The text was updated successfully, but these errors were encountered: