[arangodb-google] Re: Run Arangodb Docker image in Google Cloud

2020-09-04 Thread kmsz...@gmail.com
Under the 'Advanced container options', 'Arguments' section just add the 
'database.auto-upgrade' as an arguement. Do no use 'database.auto-upgrade 
true' as this doesn't work. No arguments are needed in the 'Command' 
section. 

The database will then start migrate (successfully) and restart, and then 
keep on restarting. You need to stop it and remove the argument, then 
restart.

Kieran

On Friday, September 4, 2020 at 2:27:29 PM UTC+2 kmsz...@gmail.com wrote:

> Hello,
>
> I have Arangodb running on a gcloud virtual machine. I have changed the 
> image to be used by gcloud to the latest (3.7.2) but need to somehow add 
> the '--server.auto-upgrade true'. Given gcloud uses the official Docker 
> image & related ENTRYPOINT file, and there is no way to toggle the upgrade 
> using an environment variable or edit the ENTRYPOINT file I am stuck. 
>
> Thanks for your help.
>
> Kieran
>

-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to arangodb+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/arangodb/9b9a5291-5989-4e26-be34-fa89dc7cd02cn%40googlegroups.com.


[arangodb-google] Run Arangodb Docker image in Google Cloud

2020-09-04 Thread kmsz...@gmail.com
Hello,

I have Arangodb running on a gcloud virtual machine. I have changed the 
image to be used by gcloud to the latest (3.7.2) but need to somehow add 
the '--server.auto-upgrade true'. Given gcloud uses the official Docker 
image & related ENTRYPOINT file, and there is no way to toggle the upgrade 
using an environment variable or edit the ENTRYPOINT file I am stuck. 

Thanks for your help.

Kieran

-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to arangodb+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/arangodb/066a6181-cad3-4c61-8704-92e2d29634fbn%40googlegroups.com.


[arangodb-google] Multiple database file design pattern

2020-08-24 Thread kmsz...@gmail.com
I would like to use a separate database file per client for an SaaS. I am 
using node-express as middleware. I am not using Foxx as Foxx cannot be 
segregated from the database file itself.

Currently I am changing the database to use based on the user JWT token via 
a middleware function and the Javascript driver function 'useDatabase'. So 
multiple users share the same middleware and are routed to their respective 
database files. 

This seems to work at first but fails seemingly randomly. I instead would 
prefer to pass the actual db name with each and every Http call, but naming 
the db in the Javascript driver doesn't seem to be supported/recommended.

What are my (other) options? I would prefer not to have a multi tenant 
database for security and administration reasons. 

Thank you. 

-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to arangodb+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/arangodb/7f78aeb1-672d-49fb-8bbc-16f43f3d06f7n%40googlegroups.com.


[arangodb-google] Re: Ensuring data integrity with 1:n connections in arangodb (delete orphan vertex automatically)

2021-08-08 Thread kmsz...@gmail.com
Here is a suggestion: Don't make a separate token collection. Instead use a 
token object array within the User document and manage the token array with 
array functions. The overhead for tokens doesn't add any benefits.

On Tuesday, July 13, 2021 at 10:09:03 AM UTC+2 do point wrote:

> (hypothetical example)
>
> Say I have a users document group and another document 
> group sessionTokens that store the session the users have. Each user can 
> have multiple tokens but a token can only belong to one user. The 
> association is done through edges.
>
> Now if I use graph functions I can delete a token and the edge between the 
> user and the token gets deleted automatically, and that is great. But what 
> if I want to make sure that if a user is deleted, I want all their session 
> tokens (vertices) to be deleted automatically as well (or else they will be 
> orphan tokens)? Do I have to handle this in application code? Or is there a 
> declarative way to ensure this type of integrity?
>

-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to arangodb+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/arangodb/3ea7db74-ab3f-45bd-8ba1-5efd8f630a0fn%40googlegroups.com.


[arangodb-google] Re: Stop ArangoDB server from Commandline

2021-11-02 Thread kmsz...@gmail.com
Try the web interface under:
/Support/Rest APIs/Administration/delete 
​/_admin​/shutdown 

Initiate shutdown sequence

Or crtl+C from the terminal.

On Tuesday, November 2, 2021 at 5:50:46 AM UTC+1 sachin...@gmail.com wrote:

> Dear Friends,
>
> Could someone please help me how i can Shut or Stop ArangoDB server 
> without using Process.Kill().
>
> This is my finding that Killing arangoDB server process leads to Corrupt 
> RocksDB SST file and MANIFEST acquire wrong values ..
>
> I am running arangodb with asp.net core application
>

-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to arangodb+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/arangodb/7f7c6af7-b1a3-4f0f-8fdb-1cb1ef8a82e6n%40googlegroups.com.


[arangodb-google] --web-interface.trusted-proxy

2023-09-28 Thread kmsz...@gmail.com
Hi,

Does anyone know the use-case for this flag? I ask because I have ArangodDb 
running on Google Compute Engine and would like to use SSH to access the 
web interface for maintenance (rather than exposing a public ip address). I 
can access the web-interface via SSH Web Preview, but get a CORS error when 
I try to login to the Arango web interface. Would using this flag solve my 
issue?

Suggestions are welcome!

Many thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to arangodb+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/arangodb/7a3353a1-e17e-4397-a3c2-a9a5837c96f9n%40googlegroups.com.


[arangodb-google] Use a traversal as a view for Arangodb search

2022-12-08 Thread kmsz...@gmail.com


I would like to create an Arangodb view V based on a traversal. The idea is 
I want to perform a search on the fields in a target collection T with the 
view V including some fields of a related collection R. I know they are 
related because of the results of a traversal. I would like to return a 
document from T.

I.e. the related fields give context to the search of the target document.

If there is more than one related document, then the target would be 
returned as many times as there are relations. 

Version 1: If no relations the target is still in the search population, 
just without the fields from R. 

Version 2: If no relations the target is not returned.

Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to arangodb+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/arangodb/a34576ff-3841-4b06-92da-aa9b55d9d95bn%40googlegroups.com.


[arangodb-google] Combined INBOUND and OUTBOUND option

2024-03-21 Thread kmsz...@gmail.com
Is there anyway to combine the inbound and outbound traversal parameters 
into a single option? Now I need to run two separate queries whereas a 
single parameter would be more efficient.

NOTE: ANY is not the same as INBOUND || OUTBOUND

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to arangodb+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/arangodb/04aad34f-086c-468d-a149-3658f4b394c0n%40googlegroups.com.