The instance was missing space, it has been corrected but the error is still here. I followed the other post (same error in v4) to try to understand what is wrong here. Here is the result of the whatisthis command:
(ENV) *ubuntu@ip-172-31-72-128*:*~/Projects/hpm*$ python3 manage.py whatisthis 830747f8-e225-11ea-b3d8-3158cdd8671b No module named 'arches.settings_local' Error attempting to load settings from relative '.settings_local'. Attempting 'arches.settings_local' import Error attempting to load settings from 'arches.settings_local.py'. No module named 'arches.settings_local' ================================================================================ This UUID is the primary key for 2 objects: -------------------------------------------------------------------------------- Building _state <django.db.models.base.ModelState object at 0x7f152e917460> author color None config {} deploymentdate None deploymentfile None description graphid 830747f8-e225-11ea-b3d8-3158cdd8671b iconclass fa fa-bank isactive True isresource True jsonldcontext None name Building ontology_id e6e8db47-2ccf-11e6-927e-b8f6b115d7dd slug None subtitle template_id 50000000-0000-0000-0000-000000000001 version -------------------------------------------------------------------------------- Building _card_constraints [] _constraints_x_nodes [] _functions [] _nodegroups_to_delete [] _state <django.db.models.base.ModelState object at 0x7f152e89d4c0> author cards {UUID('830747fb-e225-11ea-b3d8-3158cdd8671b'): <CardModel: CardModel object (830747fb-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307480d-e225-11ea-b3d8-3158cdd8671b'): <CardModel: CardModel object (8307480d-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074813-e225-11ea-b3d8-3158cdd8671b'): <CardModel: CardModel object (83074813-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074816-e225-11ea-b3d8-3158cdd8671b'): <CardModel: CardModel object (83074816-e225-11ea-b3d8-3158cdd8671b)>, UUID('830747fe-e225-11ea-b3d8-3158cdd8671b'): <CardModel: CardModel object (830747fe-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074822-e225-11ea-b3d8-3158cdd8671b'): <CardModel: CardModel object (83074822-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074819-e225-11ea-b3d8-3158cdd8671b'): <CardModel: CardModel object (83074819-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074807-e225-11ea-b3d8-3158cdd8671b'): <CardModel: CardModel object (83074807-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307481c-e225-11ea-b3d8-3158cdd8671b'): <CardModel: CardModel object (8307481c-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074804-e225-11ea-b3d8-3158cdd8671b'): <CardModel: CardModel object (83074804-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074801-e225-11ea-b3d8-3158cdd8671b'): <CardModel: CardModel object (83074801-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307481f-e225-11ea-b3d8-3158cdd8671b'): <CardModel: CardModel object (8307481f-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074810-e225-11ea-b3d8-3158cdd8671b'): <CardModel: CardModel object (83074810-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307480a-e225-11ea-b3d8-3158cdd8671b'): <CardModel: CardModel object (8307480a-e225-11ea-b3d8-3158cdd8671b)>} color None config {} deploymentdate None deploymentfile None description edges {UUID('83074867-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (83074867-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074868-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (83074868-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074869-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (83074869-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307486a-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (8307486a-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307486b-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (8307486b-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307486c-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (8307486c-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307486d-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (8307486d-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307486e-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (8307486e-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307486f-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (8307486f-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074870-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (83074870-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074871-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (83074871-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074872-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (83074872-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074873-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (83074873-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074874-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (83074874-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074875-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (83074875-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074876-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (83074876-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074877-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (83074877-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074878-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (83074878-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074879-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (83074879-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307487a-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (8307487a-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307487b-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (8307487b-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307487c-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (8307487c-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307487d-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (8307487d-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307487e-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (8307487e-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307487f-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (8307487f-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074880-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (83074880-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074881-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (83074881-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074882-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (83074882-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074883-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (83074883-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074884-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (83074884-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074885-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (83074885-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074886-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (83074886-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074857-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (83074857-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074858-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (83074858-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074859-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (83074859-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307485a-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (8307485a-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307485b-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (8307485b-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307485c-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (8307485c-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307485d-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (8307485d-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307485e-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (8307485e-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307485f-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (8307485f-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074860-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (83074860-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074861-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (83074861-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074862-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (83074862-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074863-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (83074863-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074864-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (83074864-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074865-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (83074865-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074866-e225-11ea-b3d8-3158cdd8671b'): <Edge: Edge object (83074866-e225-11ea-b3d8-3158cdd8671b)>} graphid 830747f8-e225-11ea-b3d8-3158cdd8671b iconclass fa fa-bank isactive True isresource True jsonldcontext None name Building nodes {UUID('83074823-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (83074823-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074824-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (83074824-e225-11ea-b3d8-3158cdd8671b)>, UUID('830747f9-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (830747f9-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074825-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (83074825-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074826-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (83074826-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074827-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (83074827-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074828-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (83074828-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074829-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (83074829-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307482a-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (8307482a-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307482b-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (8307482b-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307482c-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (8307482c-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307482d-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (8307482d-e225-11ea-b3d8-3158cdd8671b)>, UUID('830747fc-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (830747fc-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307482e-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (8307482e-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307482f-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (8307482f-e225-11ea-b3d8-3158cdd8671b)>, UUID('830747ff-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (830747ff-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074830-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (83074830-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074802-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (83074802-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074805-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (83074805-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074831-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (83074831-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074832-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (83074832-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074833-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (83074833-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074834-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (83074834-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074835-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (83074835-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074808-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (83074808-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074836-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (83074836-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074837-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (83074837-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307480b-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (8307480b-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307480e-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (8307480e-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074838-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (83074838-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074811-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (83074811-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074839-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (83074839-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307483a-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (8307483a-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307483b-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (8307483b-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307483c-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (8307483c-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307483d-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (8307483d-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307483e-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (8307483e-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307483f-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (8307483f-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074840-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (83074840-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074841-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (83074841-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074842-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (83074842-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074843-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (83074843-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074844-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (83074844-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074814-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (83074814-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074817-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (83074817-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307481a-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (8307481a-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307481d-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (8307481d-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074820-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (83074820-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074845-e225-11ea-b3d8-3158cdd8671b'): <Node: Node object (83074845-e225-11ea-b3d8-3158cdd8671b)>} ontology_id e6e8db47-2ccf-11e6-927e-b8f6b115d7dd root Node object (83074823-e225-11ea-b3d8-3158cdd8671b) slug None subtitle temp_node_name New Node template_id 50000000-0000-0000-0000-000000000001 version widgets {UUID('83074848-e225-11ea-b3d8-3158cdd8671b'): <CardXNodeXWidget: CardXNodeXWidget object (83074848-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074849-e225-11ea-b3d8-3158cdd8671b'): <CardXNodeXWidget: CardXNodeXWidget object (83074849-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307484a-e225-11ea-b3d8-3158cdd8671b'): <CardXNodeXWidget: CardXNodeXWidget object (8307484a-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074846-e225-11ea-b3d8-3158cdd8671b'): <CardXNodeXWidget: CardXNodeXWidget object (83074846-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074847-e225-11ea-b3d8-3158cdd8671b'): <CardXNodeXWidget: CardXNodeXWidget object (83074847-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307484d-e225-11ea-b3d8-3158cdd8671b'): <CardXNodeXWidget: CardXNodeXWidget object (8307484d-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307484b-e225-11ea-b3d8-3158cdd8671b'): <CardXNodeXWidget: CardXNodeXWidget object (8307484b-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307484c-e225-11ea-b3d8-3158cdd8671b'): <CardXNodeXWidget: CardXNodeXWidget object (8307484c-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307484e-e225-11ea-b3d8-3158cdd8671b'): <CardXNodeXWidget: CardXNodeXWidget object (8307484e-e225-11ea-b3d8-3158cdd8671b)>, UUID('8307484f-e225-11ea-b3d8-3158cdd8671b'): <CardXNodeXWidget: CardXNodeXWidget object (8307484f-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074850-e225-11ea-b3d8-3158cdd8671b'): <CardXNodeXWidget: CardXNodeXWidget object (83074850-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074851-e225-11ea-b3d8-3158cdd8671b'): <CardXNodeXWidget: CardXNodeXWidget object (83074851-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074852-e225-11ea-b3d8-3158cdd8671b'): <CardXNodeXWidget: CardXNodeXWidget object (83074852-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074853-e225-11ea-b3d8-3158cdd8671b'): <CardXNodeXWidget: CardXNodeXWidget object (83074853-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074854-e225-11ea-b3d8-3158cdd8671b'): <CardXNodeXWidget: CardXNodeXWidget object (83074854-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074855-e225-11ea-b3d8-3158cdd8671b'): <CardXNodeXWidget: CardXNodeXWidget object (83074855-e225-11ea-b3d8-3158cdd8671b)>, UUID('83074856-e225-11ea-b3d8-3158cdd8671b'): <CardXNodeXWidget: CardXNodeXWidget object (83074856-e225-11ea-b3d8-3158cdd8671b)>} ================================================================================ Any insight will be greatly appreciated. Thanks in advance A. Le jeudi 13 août 2020 à 20:34:16 UTC-7, anais....@gmail.com a écrit : > Thanks Adam, yes it helps a lot. > Once the permissions changed, I tried the show migration command, I get an > error and all the list is checked: > *** > > (ENV) *ubuntu@ip-172-31-72-128*:*~/Projects/hpm*$ python3 manage.py > showmigrations > > No module named 'arches.settings_local' > > Error attempting to load settings from relative '.settings_local'. > Attempting 'arches.settings_local' import > > Error attempting to load settings from 'arches.settings_local.py'. > > No module named 'arches.settings_local' > > *** > > (ENV) *ubuntu@ip-172-31-72-128*:*~/Projects/hpm*$ python3 manage.py > migrate > > No module named 'arches.settings_local' > > Error attempting to load settings from relative '.settings_local'. > Attempting 'arches.settings_local' import > > Error attempting to load settings from 'arches.settings_local.py'. > > No module named 'arches.settings_local' > > *Operations to perform:* > > * Apply all migrations: *admin, auth, contenttypes, > django_celery_results, guardian, models, oauth2_provider, sessions > > *Running migrations:* > > No migrations to apply. > > *** > > Any idea the arches settings local is not recognized? > > > Le jeudi 13 août 2020 à 19:51:46 UTC-7, mr.ad...@gmail.com a écrit : > >> Hi Anaïs, yes, the arches.log permissions are something that need to be >> handled. >> >> Briefly, that file needs to be written to by whichever user is running >> the app. If you use the dev server (python manage.py runserver) then, in >> your case, that user is ubuntu. If you are serving the app with apache, >> then the user is www-data. These two commands should handle it for you. >> >> First set the owner of the file as ubuntu and the group of the file >> www-data: >> >> sudo chown ubuntu:www-data /home/ubuntu/Projects/hpm/hpm/arches.log >> >> Then change the file permissions so both the owner and the group have >> read and write permissions (also allow other users to read the file though >> that's probably irrelevant): >> >> sudo chmod 664 /home/ubuntu/Projects/hpm/hpm/arches.log >> >> You can read more about permissions on Linux here: >> https://www.linux.com/training-tutorials/understanding-linux-file-permissions/ >> >> Hope that helps. >> >> Adam >> >> On Thu, Aug 13, 2020 at 7:21 PM anais....@gmail.com <anais....@gmail.com> >> wrote: >> >>> Hi Angela, >>> Thanks a lot for your answer, yes it is the same error. >>> When I run the python manage.py showmigrations command, I get the >>> following error: >>> >>> (ENV) *ubuntu@ip-172-31-72-128*:*~/Projects/hpm*$ python3 manage.py >>> showmigrations >>> >>> No module named 'arches.settings_local' >>> >>> Error attempting to load settings from relative '.settings_local'. >>> Attempting 'arches.settings_local' import >>> >>> Error attempting to load settings from 'arches.settings_local.py'. >>> >>> No module named 'arches.settings_local' >>> >>> Traceback (most recent call last): >>> >>> File "/usr/lib/python3.8/logging/config.py", line 563, in configure >>> >>> handler = self.configure_handler(handlers[name]) >>> >>> File "/usr/lib/python3.8/logging/config.py", line 744, in >>> configure_handler >>> >>> result = factory(**kwargs) >>> >>> File "/usr/lib/python3.8/logging/__init__.py", line 1143, in __init__ >>> >>> StreamHandler.__init__(self, self._open()) >>> >>> File "/usr/lib/python3.8/logging/__init__.py", line 1172, in _open >>> >>> return open(self.baseFilename, self.mode, encoding=self.encoding) >>> >>> PermissionError: [Errno 13] Permission denied: >>> '/home/ubuntu/Projects/hpm/hpm/arches.log' >>> >>> >>> The above exception was the direct cause of the following exception: >>> >>> >>> Traceback (most recent call last): >>> >>> File "manage.py", line 30, in <module> >>> >>> execute_from_command_line(sys.argv) >>> >>> File >>> "/home/ubuntu/Projects/ENV/lib/python3.8/site-packages/django/core/management/__init__.py", >>> >>> line 381, in execute_from_command_line >>> >>> utility.execute() >>> >>> File >>> "/home/ubuntu/Projects/ENV/lib/python3.8/site-packages/django/core/management/__init__.py", >>> >>> line 357, in execute >>> >>> django.setup() >>> >>> File >>> "/home/ubuntu/Projects/ENV/lib/python3.8/site-packages/django/__init__.py", >>> line 19, in setup >>> >>> configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) >>> >>> File >>> "/home/ubuntu/Projects/ENV/lib/python3.8/site-packages/django/utils/log.py", >>> >>> line 76, in configure_logging >>> >>> logging_config_func(logging_settings) >>> >>> File "/usr/lib/python3.8/logging/config.py", line 808, in dictConfig >>> >>> dictConfigClass(config).configure() >>> >>> File "/usr/lib/python3.8/logging/config.py", line 570, in configure >>> >>> raise ValueError('Unable to configure handler ' >>> >>> ValueError: Unable to configure handler 'file' >>> >>> >>> >>> And when I check the permissions of the arches.log file it is: >>> >>> -rwxr-xr-x 1 root root 22322 Aug 11 14:29 *arches.log* >>> >>> In the arches.log there is no recent log as to be expected. How should I >>> change the permissions for this file? >>> >>> >>> Thanks again for any answer, >>> >>> best >>> >>> A. >>> Le mardi 11 août 2020 à 12:10:04 UTC-7, ala...@gmail.com a écrit : >>> >>>> Hi Anais, >>>> >>>> Dale reported a similar error in version 4: >>>> https://groups.google.com/d/msg/archesproject/gYnmrToi8eE/PUJ-6ys-AQAJ >>>> >>>> I'm not sure if the same troubleshooting would apply for v5, but do you >>>> have pending migrations to run as Cyrus suggested in that thread? >>>> >>>> Angela >>>> >>>> >>> -- >>> -- To post, send email to arches...@googlegroups.com. To unsubscribe, >>> send email to archesprojec...@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 archesprojec...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/archesproject/b182dfff-77b7-47fa-98ae-3e072e32d091n%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/archesproject/b182dfff-77b7-47fa-98ae-3e072e32d091n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- -- 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/004a4975-aa2d-4065-8088-e2040cd4d3f2n%40googlegroups.com.