Migrate nextcloud sqlite database to mysql inside dockerApplication updates inside of Docker containers?How...
Is there a legal way for US presidents to extend their terms beyond four years?
Should I report a leak of confidential HR information?
What does grep -v "grep" mean and do?
In native German words, is Q always followed by U, as in English?
How to answer "write something on the board"?
How can a valley surrounded by mountains be fertile and rainy?
Company threatening to call my current job after I declined their offer
Why does the same classical piece sound like it's in a different key in different recordings?
Why won't the ground take my seed?
Who are these Discworld wizards from this picture?
How can my story take place on Earth without referring to our existing cities and countries?
Is it bad to describe a character long after their introduction?
Balanced parentheses using STL C++
Adjective for 'made of pus' or 'corrupted by pus' or something of something of pus
Put my student loan in parents’ second mortgage - help?
How do I tell the reader that my character is autistic in Fantasy?
Can two or more lightbeams (from a laser for example) have visible interference when they cross in mid-air*?
Symbol for "not absolutely continuous" in Latex
Graph problems as integer programs
Sharing referee/AE report online to point out a grievous error in refereeing
Losing queen and then winning the game
How exactly is a normal force exerted, at the molecular level?
Ordered list of OR journals
Do launching rockets produce a sonic boom?
Migrate nextcloud sqlite database to mysql inside docker
Application updates inside of Docker containers?How to run a program inside a Docker container?Docker overrides my /etc/resolv.conf file inside containersRunning a program as a service or directly, what's the differencehow to migrate to docker architecture?How to specify user & group of volume via docker-compose?Running Bash Script in a Browser Even with Apache Permissions Setshell script inside dockerPermission denied inside docker containernextcloud on docker - error initializing database
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
migrate sqlite to mariadb inside a docker image?
I installed the docker-compose example from the nextcloud readme (the base version with apache) but that one still uses sqlite, although there is created a db docker image as well, but it is not used.
How do I migrate the sqlite to the created db-docker image?
I tried:
docker-compose exec --user www-data app php occ db:convert-type --all-apps mysql nextcloud 127.0.0.1 nextcloud
which asks for the database password then, but the password I initially set in docker-compose.yml
doesn't work
docker nextcloud
bumped to the homepage by Community♦ 36 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
migrate sqlite to mariadb inside a docker image?
I installed the docker-compose example from the nextcloud readme (the base version with apache) but that one still uses sqlite, although there is created a db docker image as well, but it is not used.
How do I migrate the sqlite to the created db-docker image?
I tried:
docker-compose exec --user www-data app php occ db:convert-type --all-apps mysql nextcloud 127.0.0.1 nextcloud
which asks for the database password then, but the password I initially set in docker-compose.yml
doesn't work
docker nextcloud
bumped to the homepage by Community♦ 36 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
migrate sqlite to mariadb inside a docker image?
I installed the docker-compose example from the nextcloud readme (the base version with apache) but that one still uses sqlite, although there is created a db docker image as well, but it is not used.
How do I migrate the sqlite to the created db-docker image?
I tried:
docker-compose exec --user www-data app php occ db:convert-type --all-apps mysql nextcloud 127.0.0.1 nextcloud
which asks for the database password then, but the password I initially set in docker-compose.yml
doesn't work
docker nextcloud
migrate sqlite to mariadb inside a docker image?
I installed the docker-compose example from the nextcloud readme (the base version with apache) but that one still uses sqlite, although there is created a db docker image as well, but it is not used.
How do I migrate the sqlite to the created db-docker image?
I tried:
docker-compose exec --user www-data app php occ db:convert-type --all-apps mysql nextcloud 127.0.0.1 nextcloud
which asks for the database password then, but the password I initially set in docker-compose.yml
doesn't work
docker nextcloud
docker nextcloud
edited Aug 13 '18 at 8:50
rubo77
asked Aug 13 '18 at 8:37
rubo77rubo77
8,32726 gold badges74 silver badges142 bronze badges
8,32726 gold badges74 silver badges142 bronze badges
bumped to the homepage by Community♦ 36 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 36 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
This is not an answer how to migrate but I found out:
how to install nextcloud with mysql in docker
If you have a broken installation, delete it with
docker-compose down
this deletes the containers but keeping the data in volumes.
If you really want to start over, delete the volumes also.
Restart the docker installation with
docker-compose up -d
now you will have this screen on your web access:
There is a small link Storage & Database the middle. click on it and you can select mysql as database backend this time ;)
For the database use db
as host and nextcloud
as table and user name and enter the MYSQL_PASSWORD
from your docker-compose.yml
.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f462245%2fmigrate-nextcloud-sqlite-database-to-mysql-inside-docker%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
This is not an answer how to migrate but I found out:
how to install nextcloud with mysql in docker
If you have a broken installation, delete it with
docker-compose down
this deletes the containers but keeping the data in volumes.
If you really want to start over, delete the volumes also.
Restart the docker installation with
docker-compose up -d
now you will have this screen on your web access:
There is a small link Storage & Database the middle. click on it and you can select mysql as database backend this time ;)
For the database use db
as host and nextcloud
as table and user name and enter the MYSQL_PASSWORD
from your docker-compose.yml
.
add a comment |
This is not an answer how to migrate but I found out:
how to install nextcloud with mysql in docker
If you have a broken installation, delete it with
docker-compose down
this deletes the containers but keeping the data in volumes.
If you really want to start over, delete the volumes also.
Restart the docker installation with
docker-compose up -d
now you will have this screen on your web access:
There is a small link Storage & Database the middle. click on it and you can select mysql as database backend this time ;)
For the database use db
as host and nextcloud
as table and user name and enter the MYSQL_PASSWORD
from your docker-compose.yml
.
add a comment |
This is not an answer how to migrate but I found out:
how to install nextcloud with mysql in docker
If you have a broken installation, delete it with
docker-compose down
this deletes the containers but keeping the data in volumes.
If you really want to start over, delete the volumes also.
Restart the docker installation with
docker-compose up -d
now you will have this screen on your web access:
There is a small link Storage & Database the middle. click on it and you can select mysql as database backend this time ;)
For the database use db
as host and nextcloud
as table and user name and enter the MYSQL_PASSWORD
from your docker-compose.yml
.
This is not an answer how to migrate but I found out:
how to install nextcloud with mysql in docker
If you have a broken installation, delete it with
docker-compose down
this deletes the containers but keeping the data in volumes.
If you really want to start over, delete the volumes also.
Restart the docker installation with
docker-compose up -d
now you will have this screen on your web access:
There is a small link Storage & Database the middle. click on it and you can select mysql as database backend this time ;)
For the database use db
as host and nextcloud
as table and user name and enter the MYSQL_PASSWORD
from your docker-compose.yml
.
edited Aug 13 '18 at 13:12
answered Aug 13 '18 at 13:00
rubo77rubo77
8,32726 gold badges74 silver badges142 bronze badges
8,32726 gold badges74 silver badges142 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f462245%2fmigrate-nextcloud-sqlite-database-to-mysql-inside-docker%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown