[ckan-dev] Delete draft package - SOLVED

lucia.espona at wsl.ch lucia.espona at wsl.ch
Tue Jan 10 11:25:30 UTC 2017


 Dear all

I tried again to rebuild the index, now I followed the instructions on http://docs.ckan.org/en/latest/maintaining/paster.html#search-index-rebuild-search-index
For some reason this time it worked and the draft datasets disappeared, I guess I used the wrong options last time.

Best,
Lucia
_________________________________________________________
Dr. Lucia Espona Pernas

Swiss Federal Institute for Forest, Snow and Landscape Research WSL
Hauptgebäaude Labortrakt (HL C21)
Zürcherstrasse 111
8903 Birmensdorf
Switzerland

+41 44 739 28 71 phone direct
+41 44 739 21 11 reception

www.wsl.ch

-----"ckan-dev" <ckan-dev-bounces at lists.okfn.org> wrote: -----
To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
From: lucia.espona at wsl.ch
Sent by: "ckan-dev" 
Date: 10.01.2017 11:30
Subject: Re: [ckan-dev] Delete draft package :(still no solution)

Dear Harald

I cannot access the draft packages at all, not even view them (I get a "404 not found").
I can see the entries in "My Datasets", I restarted the portal and recreated the SOLR index multiple times, so I assume this data is in the database somewhere. 

I attached some screenshots.

Thanks anyway for your support.

Best,
Lucia






_________________________________________________________
Dr. Lucia Espona Pernas

Swiss Federal Institute for Forest, Snow and Landscape Research WSL
Hauptgebäaude Labortrakt (HL C21)
Zürcherstrasse 111
8903 Birmensdorf
Switzerland

+41 44 739 28 71 phone direct
+41 44 739 21 11 reception

www.wsl.ch

-----"ckan-dev" <ckan-dev-bounces at lists.okfn.org> wrote: -----
To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
From: Harald von Waldow 
Sent by: "ckan-dev" 
Date: 10.01.2017 10:27
Subject: Re: [ckan-dev] Delete draft package :(still no solution)

Hi Lucia,

I usually add a dummy resource to a draft package so it becomes an
ordinary one which can then be deleted in the usual fashion.

Greetings,
Harald

On 2017-01-09 17:20, lucia.espona at wsl.ch wrote:
> Dear all
> 
> Does any of you know where the draft datasets are stored in the DB?
> I am trying since moths to get rid of some test ones that cannot be
> deleted by usual means (UI).
> 
> Any hint will be appreciated.
> 
> Best,
> Lucia
> 
> _________________________________________________________
> Dr. Lucia Espona Pernas
> 
> Swiss Federal Institute for Forest, Snow and Landscape Research WSL
> Hauptgebäaude Labortrakt (HL C21)
> Zürcherstrasse 111
> 8903 Birmensdorf
> Switzerland
> 
> +41 44 739 28 71 phone direct
> +41 44 739 21 11 reception
> 
> www.wsl.ch <http://www.wsl.ch>
> 
> -----"ckan-dev" <ckan-dev-bounces at lists.okfn.org> wrote: -----
> To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
> From: lucia.espona at wsl.ch
> Sent by: "ckan-dev"
> Date: 05.12.2016 16:19
> Subject: Re: [ckan-dev] Delete draft package
> 
> Thanks Tim
> 
> Everything else works fine, I rebuilded the indexes with no sucess
> already as I said in my first mail.
> I think I did a real mess creating datasets with the same name, deleting
> the finished and leaving the drafts somehow.
> It is not an usual case, therefore I am happy with any hack-type
> solution to get them removed just once, I cannot even find them in the
> database.
> 
> Best,
> Lucia
> 
> _________________________________________________________
> Dr. Lucia Espona Pernas
> 
> Swiss Federal Institute for Forest, Snow and Landscape Research WSL
> Hauptgebäaude Labortrakt (HL C21)
> Zürcherstrasse 111
> 8903 Birmensdorf
> Switzerland
> 
> +41 44 739 28 71 phone direct
> +41 44 739 21 11 reception
> 
> www.wsl.ch <http://www.wsl.ch>
> 
> -----"ckan-dev" <ckan-dev-bounces at lists.okfn.org> wrote: -----
> To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
> From: Timothy Giles
> Sent by: "ckan-dev"
> Date: 05.12.2016 15:41
> Subject: Re: [ckan-dev] Delete draft package
> 
> Hi Lucia,
> 
>  
> 
> If you delete and purge an active package does it disappear?
> 
>  
> 
> I have had issues with SOLR not refreshing the index and needed to get
> it to reindex in the past. There is a paster command you can run, don’t
> have it to hand but it is documented in the Documentation paster scripts
> page.
> 
>  
> 
> Regards Tim
> 
>  
> 
> *From:*ckan-dev [mailto:ckan-dev-bounces at lists.okfn.org] *On Behalf Of
> *lucia.espona at wsl.ch
> *Sent:* den 5 december 2016 14:00
> *To:* CKAN Development Discussions <ckan-dev at lists.okfn.org>
> *Subject:* Re: [ckan-dev] Delete draft package
> 
>  
> 
> Dear Matthew
> 
> Yes, I did purge everything but still they keep appearing...
> I attached a screenshot.
> 
> Thanks anyway,
> Lucia
> 
> 
> _________________________________________________________
> Dr. Lucia Espona Pernas
> 
> Swiss Federal Institute for Forest, Snow and Landscape Research WSL
> Hauptgebäaude Labortrakt (HL C21)
> Zürcherstrasse 111
> 8903 Birmensdorf
> Switzerland
> 
> +41 44 739 28 71 phone direct
> +41 44 739 21 11 reception
> 
> www.wsl.ch <http://www.wsl.ch>
> 
> -----"ckan-dev" <ckan-dev-bounces at lists.okfn.org
> <mailto:ckan-dev-bounces at lists.okfn.org>> wrote: -----
> 
> To: CKAN Development Discussions <ckan-dev at lists.okfn.org
> <mailto:ckan-dev at lists.okfn.org>>
> From: Matthew Fullerton
> Sent by: "ckan-dev"
> Date: 05.12.2016 11:34
> Subject: Re: [ckan-dev] Delete draft package
> 
> Just checking, but have you done the "purge datasets" step in the admin
> area to permanently remove deleted datasets?
> 
>  
> 
> On 28 November 2016 at 12:05, <lucia.espona at wsl.ch
> <mailto:lucia.espona at wsl.ch>> wrote:
> 
> ÿ ÿ Dear all
> 
> ÿ ÿ I got no answer so far for my mail below :(
> ÿ ÿ ... does anyone know where the draft datasets are stored? in the
> ÿ ÿ database?
> 
> ÿ ÿ Any help is appreciated.
> 
> ÿ ÿ Best,
> ÿ ÿ Lucia
> 
> ÿ ÿ Dear all
> 
> ÿ ÿ On my list of datasets in the dashboard two datasets appear that are
> ÿ ÿ drafts. I cannot access them (I get 404 Not Found) in order to
> ÿ ÿ delete them.
> ÿ ÿ I think there was some mess because I created many drafts and one
> ÿ ÿ finalized dataset with same package name while testing, then I
> ÿ ÿ deleted the finalized package.
> 
> ÿ ÿ This two draf datasets do not appear in the package table in the
> ÿ ÿ database.
> ÿ ÿ I rebuild the indexes in case that may help but no success.
> 
> ÿ ÿ Any idea how can I delete them?
> 
> ÿ ÿ Thanks,
> ÿ ÿ Lucia
> ÿ ÿ _________________________________________________________
> ÿ ÿ Dr. Lucia Espona Pernas
> 
> ÿ ÿ Swiss Federal Institute for Forest, Snow and Landscape Research WSL
> ÿ ÿ Hauptgeb„aude Labortrakt (HL C21)
> ÿ ÿ Zrcherstrasse 111
> ÿ ÿ 8903 Birmensdorf
> ÿ ÿ Switzerland
> 
> ÿ ÿ +41 44 739 28 71 <tel:+41%2044%20739%2028%2071> phone direct
> ÿ ÿ +41 44 739 21 11 <tel:+41%2044%20739%2021%2011> reception
> 
> ÿ ÿ www.wsl.ch <http://www.wsl.ch>
> 
> ÿ ÿ _______________________________________________
> ÿ ÿ ckan-dev mailing list
> ÿ ÿ ckan-dev at lists.okfn.org <mailto:ckan-dev at lists.okfn.org>
> ÿ ÿ https://lists.okfn.org/mailman/listinfo/ckan-dev
> ÿ ÿ Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
> 
> 
> ÿ ÿ _______________________________________________
> ÿ ÿ ckan-dev mailing list
> ÿ ÿ ckan-dev at lists.okfn.org <mailto:ckan-dev at lists.okfn.org>
> ÿ ÿ https://lists.okfn.org/mailman/listinfo/ckan-dev
> ÿ ÿ Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
> 
> ÿ
> 
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org <mailto:ckan-dev at lists.okfn.org>
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
> 
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
> 
> 
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
> 

-- 
Harald von Waldow
Eawag
ICT Services
Ueberlandstrasse 133
8600 Duebendorf
http://www.eawag.ch

_______________________________________________
ckan-dev mailing list
ckan-dev at lists.okfn.org
https://lists.okfn.org/mailman/listinfo/ckan-dev
Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev


[attachment "signature.asc" removed by Lucia Espona Pernas/WSL] 
_______________________________________________
ckan-dev mailing list
ckan-dev at lists.okfn.org
https://lists.okfn.org/mailman/listinfo/ckan-dev
Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20170110/fa884ffe/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Image.572982303122.png
Type: image/png
Size: 124106 bytes
Desc: not available
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20170110/fa884ffe/attachment-0003.png>


More information about the ckan-dev mailing list