Does anyone have Fresh Nextcloud Install on PHP-legacy with cache working?
All, I've spent a few days trying to get either APCu or Redis (or both) caching working with a fresh install of nextcloud on php-legacy. Nextcloud works fine and I can enable both caches per the wiki but adding anything to /etc/webapps/nextcloud/config/config.php as shown in the wiki immediately results in an "Internal server error" crash of nextcloud. A full explanation of all steps tried is in https://bbs.archlinux.org/viewtopic.php?id=288622 Does anyone have nextcloud 27.0.2 running on php-legacy with APCu or Redis (or both) enabled and working? Something is really wrong here. -- David C. Rankin, J.D.,P.E.
On Thu, 14 Sept 2023 at 10:34, David C. Rankin <drankinatty@gmail.com> wrote:
Does anyone have nextcloud 27.0.2 running on php-legacy with APCu or Redis (or both) enabled and working? Something is really wrong here.
I got my setup (including APCu and Redis) working when php-legacy first came out, but a month or two later decided to take the plunge and switch to a dockerised setup, which is _significantly_ easier to manage. Trying to keep track of everything Nextcloud and PHP need manually is a nightmare, and with everything now being duplicated with php-legacy it's quite a bit worse. I'd recommend switching to docker. Paul
On 9/14/23 11:49, Paul Dann wrote:
I got my setup (including APCu and Redis) working when php-legacy first came out, but a month or two later decided to take the plunge and switch to a dockerised setup, which is _significantly_ easier to manage. Trying to keep track of everything Nextcloud and PHP need manually is a nightmare, and with everything now being duplicated with php-legacy it's quite a bit worse. I'd recommend switching to docker.
How much heavier is a docker install than normal webapp? I have limited hardware and run several webapps. If I duplicate the complete LAMP setup in docker as well as running my other apps, that will likely make a 4G Celeron roll over a croak? -- David C. Rankin, J.D.,P.E.
It's really close, actually. The cost is mostly in storage, a little in RAM due to the libraries not being shared by other processes. In my real life experience with redis, it adds about 1-2% CPU overhead. Well worth it. Dee On Fri, 15 Sept 2023, 01:38 David C. Rankin, <drankinatty@gmail.com> wrote:
On 9/14/23 11:49, Paul Dann wrote:
I got my setup (including APCu and Redis) working when php-legacy first came out, but a month or two later decided to take the plunge and switch to a dockerised setup, which is _significantly_ easier to manage. Trying to keep track of everything Nextcloud and PHP need manually is a nightmare, and with everything now being duplicated with php-legacy it's quite a bit worse. I'd recommend switching to docker.
How much heavier is a docker install than normal webapp? I have limited hardware and run several webapps. If I duplicate the complete LAMP setup in docker as well as running my other apps, that will likely make a 4G Celeron roll over a croak?
-- David C. Rankin, J.D.,P.E.
participants (3)
-
David C. Rankin
-
Dee Moore
-
Paul Dann