Koozali.org: home of the SME Server
Obsolete Releases => SME 9.x Contribs => Topic started by: bclayton on November 13, 2015, 03:54:05 AM
-
A few days ago, I followed the extremely helpful Owncloud HowTo to upgrade Owncloud on my server from version 8.1 to 8.2. I also enabled memory cache using Redis. It worked fine until I applied SME v9.0 updates on Tuesday. After the updates, when I accessed Owncloud through Firefox, I got nothing but a white screen.
I removed the following lines from config.php in Owncloud that I had added for use with Redis and Owncloud opens as it should but it now shows the memory cache warning that Redis had solved.
'filelocking.enabled' => 'true',
'memcache.locking' => '\OC\Memcache\Redis',
'memcache.local' => '\OC\Memcache\Redis',
'redis' => array(
'host' => '/var/run/redis/redis.sock',
'port' => 0,
'timeout' => 0.0,
),
Any clues on what might have happened? Thanks, Brooks
-
look if you have something interesting in logs when you acces to owncloud
less /var/log/httpd/error_log
-
...and if not in error_log, look in /var/log/messages too.
-
It worked fine until I applied SME v9.0 updates on Tuesday. After the updates, when I accessed Owncloud through Firefox, I got nothing but a white screen.
I removed the following lines from config.php in Owncloud that I had added for use with Redis and Owncloud opens as it should but it now shows the memory cache warning that Redis had solved.
'filelocking.enabled' => 'true',
'memcache.locking' => '\OC\Memcache\Redis',
'memcache.local' => '\OC\Memcache\Redis',
'redis' => array(
'host' => '/var/run/redis/redis.sock',
'port' => 0,
'timeout' => 0.0,
),
Any clues on what might have happened? Thanks, Brooks
my 2c, just guessing.. redis wasn't running.. how does it be supposed to start?
-
The wiki entry (which I wrote, mostly based on the redis docs) says to do
ln -s /etc/rc.d/init.d/redis /etc/rc.d/rc4.d/S80redis
to make it run on startup.
-
well.. if so, first of all it's not in the SME way :-)
you'd do something like
config set redis service status enabled
cd /etc/rc7.d
ln -s /etc/rc.d/init.d/e-smith-service S80redis
(this should be in wiki too, please search..)
-
Well, that could explain the problem. From looking at http://wiki.contribs.org/Add_a_custom_service#allow_a_service_to_start_for_a_particular_time, it seems the symlink to runlevel 4 isn't needed at all, then--correct?
-
+1 guys :)
-
Thanks for your help! I issued the command below as was suggested and Owncloud with Redis is now working as it should.
config set redis service status enabled
cd /etc/rc7.d
ln -s /etc/rc.d/init.d/e-smith-service S80redis
Thanks, again.
Brooks
-
You are welcome