[ckan-dev] Delete draft package :(still no solution)

lucia.espona at wsl.ch lucia.espona at wsl.ch
Tue Jan 10 10:26:37 UTC 2017


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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20170110/78622746/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/78622746/attachment-0003.png>


More information about the ckan-dev mailing list