Command to clear taskwarrior server?
During the debugging of this script https://github.com/a-t-0/PublicCodeLibrary/tree/master/AutomationAndSystems/Taskwarrior/CustomSort, I am trying to remove the task data from my taskd taskwarrior server.
There I am not aware of a taskwarrior forum and the https://botbot.me/freenode/taskwarrior/ is down. So I figured I would ask it here at Super User.
Initially, I misunderstood the meaning of the command task sync init
. I thought it pushes the local tasks on the taskserver as being the complete list that should be on the taskserver. However that is an invalid assumption, in reality it just adds the tasks, as is stated here https://taskwarrior.org/docs/taskserver/sync.html. So the command in itself is not sufficient to clear the taskserver.
Hence I have also tried:
- remove
backlog.data
,completed.data
,pending.data
andundo.data
from~/.task/
. And enter the commandsudo task sync init
. - remove
backlog.data
,completed.data
,pending.data
andundo.data
from~/.task/
. Recreate those files by creating a single task using commandtask add task1
. Enter the commandsudo task sync init
. - Remove the taskwarrior server from ubuntu WSL 16.04 using command
apt-get remove taskd
and rebooting WSL Ubuntu 16.04 and repeating first step 1, then step 2. Both not effective. - Remove the taskwarrior server from ubuntu WSL 16.04 using command
apt-get purge taskd
and rebooting WSL Ubuntu 16.04 and repeating first step 1, then step 2. Both not effective. As suggested here: https://askubuntu.com/questions/187888/what-is-the-correct-way-to-completely-remove-an-application. followed by step 1 and step 2. - I updated to taskwarrior 2.6.0 to use the purge command on all tasks as: task purge, but it did not remove the tasks from the local taskwarrior, so it doesn't remove them from the taskserver either.
A way to effectively clear the taskserver is to completely un-install the WSL Ubuntu, and re-install taskwarrior, taskwarrior server and the other software I run on the Ubuntu. As much as that is an excellent exercise in forcing me to think very well before I try another debugging test that corrupts the data, I am also eager to learn about the functioning of taskwarriors taskserver.
Therefore I wonder if someone knows the command(s) to clear the taskwarrior server from within Ubuntu?
ubuntu command-line sync taskwarrior
add a comment |
During the debugging of this script https://github.com/a-t-0/PublicCodeLibrary/tree/master/AutomationAndSystems/Taskwarrior/CustomSort, I am trying to remove the task data from my taskd taskwarrior server.
There I am not aware of a taskwarrior forum and the https://botbot.me/freenode/taskwarrior/ is down. So I figured I would ask it here at Super User.
Initially, I misunderstood the meaning of the command task sync init
. I thought it pushes the local tasks on the taskserver as being the complete list that should be on the taskserver. However that is an invalid assumption, in reality it just adds the tasks, as is stated here https://taskwarrior.org/docs/taskserver/sync.html. So the command in itself is not sufficient to clear the taskserver.
Hence I have also tried:
- remove
backlog.data
,completed.data
,pending.data
andundo.data
from~/.task/
. And enter the commandsudo task sync init
. - remove
backlog.data
,completed.data
,pending.data
andundo.data
from~/.task/
. Recreate those files by creating a single task using commandtask add task1
. Enter the commandsudo task sync init
. - Remove the taskwarrior server from ubuntu WSL 16.04 using command
apt-get remove taskd
and rebooting WSL Ubuntu 16.04 and repeating first step 1, then step 2. Both not effective. - Remove the taskwarrior server from ubuntu WSL 16.04 using command
apt-get purge taskd
and rebooting WSL Ubuntu 16.04 and repeating first step 1, then step 2. Both not effective. As suggested here: https://askubuntu.com/questions/187888/what-is-the-correct-way-to-completely-remove-an-application. followed by step 1 and step 2. - I updated to taskwarrior 2.6.0 to use the purge command on all tasks as: task purge, but it did not remove the tasks from the local taskwarrior, so it doesn't remove them from the taskserver either.
A way to effectively clear the taskserver is to completely un-install the WSL Ubuntu, and re-install taskwarrior, taskwarrior server and the other software I run on the Ubuntu. As much as that is an excellent exercise in forcing me to think very well before I try another debugging test that corrupts the data, I am also eager to learn about the functioning of taskwarriors taskserver.
Therefore I wonder if someone knows the command(s) to clear the taskwarrior server from within Ubuntu?
ubuntu command-line sync taskwarrior
add a comment |
During the debugging of this script https://github.com/a-t-0/PublicCodeLibrary/tree/master/AutomationAndSystems/Taskwarrior/CustomSort, I am trying to remove the task data from my taskd taskwarrior server.
There I am not aware of a taskwarrior forum and the https://botbot.me/freenode/taskwarrior/ is down. So I figured I would ask it here at Super User.
Initially, I misunderstood the meaning of the command task sync init
. I thought it pushes the local tasks on the taskserver as being the complete list that should be on the taskserver. However that is an invalid assumption, in reality it just adds the tasks, as is stated here https://taskwarrior.org/docs/taskserver/sync.html. So the command in itself is not sufficient to clear the taskserver.
Hence I have also tried:
- remove
backlog.data
,completed.data
,pending.data
andundo.data
from~/.task/
. And enter the commandsudo task sync init
. - remove
backlog.data
,completed.data
,pending.data
andundo.data
from~/.task/
. Recreate those files by creating a single task using commandtask add task1
. Enter the commandsudo task sync init
. - Remove the taskwarrior server from ubuntu WSL 16.04 using command
apt-get remove taskd
and rebooting WSL Ubuntu 16.04 and repeating first step 1, then step 2. Both not effective. - Remove the taskwarrior server from ubuntu WSL 16.04 using command
apt-get purge taskd
and rebooting WSL Ubuntu 16.04 and repeating first step 1, then step 2. Both not effective. As suggested here: https://askubuntu.com/questions/187888/what-is-the-correct-way-to-completely-remove-an-application. followed by step 1 and step 2. - I updated to taskwarrior 2.6.0 to use the purge command on all tasks as: task purge, but it did not remove the tasks from the local taskwarrior, so it doesn't remove them from the taskserver either.
A way to effectively clear the taskserver is to completely un-install the WSL Ubuntu, and re-install taskwarrior, taskwarrior server and the other software I run on the Ubuntu. As much as that is an excellent exercise in forcing me to think very well before I try another debugging test that corrupts the data, I am also eager to learn about the functioning of taskwarriors taskserver.
Therefore I wonder if someone knows the command(s) to clear the taskwarrior server from within Ubuntu?
ubuntu command-line sync taskwarrior
During the debugging of this script https://github.com/a-t-0/PublicCodeLibrary/tree/master/AutomationAndSystems/Taskwarrior/CustomSort, I am trying to remove the task data from my taskd taskwarrior server.
There I am not aware of a taskwarrior forum and the https://botbot.me/freenode/taskwarrior/ is down. So I figured I would ask it here at Super User.
Initially, I misunderstood the meaning of the command task sync init
. I thought it pushes the local tasks on the taskserver as being the complete list that should be on the taskserver. However that is an invalid assumption, in reality it just adds the tasks, as is stated here https://taskwarrior.org/docs/taskserver/sync.html. So the command in itself is not sufficient to clear the taskserver.
Hence I have also tried:
- remove
backlog.data
,completed.data
,pending.data
andundo.data
from~/.task/
. And enter the commandsudo task sync init
. - remove
backlog.data
,completed.data
,pending.data
andundo.data
from~/.task/
. Recreate those files by creating a single task using commandtask add task1
. Enter the commandsudo task sync init
. - Remove the taskwarrior server from ubuntu WSL 16.04 using command
apt-get remove taskd
and rebooting WSL Ubuntu 16.04 and repeating first step 1, then step 2. Both not effective. - Remove the taskwarrior server from ubuntu WSL 16.04 using command
apt-get purge taskd
and rebooting WSL Ubuntu 16.04 and repeating first step 1, then step 2. Both not effective. As suggested here: https://askubuntu.com/questions/187888/what-is-the-correct-way-to-completely-remove-an-application. followed by step 1 and step 2. - I updated to taskwarrior 2.6.0 to use the purge command on all tasks as: task purge, but it did not remove the tasks from the local taskwarrior, so it doesn't remove them from the taskserver either.
A way to effectively clear the taskserver is to completely un-install the WSL Ubuntu, and re-install taskwarrior, taskwarrior server and the other software I run on the Ubuntu. As much as that is an excellent exercise in forcing me to think very well before I try another debugging test that corrupts the data, I am also eager to learn about the functioning of taskwarriors taskserver.
Therefore I wonder if someone knows the command(s) to clear the taskwarrior server from within Ubuntu?
ubuntu command-line sync taskwarrior
ubuntu command-line sync taskwarrior
edited Dec 17 '18 at 14:42
asked Dec 17 '18 at 11:58
a.t.
1317
1317
add a comment |
add a comment |
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
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: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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%2fsuperuser.com%2fquestions%2f1385227%2fcommand-to-clear-taskwarrior-server%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Super User!
- 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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2fsuperuser.com%2fquestions%2f1385227%2fcommand-to-clear-taskwarrior-server%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