Command to clear taskwarrior server?












0














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:




  1. remove backlog.data, completed.data, pending.data and undo.data from ~/.task/. And enter the command sudo task sync init.

  2. remove backlog.data, completed.data, pending.data and undo.data from ~/.task/. Recreate those files by creating a single task using command task add task1. Enter the command sudo task sync init.

  3. 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.

  4. 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.

  5. 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.


Task purge did not delete the tasks from the local taskwarrior.



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?










share|improve this question





























    0














    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:




    1. remove backlog.data, completed.data, pending.data and undo.data from ~/.task/. And enter the command sudo task sync init.

    2. remove backlog.data, completed.data, pending.data and undo.data from ~/.task/. Recreate those files by creating a single task using command task add task1. Enter the command sudo task sync init.

    3. 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.

    4. 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.

    5. 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.


    Task purge did not delete the tasks from the local taskwarrior.



    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?










    share|improve this question



























      0












      0








      0







      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:




      1. remove backlog.data, completed.data, pending.data and undo.data from ~/.task/. And enter the command sudo task sync init.

      2. remove backlog.data, completed.data, pending.data and undo.data from ~/.task/. Recreate those files by creating a single task using command task add task1. Enter the command sudo task sync init.

      3. 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.

      4. 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.

      5. 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.


      Task purge did not delete the tasks from the local taskwarrior.



      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?










      share|improve this question















      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:




      1. remove backlog.data, completed.data, pending.data and undo.data from ~/.task/. And enter the command sudo task sync init.

      2. remove backlog.data, completed.data, pending.data and undo.data from ~/.task/. Recreate those files by creating a single task using command task add task1. Enter the command sudo task sync init.

      3. 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.

      4. 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.

      5. 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.


      Task purge did not delete the tasks from the local taskwarrior.



      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 17 at 14:42

























      asked Dec 17 at 11:58









      a.t.

      1317




      1317



























          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
          });


          }
          });














          draft saved

          draft discarded


















          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
















          draft saved

          draft discarded




















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          Probability when a professor distributes a quiz and homework assignment to a class of n students.

          Aardman Animations

          Are they similar matrix