hey
after using
apt-get install php5-apcu -y
sed -i "/'version'/a 'memcache.local' => '\\\OC\\\Memcache\\\APCu'," /var/www/owncloud/config/config.php
owncloud is not loading anymore. Site is fully white.....
memcache poblem
Re: memcache poblem
I'll need to see your config file. Please paste the following:soletto wrote:hey
after using
apt-get install php5-apcu -y
sed -i "/'version'/a 'memcache.local' => '\\\OC\\\Memcache\\\APCu'," /var/www/owncloud/config/config.php
owncloud is not loading anymore. Site is fully white.....
Code: Select all
cat /var/www/owncloud/config/config.php
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: memcache poblem
<?php
$CONFIG = array (
'instanceid' => 'oc1l9uvnxve1',
'passwordsalt' => '1d1i90BTbFWmTd0rxZWoTPFMmoNkn0',
'secret' => 'FPbOwmqGelaxS5Rmy90u087SzDn1nVDaECNiTLWP0q06bv77',
'trusted_domains' =>
array (
0 => 'soletto.ddns.net',
),
'datadirectory' => '/mnt/usb_1/owncloud',
'overwrite.cli.url' => 'https://soletto.ddns.net/owncloud',
'dbtype' => 'mysql',
'version' => '8.1.4.2',
'memcache.local' => '\OC\Memcache\APCu',
'dbname' => 'owncloud',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'dbuser' => 'oc_soletto',
'dbpassword' => '78parpxikbovt0q4posd17vb0tbq4t',
'logtimezone' => 'UTC',
'installed' => true,
);
$CONFIG = array (
'instanceid' => 'oc1l9uvnxve1',
'passwordsalt' => '1d1i90BTbFWmTd0rxZWoTPFMmoNkn0',
'secret' => 'FPbOwmqGelaxS5Rmy90u087SzDn1nVDaECNiTLWP0q06bv77',
'trusted_domains' =>
array (
0 => 'soletto.ddns.net',
),
'datadirectory' => '/mnt/usb_1/owncloud',
'overwrite.cli.url' => 'https://soletto.ddns.net/owncloud',
'dbtype' => 'mysql',
'version' => '8.1.4.2',
'memcache.local' => '\OC\Memcache\APCu',
'dbname' => 'owncloud',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'dbuser' => 'oc_soletto',
'dbpassword' => '78parpxikbovt0q4posd17vb0tbq4t',
'logtimezone' => 'UTC',
'installed' => true,
);
Re: memcache poblem
Ok,
Just tested on my XU4, seems Owncloud doesnt like the APCu that gets installed from ubuntu repo. I tested with php-apc works fine.
Install php-apc:
Edit /var/www/owncloud/config/config.php
replace 'memcache.local' => '\OC\Memcache\APCu',
with 'memcache.local' => '\OC\Memcache\APC',
restart services:
Just tested on my XU4, seems Owncloud doesnt like the APCu that gets installed from ubuntu repo. I tested with php-apc works fine.
Install php-apc:
Code: Select all
apt-get install php-apc -y
replace 'memcache.local' => '\OC\Memcache\APCu',
with 'memcache.local' => '\OC\Memcache\APC',
restart services:
Code: Select all
dietpi-services restart
If you want to update, you will need to manually compile or use another repo to obtain the updated version.APCu below version 4.0.6 is installed, for stability and performance reasons we recommend to update to a newer APCu version.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: memcache poblem
Thx working now.
Another question.
Is there a way to upload biggerfiles. I even cant upload a 120mb file. Changed htacess so far. Under admin there stands only 2 gig possible.
Is there a workaround ? Thx
Another question.
Is there a way to upload biggerfiles. I even cant upload a 120mb file. Changed htacess so far. Under admin there stands only 2 gig possible.
Is there a workaround ? Thx
Re: memcache poblem
Yep, you just need to increase the PHP upload max size.soletto wrote:Thx working now.
Another question.
Is there a way to upload biggerfiles. I even cant upload a 120mb file. Changed htacess so far. Under admin there stands only 2 gig possible.
Is there a workaround ? Thx
In the following files:
Code: Select all
/etc/php5/apache2/php.ini
/etc/php5/cli/php.ini
Code: Select all
upload_max_filesize =
Code: Select all
upload_max_filesize = 500M
Code: Select all
dietpi-services restart
You also need to change the following to 0, in both files.
Code: Select all
post_max_size = 0
And in .htaccess (2G)
Code: Select all
sed -i "/php_value upload_max_filesize/c\php_value upload_max_filesize 2G" /var/www/owncloud/.htaccess
sed -i "/php_value post_max_size/c\php_value post_max_size 2G" /var/www/owncloud/.htaccess
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: memcache poblem
i was reading that there are problems with the 32 bit php version.... which is causing problems when uploading big files.
For example a full hd video which needs for example 7 gb.
htacess overwrites the values of the php.ini ?????????????? is that correct?
testing by only changing the htacess was a failure
For example a full hd video which needs for example 7 gb.
htacess overwrites the values of the php.ini ?????????????? is that correct?
testing by only changing the htacess was a failure
Last edited by soletto on Mon Nov 16, 2015 8:57 pm, edited 1 time in total.
Re: memcache poblem
Yep, there are memory/size limits on 32bit systems: https://doc.owncloud.org/server/7.0/adm ... by-default. Strange, its usually 3.5~GB for 32bit.soletto wrote:i was reading that there are problems with the 32 bit php version.... which is causing problems when uploading big files.
For example a full hd video which needs for example 7 gb.
I've also updated the owncloud installation code. It will now set 2GB as the max upload file size. This will be available on v102 for new installs of owncloud.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: memcache poblem
Thx for help:-)
when is the new version out?
http://stackoverflow.com/questions/4614 ... -using-php
last post..... might be interesting
when is the new version out?
http://stackoverflow.com/questions/4614 ... -using-php
last post..... might be interesting
Re: memcache poblem
Possibly at the end of the week, depends how much free time I have available to work on DietPisoletto wrote:Thx for help:-)
when is the new version out?
http://stackoverflow.com/questions/4614 ... -using-php
last post..... might be interesting

Thanks for the link, i'll take a look when I can and see whats required to implement it.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.