Re: [Arches] Arches 5.0 Docker setup problems

2020-03-03 Thread Ben O'Steen
Hi,

I think the key error is on line 63 of the gist you posted. For some
reason, it is interpreting file bind mount as a directory and not as a
file. If I run the default docker compose file here, and start up the db
container, this is the log output I get:

$  docker logs db
Add rule to pg_hba: 0.0.0.0/0
Add rule to pg_hba: replication replicator
Setup master database
2020-03-04 00:28:12.848 UTC [25] LOG:  starting PostgreSQL 12.1 (Debian
12.1-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6)
8.3.0, 64-bit
2020-03-04 00:28:12.849 UTC [25] LOG:  listening on IPv4 address
"127.0.0.1", port 5432
2020-03-04 00:28:12.855 UTC [25] LOG:  listening on Unix socket
"/var/run/postgresql/.s.PGSQL.5432"
2020-03-04 00:28:12.928 UTC [36] LOG:  database system was shut down at
2019-12-03 16:35:30 UTC
2020-03-04 00:28:12.931 UTC [37] postgres@postgres FATAL:  the database
system is starting up
psql: error: could not connect to server: FATAL:  the database system is
starting up
2020-03-04 00:28:12.948 UTC [25] LOG:  database system is ready to accept
connections
  List of databases
   Name|  Owner   | Encoding | Collate |  Ctype  |   Access privileges
---+--+--+-+-+---
 postgres  | postgres | UTF8 | C.UTF-8 | C.UTF-8 |
 template0 | postgres | UTF8 | C.UTF-8 | C.UTF-8 | =c/postgres
 +
   |  |  | | | postgres=CTc/postgres
 template1 | postgres | UTF8 | C.UTF-8 | C.UTF-8 | =c/postgres
 +
   |  |  | | | postgres=CTc/postgres
(3 rows)

postgres ready
Setup postgres User:Password
Creating superuser postgres
ALTER ROLE
Creating replication user replicator
CREATE ROLE
postgres db already exists
  List of databases
   Name|  Owner   | Encoding | Collate |  Ctype  |   Access privileges
---+--+--+-+-+---
 postgres  | postgres | UTF8 | C.UTF-8 | C.UTF-8 |
 template0 | postgres | UTF8 | C.UTF-8 | C.UTF-8 | =c/postgres
 +
   |  |  | | | postgres=CTc/postgres
 template1 | postgres | UTF8 | C.UTF-8 | C.UTF-8 | =c/postgres
 +
   |  |  | | | postgres=CTc/postgres
(3 rows)

/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init.sql
CREATE DATABASE
UPDATE 1
You are now connected to database "template_postgis" as user "postgres".
CREATE EXTENSION
GRANT
GRANT
GRANT
CREATE EXTENSION

2020-03-04 00:28:16.764 UTC [25] LOG:  received smart shutdown request
2020-03-04 00:28:16.783 UTC [25] LOG:  background worker "logical
replication launcher" (PID 44) exited with exit code 1
2020-03-04 00:28:16.791 UTC [39] LOG:  shutting down
2020-03-04 00:28:16.866 UTC [25] LOG:  database system is shut down
Postgres initialisation process completed  restarting in foreground


Why it is different for you I cannot tell right now. I'm using
docker-compose version 1.24.1 (docker engine 19.03.5).

Ben

On Tue, 3 Mar 2020 at 15:13, David Osborne 
wrote:

> I need a new Arches installation to develop some stuff for a conference
> presentation, so I thought I'd take the opportunity to not only use the
> latest version but also run it under Docker.
>
> Following the instructions at
> https://github.com/archesproject/arches/blob/master/docker/Readme.md, I
> got as far as Quick Start step 6, docker-compose up, but there were
> problems creating the database for my *archesdemo* project.
>
> I've uploaded my docker-compose.yml file and the results of running 
> docker-compose
> up into a gist at
> https://gist.github.com/daosborne/cd501c56dc117e066b4f118f15af7e57 to
> show the problem. Is it obvious what I've missed or is wrong?
>
> I'm running Docker Desktop 2.2.0.3 on MacOS 10.14.6 Mojave.
>
> Thanks!
> David
>
> --
> -- To post, send email to archesproject@googlegroups.com. To unsubscribe,
> send email to archesproject+unsubscr...@googlegroups.com. For more
> information, visit https://groups.google.com/d/forum/archesproject?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Arches Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to archesproject+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/archesproject/5f42603a-ca04-4b8f-8e90-92af93d20b40%40googlegroups.com
> 
> .
>

-- 
-- To post, send email to archesproject@googlegroups.com. To unsubscribe, send 
email to archesproject+unsubscr...@googlegroups.com. For more information, 
visit https://groups.google.com/d/forum/archesproject?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Arches Project" group.
To 

Re: [Arches] help deleting data model

2020-03-03 Thread Lily Pregill
Hi Alexei,

Thanks for having a look. This is what I'm seeing

best,
Lily

---

Mar 03 09:41:09.941 [staging-arches-ruscha] arches 127.0.0.1 - - 
[03/Mar/2020:17:41:09 +] “DELETE 
/arches/ruscha/graph/f5ed3e88-550f-11ea-a96c-02ba3a331460/delete HTTP/1.0” 
500 27483 “https://staging-tools.getty.edu/arches/ruscha/graph/” 
“Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:73.0) Gecko/20100101 
Firefox/73.0”
Mar 03 09:41:09.940 [staging-arches-ruscha] arches 
arches.app.models.models.Value.DoesNotExist: Value matching query does not 
exist.
Mar 03 09:41:09.940 [staging-arches-ruscha] arches raise 
self.model.DoesNotExist(
Mar 03 09:41:09.940 [staging-arches-ruscha] arches File 
“/web_root/ENV/lib/python3.8/site-packages/django/db/models/query.py”, line 
406, in get
Mar 03 09:41:09.940 [staging-arches-ruscha] arches return 
getattr(self.get_queryset(), name)(*args, **kwargs)
Mar 03 09:41:09.940 [staging-arches-ruscha] arches File 
“/web_root/ENV/lib/python3.8/site-packages/django/db/models/manager.py”, 
line 82, in manager_method
Mar 03 09:41:09.940 [staging-arches-ruscha] arches 
self.value_lookup[valueid] = models.Value.objects.get(pk=valueid)
Mar 03 09:41:09.940 [staging-arches-ruscha] arches File 
“/web_root/arches/arches/app/datatypes/concept_types.py”, line 32, in 
get_value
Mar 03 09:41:09.940 [staging-arches-ruscha] arches new_val = 
self.get_value(uuid.UUID(val))
Mar 03 09:41:09.940 [staging-arches-ruscha] arches File 
“/web_root/arches/arches/app/datatypes/concept_types.py”, line 275, in 
get_display_value
Mar 03 09:41:09.940 [staging-arches-ruscha] arches value = 
datatype.get_display_value(tile, node)
Mar 03 09:41:09.940 [staging-arches-ruscha] arches File 
“/web_root/arches/arches/app/functions/primary_descriptors.py”, line 29, in 
get_primary_descriptor_from_nodes
Mar 03 09:41:09.940 [staging-arches-ruscha] arches return 
PrimaryDescriptorsFunction.get_primary_descriptor_from_nodes(self, 
functionConfig[0].config[descriptor])
Mar 03 09:41:09.940 [staging-arches-ruscha] arches File 
“/web_root/arches/arches/app/models/resource.py”, line 66, in get_descriptor
Mar 03 09:41:09.940 [staging-arches-ruscha] arches return 
self.get_descriptor(“name”)
Mar 03 09:41:09.940 [staging-arches-ruscha] arches File 
“/web_root/arches/arches/app/models/resource.py”, line 80, in displayname
Mar 03 09:41:09.940 [staging-arches-ruscha] arches 
self.save_edit(edit_type=“delete”, user=user, note=self.displayname)
Mar 03 09:41:09.940 [staging-arches-ruscha] arches File 
“/web_root/arches/arches/app/models/resource.py”, line 346, in delete
Mar 03 09:41:09.940 [staging-arches-ruscha] arches resource.delete()
Mar 03 09:41:09.940 [staging-arches-ruscha] arches File 
“/web_root/arches/arches/app/models/graph.py”, line 417, in delete_instances
Mar 03 09:41:09.940 [staging-arches-ruscha] arches graph.delete_instances()
Mar 03 09:41:09.940 [staging-arches-ruscha] arches File 
“/web_root/arches/arches/app/views/graph.py”, line 414, in delete
Mar 03 09:41:09.940 [staging-arches-ruscha] arches return 
view_func(request, *args, **kwargs)
Mar 03 09:41:09.940 [staging-arches-ruscha] arches File 
“/web_root/ENV/lib/python3.8/site-packages/django/contrib/auth/decorators.py”, 
line 21, in _wrapped_view
Mar 03 09:41:09.940 [staging-arches-ruscha] arches return 
bound_method(*args, **kwargs)
Mar 03 09:41:09.940 [staging-arches-ruscha] arches File 
“/web_root/ENV/lib/python3.8/site-packages/django/utils/decorators.py”, 
line 45, in _wrapper
Mar 03 09:41:09.940 [staging-arches-ruscha] arches return handler(request, 
*args, **kwargs)
Mar 03 09:41:09.940 [staging-arches-ruscha] arches File 
“/web_root/ENV/lib/python3.8/site-packages/django/views/generic/base.py”, 
line 97, in dispatch
Mar 03 09:41:09.940 [staging-arches-ruscha] arches return 
self.dispatch(request, *args, **kwargs)
Mar 03 09:41:09.940 [staging-arches-ruscha] arches File 
“/web_root/ENV/lib/python3.8/site-packages/django/views/generic/base.py”, 
line 71, in view
Mar 03 09:41:09.940 [staging-arches-ruscha] arches response = 
wrapped_callback(request, *callback_args, **callback_kwargs)
Mar 03 09:41:09.940 [staging-arches-ruscha] arches File 
“/web_root/ENV/lib/python3.8/site-packages/django/core/handlers/base.py”, 
line 113, in _get_response
Mar 03 09:41:09.940 [staging-arches-ruscha] arches response = 
self.process_exception_by_middleware(e, request)
Mar 03 09:41:09.940 [staging-arches-ruscha] arches File 
“/web_root/ENV/lib/python3.8/site-packages/django/core/handlers/base.py”, 
line 115, in _get_response
Mar 03 09:41:09.940 [staging-arches-ruscha] arches response = 
get_response(request)
Mar 03 09:41:09.940 [staging-arches-ruscha] arches File 
“/web_root/ENV/lib/python3.8/site-packages/django/core/handlers/exception.py”, 
line 34, in inner
Mar 03 09:41:09.940 [staging-arches-ruscha] arches Traceback (most recent 
call last):
Mar 03 09:41:09.940 [staging-arches-ruscha] arches During handling of the 
above exception, another exception occurred:
Mar 03 

[Arches] Arches 5.0 Docker setup problems

2020-03-03 Thread David Osborne
I need a new Arches installation to develop some stuff for a conference 
presentation, so I thought I'd take the opportunity to not only use the 
latest version but also run it under Docker.

Following the instructions at 
https://github.com/archesproject/arches/blob/master/docker/Readme.md, I got 
as far as Quick Start step 6, docker-compose up, but there were problems 
creating the database for my *archesdemo* project.

I've uploaded my docker-compose.yml file and the results of running 
docker-compose 
up into a gist at 
https://gist.github.com/daosborne/cd501c56dc117e066b4f118f15af7e57 to show 
the problem. Is it obvious what I've missed or is wrong?

I'm running Docker Desktop 2.2.0.3 on MacOS 10.14.6 Mojave.

Thanks!
David

-- 
-- To post, send email to archesproject@googlegroups.com. To unsubscribe, send 
email to archesproject+unsubscr...@googlegroups.com. For more information, 
visit https://groups.google.com/d/forum/archesproject?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to archesproject+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/5f42603a-ca04-4b8f-8e90-92af93d20b40%40googlegroups.com.


Re: [Arches] help deleting data model

2020-03-03 Thread Alexei Peters
Hi Lily,
Are you getting any error messages in the terminal running Arches, or any
messages in the arches.log file?
Cheers,
Alexei

Director of Web Development - Farallon Geographics, Inc. - 971.227.3173


On Mon, Mar 2, 2020 at 4:42 PM Lily Pregill  wrote:

> Hi all,
>
> I have a data model that I'm trying to delete in a v.5 instance, but the
> system is preventing me from removing it. I suspect I deleted a concept and
> resource in the wrong order and there are data remnants lingering in the
> system. I've tried to Delete Instances under the Arches Designer --> Manage
> and I get the following:
>
> Request Failed...
>
>
> Sorry! The request failed. Please try again. Contact your system
> administrator if the problem persists.
>
>
> I get the same message when I go to Manage --> Delete Model.
>
>
> I currently don't have any resources in the system, but I would like to
> avoid wiping this instance and starting again. Any suggestions for things
> to try from the community would be most welcome.
>
>
> Thanks,
>
> Lily
>
> --
> -- To post, send email to archesproject@googlegroups.com. To unsubscribe,
> send email to archesproject+unsubscr...@googlegroups.com. For more
> information, visit https://groups.google.com/d/forum/archesproject?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Arches Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to archesproject+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/archesproject/08969c3a-5e61-4bd0-9dda-94e47c21d9b1%40googlegroups.com
> 
> .
>

-- 
-- To post, send email to archesproject@googlegroups.com. To unsubscribe, send 
email to archesproject+unsubscr...@googlegroups.com. For more information, 
visit https://groups.google.com/d/forum/archesproject?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to archesproject+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/CA%2BZLqy9MLE%3DqS-d45L2EJK0L9COBeiD4b2ZcW_WL2S53Y0a6_w%40mail.gmail.com.


[Arches] Re: Updated Arches Roadmap - What's new in 2020?

2020-03-03 Thread David Osborne
Hi Alison

Thanks for your reply and explaining the background to the Arches/Arc 
integration project. We will all have our own priorities so my comments 
were not meant to be unappreciative of the development. I applaud Historic 
England for helping to fund the initiative, particularly if it helps to 
enable integration with other software such as QGIS!

Best wishes
David

On Thursday, 13 February 2020 18:32:25 UTC, Alison Dalgity wrote:
>
> Greetings David. I should have replied to you (and Alina) a long time ago. 
> My apologies.
>
> You make an excellent point David, and I would venture to say that most of 
> us agree with you--i.e., that our priority should be to develop integration 
> with other open-source rather than proprietary tools. 
>
> However, there is a clear reason why we are developing a full integration 
> between Arches and esri–namely, the development has been financed. The 
> effort is driven by Historic England because they use esri products 
> widely, and they have kindly funded a significant piece of the development. 
> (The remainder is financed by Farallon Geographics and us, the Getty 
> Conservation Institute.)
>
> Our sincere hope in completing this work is, exactly as you suggest, that 
> once the development patterns are established the work to integrate Arches 
> with QGIS will be greatly facilitated...hopefully by someone very soon!
>
> Thanks for your candor, I really appreciate your feedback and hope that 
> you continue to make your voice heard for the benefit of the community.
>
> Best,
> Alison
>
> On Thursday, January 2, 2020 at 11:03:29 AM UTC-8, Alina Myklebust wrote:
>>
>> Hi David,
>>
>> Thanks so much for your feedback on the roadmap.  I imagine there will be 
>> many discussions/conversations in the coming weeks/months about this new 
>> ArcGIS
>> integration development.   I'll ask others to chime in here too, because 
>> I'm certain there have been thoughts and considerations related to 
>> integration with QGIS too.  
>>
>> Thanks again and Happy New Year!  
>>
>> Very best,
>>
>> Alina
>>
>>
>>
>> On Tuesday, December 24, 2019 at 8:43:34 AM UTC-8, David Osborne wrote:
>>>
>>> Hi Alina
>>>
>>> The developments in the roadmap look interesting, especially, for me, 
>>> the science applications. However, I must admit disappointment that ArcGIS 
>>> has been chosen in preference to QGIS for the GIS interface. I expect there 
>>> will be several projects which were attracted to Arches due to it being 
>>> free, open-source software and, like ours, have opted for QGIS for the same 
>>> reason. However, my hope is that, once the team have developed the Arches 
>>> plugin for Arc, it will be possible to adapt it to interface with QGIS 
>>> without too much extra work.
>>>
>>> Kind regards
>>> David
>>>
>>> On Wednesday, 18 December 2019 22:41:33 UTC, Alina Myklebust wrote:

 Greetings all,

 This week we published an updated Arches Roadmap on the Arches Project 
 website.  You can find it here:  https://www.archesproject.org/roadmap/

 Visit the page to find out about new key development initiatives and 
 planned features & development work slated for 2020. 

 Roadmap highlights include: 

- Arches for Science
- Arches Workflows
- Arches/esri integration 
- Important upgrades in Version 5

 If you have any questions, please post them here.  Thanks!


 Cheers,

 Alina
 Arches Project Team

>>>

-- 
-- To post, send email to archesproject@googlegroups.com. To unsubscribe, send 
email to archesproject+unsubscr...@googlegroups.com. For more information, 
visit https://groups.google.com/d/forum/archesproject?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to archesproject+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/d39a1ef4-8a57-4f05-8f25-f636c6ef0b4a%40googlegroups.com.