# \[Stretch testing\] Nextcloud / mariadb pb

**URL:** https://forum.yunohost.org/t/stretch-testing-nextcloud-mariadb-pb/4823
**Category:** Support
**Tags:** french, english
**Created:** [May 9, 2018, 11:46am UTC](https://forum.yunohost.org/t/stretch-testing-nextcloud-mariadb-pb/4823 "2018-05-09T11:46:01Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![gannonwoto](https://forum.yunohost.org/user_avatar/forum.yunohost.org/gannonwoto/32/787_2.png) [@gannonwoto](https://forum.yunohost.org/u/gannonwoto)
#### Post date: [May 12, 2018, 2:46pm UTC](https://forum.yunohost.org/t/stretch-testing-nextcloud-mariadb-pb/4823/6 "2018-05-12T14:46:22Z")

</div>

OK it’work.

So for me

> [@Aleks](#):
>
> # Export the mysql db ?
> 
> mysqldump --events --quick --single-transaction mysql \> mysql-dump.sql
> 
> #Reimport it  
> mysql mysql \< mysql-dump.sql
> 
> # Restart mysql
> 
> service mysql restart

And

```bash
apt-get install php7.0-apcu -y
service nginx restart
systemctl reload php7.0-fpm.service

```

Maybe from the beginning the problem was php7.0-apcu .  
So if you have my pb, check if you have php7.0-apcu.

And after, if you have always this pb, import and Reimport.

Log nextcloud : /home/yunohost.app/nextcloud/data/nextcloud.log

> [@Beta-testing phase for YunoHost 3.0 on Debian Stretch](https://forum.yunohost.org/t/beta-testing-phase-for-yunohost-3-0-on-debian-stretch/4798/58):
>
> J’ai trouvé !!! Nextcloud community
> 
> Script 100% auto install on Debian 9. Apache, MPM Event, php-fpm socket, Redis socket, APC
> 
> ```
> Nextcloud community 
> 
> ```
> 
> Script 100% auto install on Debian 9. Apache, MPM Event, php-fpm socket, Redis…
> 
> Wrote a script that that will 100% do everything for a full install on Debian GNU/Linux. Found a lot of cargo cult programing scripts for nginx but wanted this to work for Apache using the Event MPM with php-fpm running on unixsockets. The shell…
> 
> Reading time: 4 mins 🕑  
> Likes: 7 ❤
> 
> Il est indiqué dans le script :
> 
> apt-get install php7.0-apcu -y
> 
> Effectivement ce n’était pas là sur la machine.
> 
> J’ai installé, rédémarré nginx
> 
> Et nextcloud marche !!!

THX @Aleks @genma @Gildas

---

_[View the full topic](https://forum.yunohost.org/t/stretch-testing-nextcloud-mariadb-pb/4823)._
