Comments (11)
It would be really nice if you could write a few more words about your problem. What did you do before or were there any changes? A little more information would be appreciated.
for testing
sudo -u mysql -g mysql touch /var/lib/mysql/demo.file
ls -la /var/lib/mysql/
from dietpi.
Sorry.
I would like to move dietpi_userdata to HDD later.
My first step was to copy dietpi_userdata to HDD.
My second step was to rename dietpi_userdata to dietpi_userdata_old. (Test if the nextcloud still works)
Then I restarted all services.
"[ OK ] DietPi-Services | restart : redis-server
[FAILED] DietPi-Services | restart : mariadb
[ OK ] DietPi-Services | restart : php8.2-fpm
[ OK ] DietPi-Services | restart : nginx"
Then I have "systemctl restart mariadb.service"
"Job for mariadb.service failed because the control process exited with error code.
See "systemctl status mariadb.service" and "journalctl -xeu mariadb.service" for details."
from dietpi.
root@DietPi:~# sudo -u mysql -g mysql touch /var/lib/mysql/demo.file
ls -la /var/lib/mysql/
touch: '/var/lib/mysql/demo.file' kann nicht berührt werden: Datei oder Verzeichnis nicht gefunden
ls: Zugriff auf '/var/lib/mysql/' nicht möglich: Datei oder Verzeichnis nicht gefunden
from dietpi.
My second step was to rename dietpi_userdata to dietpi_userdata_old. (Test if the nextcloud still works)
This is causing your issue.
Pls revert all changes you have done. To move dietpi_userdata
use drive manager. There is a build-in function to handle this scenario.
from dietpi.
Ok, I have undone all the changes.
How can I now move the dietpi_userdata directory to HHD without mariadb.service and the nextcloud causing problems?
from dietpi.
root@DietPi:~# sudo -u mysql -g mysql touch /var/lib/mysql/demo.file
ls -la /var/lib/mysql/
insgesamt 188920
drwxr-xr-x 6 mysql mysql 4096 21. Jun 12:51 .
drwxrwxr-x 9 dietpi dietpi 4096 3. Aug 2023 ..
-rw-rw---- 1 mysql mysql 425984 21. Jun 12:37 aria_log.00000001
-rw-rw---- 1 mysql mysql 52 21. Jun 12:37 aria_log_control
-rw-rw---- 1 mysql mysql 9 21. Jun 12:28 ddl_recovery-backup.log
-rw-rw---- 1 mysql mysql 9 21. Jun 12:51 ddl_recovery.log
-rw-r--r-- 1 root root 0 12. Feb 17:25 debian-10.11.flag
-rw-r--r-- 1 mysql mysql 0 21. Jun 12:51 demo.file
-rw-rw---- 1 mysql mysql 16649 21. Jun 12:37 ib_buffer_pool
-rw-rw---- 1 mysql mysql 79691776 21. Jun 12:36 ibdata1
-rw-rw---- 1 mysql mysql 100663296 21. Jun 12:36 ib_logfile0
-rw-rw---- 1 mysql mysql 12582912 21. Jun 12:51 ibtmp1
-rw-rw---- 1 mysql mysql 0 13. Jul 2023 multi-master.info
drwx------ 2 mysql mysql 4096 13. Jul 2023 mysql
-rw-r--r-- 1 root mysql 15 13. Jul 2023 mysql_upgrade_info
drwx------ 2 mysql mysql 16384 20. Jun 22:23 nextcloud
drwx------ 2 mysql mysql 4096 13. Jul 2023 performance_schema
drwx------ 2 mysql mysql 12288 13. Jul 2023 sys
from dietpi.
How can I now move the dietpi_userdata directory to HHD without mariadb.service and the nextcloud causing problems?
As stated more than once, use drive manager
from dietpi.
Only use the drive manager?
What about the parameter "SOFTWARE_NEXTCLOUD_DATADIR" in the dietpi.txt?
When do I have to change it?
Before the reboot?
from dietpi.
Simply go into drive manger, select your HDD and select the User data
option. Nothing else to change.
from dietpi.
Thank you, it works.
from dietpi.
ok I will close the topic for now, feel free to reopen if needed.
from dietpi.
Related Issues (20)
- Dietpi-software: Find Baïkal by typing "baikal" HOT 2
- Can't find wifi adapter - Intel AX101 HOT 5
- Image | NanoPC CM3588 NAS
- dietpi-dashboard installs older version then whats available HOT 3
- DNS error in DietPi system HOT 4
- DietPi-Software | BunJS HOT 1
- QBittorrent Zero Peer Connection HOT 1
- Error with "apt-get update" HOT 6
- Softlock CPU Stuck Renders My Device Unresponsive HOT 1
- DietPi-Software | Bazarr new configuration file `config.yaml`
- DietPi-Software | Folding@Home - Automatic latest download URL failed HOT 1
- Error after updating HomeAssistant HOT 9
- Continuous issue dmesg warning about unprivileged eBPF being enabled and vulnerable..despite disabling. HOT 2
- Slow loading of the home assistant after installation HOT 3
- Python versions HOT 2
- nextcloud memories, Missing Line in nginx-nextcloud.conf HOT 2
- Please add support for Orange Pi 5 Max HOT 2
- dietpi-software has incorrect download URL version for nomachine HOT 2
- bluetooth tethering
- Odroid C1 - v9.7.1 update failed (location error) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dietpi.