CINXE.COM

Communities do not delete cleanly in InvenioRDM11 - Community - Invenio

<!DOCTYPE html> <html lang="en-GB"> <head> <meta charset="utf-8"> <title>Communities do not delete cleanly in InvenioRDM11 - Community - Invenio</title> <meta name="description" content="Hi, I am running latest 11 release, I have an admin account. I create a new community called (say ) a999 with identifier a999 I do NOT upload anything to it. I delete community a999 - it SAYS its gone BUT when I try &amp;hellip;"> <meta name="generator" content="Discourse 3.4.0.beta3-dev - https://github.com/discourse/discourse version 4d1e66418cdb08028ab3d616ba90b8d003783cae"> <link rel="icon" type="image/png" href="https://invenio-talk.web.cern.ch/uploads/default/optimized/1X/_129430568242d1b7f853bb13ebea28b3f6af4e7_2_32x32.png"> <link rel="apple-touch-icon" type="image/png" href="https://invenio-talk.web.cern.ch/uploads/default/optimized/1X/_129430568242d1b7f853bb13ebea28b3f6af4e7_2_180x180.png"> <meta name="theme-color" media="all" content="#0377cd"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, user-scalable=yes, viewport-fit=cover"> <link rel="canonical" href="https://invenio-talk.web.cern.ch/t/communities-do-not-delete-cleanly-in-inveniordm11/315" /> <link rel="search" type="application/opensearchdescription+xml" href="https://invenio-talk.web.cern.ch/opensearch.xml" title="Invenio Search"> <link href="/stylesheets/color_definitions_invenio-colors_3_3_9ed6b39db0bb5e21484139466c4146bec81f031e.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" class="light-scheme"/> <link href="/stylesheets/desktop_ad226f30fe9dfc4f9cc1c38a76cb7ef0dce672c3.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="desktop" /> <link href="/stylesheets/checklist_ad226f30fe9dfc4f9cc1c38a76cb7ef0dce672c3.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="checklist" /> <link href="/stylesheets/discourse-details_ad226f30fe9dfc4f9cc1c38a76cb7ef0dce672c3.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="discourse-details" /> <link href="/stylesheets/discourse-lazy-videos_ad226f30fe9dfc4f9cc1c38a76cb7ef0dce672c3.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="discourse-lazy-videos" /> <link href="/stylesheets/discourse-local-dates_ad226f30fe9dfc4f9cc1c38a76cb7ef0dce672c3.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="discourse-local-dates" /> <link href="/stylesheets/discourse-narrative-bot_ad226f30fe9dfc4f9cc1c38a76cb7ef0dce672c3.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="discourse-narrative-bot" /> <link href="/stylesheets/discourse-presence_ad226f30fe9dfc4f9cc1c38a76cb7ef0dce672c3.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="discourse-presence" /> <link href="/stylesheets/discourse-solved_ad226f30fe9dfc4f9cc1c38a76cb7ef0dce672c3.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="discourse-solved" /> <link href="/stylesheets/discourse-templates_ad226f30fe9dfc4f9cc1c38a76cb7ef0dce672c3.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="discourse-templates" /> <link href="/stylesheets/discourse-voting_ad226f30fe9dfc4f9cc1c38a76cb7ef0dce672c3.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="discourse-voting" /> <link href="/stylesheets/footnote_ad226f30fe9dfc4f9cc1c38a76cb7ef0dce672c3.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="footnote" /> <link href="/stylesheets/poll_ad226f30fe9dfc4f9cc1c38a76cb7ef0dce672c3.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="poll" /> <link href="/stylesheets/spoiler-alert_ad226f30fe9dfc4f9cc1c38a76cb7ef0dce672c3.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="spoiler-alert" /> <link href="/stylesheets/discourse-voting_desktop_ad226f30fe9dfc4f9cc1c38a76cb7ef0dce672c3.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="discourse-voting_desktop" /> <link href="/stylesheets/poll_desktop_ad226f30fe9dfc4f9cc1c38a76cb7ef0dce672c3.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="poll_desktop" /> <link href="/stylesheets/desktop_theme_3_f0fe5ba92aa24eafd7421e95c28504a28ad98ca2.css?__ws=invenio-talk.web.cern.ch" media="all" rel="stylesheet" data-target="desktop_theme" data-theme-id="3" data-theme-name="shades of blue"/> <link rel="alternate nofollow" type="application/rss+xml" title="RSS feed of &#39;Communities do not delete cleanly in InvenioRDM11&#39;" href="https://invenio-talk.web.cern.ch/t/communities-do-not-delete-cleanly-in-inveniordm11/315.rss" /> <meta property="og:site_name" content="Invenio" /> <meta property="og:type" content="website" /> <meta name="twitter:card" content="summary" /> <meta name="twitter:image" content="https://invenio-talk.web.cern.ch/uploads/default/original/1X/365b3da954a64ad5402137fe610018898acec6a9.png" /> <meta property="og:image" content="https://invenio-talk.web.cern.ch/uploads/default/original/1X/365b3da954a64ad5402137fe610018898acec6a9.png" /> <meta property="og:url" content="https://invenio-talk.web.cern.ch/t/communities-do-not-delete-cleanly-in-inveniordm11/315" /> <meta name="twitter:url" content="https://invenio-talk.web.cern.ch/t/communities-do-not-delete-cleanly-in-inveniordm11/315" /> <meta property="og:title" content="Communities do not delete cleanly in InvenioRDM11" /> <meta name="twitter:title" content="Communities do not delete cleanly in InvenioRDM11" /> <meta property="og:description" content="Hi, I am running latest 11 release, I have an admin account. I create a new community called (say ) a999 with identifier a999 I do NOT upload anything to it. I delete community a999 - it SAYS its gone BUT when I try to create community again a999 , I get an error saying the identifier is still in use. Does this mean I can reuse the same community name but HAVE to alter the identifier??? Awkward if I have network load balancers pointing to URLS based on community identifiers. Any advice? ..." /> <meta name="twitter:description" content="Hi, I am running latest 11 release, I have an admin account. I create a new community called (say ) a999 with identifier a999 I do NOT upload anything to it. I delete community a999 - it SAYS its gone BUT when I try to create community again a999 , I get an error saying the identifier is still in use. Does this mean I can reuse the same community name but HAVE to alter the identifier??? Awkward if I have network load balancers pointing to URLS based on community identifiers. Any advice? ..." /> <meta property="og:article:section" content="Community" /> <meta property="og:article:section:color" content="12A89D" /> <meta property="article:published_time" content="2023-07-22T21:54:38+00:00" /> <meta property="og:ignore_canonical" content="true" /> </head> <body class="crawler browser-update"> <header> <a href="/"> Invenio </a> </header> <div id="main-outlet" class="wrap" role="main"> <div id="topic-title"> <h1> <a href="/t/communities-do-not-delete-cleanly-in-inveniordm11/315">Communities do not delete cleanly in InvenioRDM11</a> </h1> <div class="topic-category" itemscope itemtype="http://schema.org/BreadcrumbList"> <span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> <a href="/c/community/11" class="badge-wrapper bullet" itemprop="item"> <span class='badge-category-bg' style='background-color: #12A89D'></span> <span class='badge-category clear-badge'> <span class='category-name' itemprop='name'>Community</span> </span> </a> <meta itemprop="position" content="1" /> </span> </div> </div> <div itemscope itemtype='http://schema.org/DiscussionForumPosting'> <meta itemprop='headline' content='Communities do not delete cleanly in InvenioRDM11'> <link itemprop='url' href='https://invenio-talk.web.cern.ch/t/communities-do-not-delete-cleanly-in-inveniordm11/315'> <meta itemprop='datePublished' content='2023-07-22T21:54:37Z'> <meta itemprop='articleSection' content='Community'> <meta itemprop='keywords' content=''> <div itemprop='publisher' itemscope itemtype="http://schema.org/Organization"> <meta itemprop='name' content='Invenio'> <div itemprop='logo' itemscope itemtype="http://schema.org/ImageObject"> <meta itemprop='url' content='https://invenio-talk.web.cern.ch/uploads/default/original/1X/365b3da954a64ad5402137fe610018898acec6a9.png'> </div> </div> <div id='post_1' class='topic-body crawler-post'> <div class='crawler-post-meta'> <span class="creator" itemprop="author" itemscope itemtype="http://schema.org/Person"> <a itemprop="url" href='https://invenio-talk.web.cern.ch/u/ivanbishop'><span itemprop='name'>ivanbishop</span></a> </span> <link itemprop="mainEntityOfPage" href="https://invenio-talk.web.cern.ch/t/communities-do-not-delete-cleanly-in-inveniordm11/315"> <span class="crawler-post-infos"> <time datetime='2023-07-22T21:54:38Z' class='post-time'> 22 July 2023 21:54 </time> <meta itemprop='dateModified' content='2023-07-22T21:54:38Z'> <span itemprop='position'>1</span> </span> </div> <div class='post' itemprop='text'> <p>Hi, I am running latest 11 release, I have an admin account.</p> <p>I create a new community called (say ) a999 with identifier a999<br> I do NOT upload anything to it.</p> <p>I delete community a999 - it SAYS its gone</p> <p>BUT when I try to create community again a999 , I get an error saying the identifier is still in use.</p> <p>Does this mean I can reuse the same community name but HAVE to alter the identifier???</p> <p>Awkward if I have network load balancers pointing to URLS based on community identifiers.</p> <p>Any advice?</p> <p>Thanks’<br> ivan</p> </div> <div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter"> <meta itemprop="interactionType" content="http://schema.org/LikeAction"/> <meta itemprop="userInteractionCount" content="0" /> <span class='post-likes'></span> </div> </div> <div id='post_2' itemprop='comment' itemscope itemtype='http://schema.org/Comment' class='topic-body crawler-post'> <div class='crawler-post-meta'> <span class="creator" itemprop="author" itemscope itemtype="http://schema.org/Person"> <a itemprop="url" href='https://invenio-talk.web.cern.ch/u/nitarocc'><span itemprop='name'>nitarocc</span></a> </span> <link itemprop="image" href="https://invenio-talk.web.cern.ch/uploads/default/original/1X/19478917536db9447f3a98d5d6f668bdf8b91feb.jpeg"> <span class="crawler-post-infos"> <time itemprop='datePublished' datetime='2023-07-28T16:00:12Z' class='post-time'> 28 July 2023 16:00 </time> <meta itemprop='dateModified' content='2023-07-28T16:00:12Z'> <span itemprop='position'>2</span> </span> </div> <div class='post' itemprop='text'> <aside class="quote no-group" data-username="ivanbishop" data-post="1" data-topic="315"> <div class="title"> <div class="quote-controls"></div> <img loading="lazy" alt="" width="24" height="24" src="https://invenio-talk.web.cern.ch/user_avatar/invenio-talk.web.cern.ch/ivanbishop/48/236_2.png" class="avatar"> ivanbishop:</div> <blockquote> <p>when I try to create community again a999 , I get an error</p> </blockquote> </aside> <p>Hello, it is by design: this is to avoid that someone else will use the same name and URL, when a community is deleted. If this was possible, and the link to the community was previously shared, the link would now resolve to a different community.<br> It is also very well highlighted it when deleting (depending on the InvenioRDM version):<br> <img src="https://invenio-talk.web.cern.ch/uploads/default/original/1X/19478917536db9447f3a98d5d6f668bdf8b91feb.jpeg" alt="Screenshot 2023-07-28 at 17.44.49" data-base62-sha1="3BDcsdwwVZvAC2zRZUY0JKeRzYv" width="579" height="460"></p> <p>If you really need to do that, you can programmatically delete it completely, by changing database’s rows, which is not straightforward.</p> <p>Feel free to <a href="https://inveniordm.docs.cern.ch/develop/getting-started/help/">join the chat</a> and ask questions there, other users might have similar use cases and can help.</p> </div> <div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter"> <meta itemprop="interactionType" content="http://schema.org/LikeAction"/> <meta itemprop="userInteractionCount" content="0" /> <span class='post-likes'></span> </div> </div> </div> </div> <footer class="container wrap"> <nav class='crawler-nav'> <ul> <li itemscope itemtype='http://schema.org/SiteNavigationElement'> <span itemprop='name'> <a href='/' itemprop="url">Home </a> </span> </li> <li itemscope itemtype='http://schema.org/SiteNavigationElement'> <span itemprop='name'> <a href='/categories' itemprop="url">Categories </a> </span> </li> <li itemscope itemtype='http://schema.org/SiteNavigationElement'> <span itemprop='name'> <a href='/guidelines' itemprop="url">Guidelines </a> </span> </li> <li itemscope itemtype='http://schema.org/SiteNavigationElement'> <span itemprop='name'> <a href='/tos' itemprop="url">Terms of Service </a> </span> </li> <li itemscope itemtype='http://schema.org/SiteNavigationElement'> <span itemprop='name'> <a href='/privacy' itemprop="url">Privacy Policy </a> </span> </li> </ul> </nav> <p class='powered-by-link'>Powered by <a href="https://www.discourse.org">Discourse</a>, best viewed with JavaScript enabled</p> </footer> <div class="buorg"><div>Unfortunately, <a href="https://www.discourse.org/faq/#browser">your browser is unsupported</a>. Please <a href="https://browsehappy.com">switch to a supported browser</a> to view rich content, log in and reply.</div></div> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10