콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
15438 화면

I see that I have access to a rolling set of backups via the Odoo.sh control panel on the BACKUPS tab.

If I want to download these via scripted automation (and store them somewhere else) is this possible?

아바타
취소

@Raju, did you get some insights from the support about this issue ? I am running into the same problem...

베스트 답변

Yes.

The most current backup is available in /home/odoo/backup.daily

To use ssh you first need to set up your public key in your GitHub profile. If you do not already have one, you can generate a pair of rsa keys by following Github's documentation.

Once this is done, you will be able to connect through ssh to any of your builds using:

ssh <build_id>@<domain>


The domain is the url you use to connect to the build. For example:


ssh 123456@my-project-my-branch-123456.dev.odoo.com


The SSH button at the top of your branch will show you the specific port and URL

아바타
취소

Hi Ray. Thank you for the info!

I have a few quick questions, if that's okay:

* How does Odoo.sh choose which key(s) to use? It's possible to add multiple keys in Github - is that supported by Odoo.sh?

* When are keys imported to Odoo.sh - at login-time/JIT, periodic imports, or perhaps GitHub hooks? For example, if a new key is added to Github, is there a delay before it's useable in Odoo.sh?

* Which cipher alogritms are allowed? I assume standard RSA would be fine, but are others useable (e.g. ECDSA or Ed25519)?

I ask these questions because, despite setting things up (AFAIK) correctly, I still can't SSH into my Odoo.sh instance: "Permission denied (publickey)."

Checking with `ssh -vv <xx>` shows that authentication is being attempted, but the key is being rejected. The same key is usable to push commits to GitHub. It's an Ed25519 that was added to Github *after* the Odoo.sh project was created. I wonder if maybe the cipher is not supported, or the key has not been imported to Odoo.sh?

I've been through some debug steps already:

- The key works when pushing to Github

- Permissions are set correctly (0600)

- SSH agent is not running (using `-i <keyfile>`)

- My account has "admin" permissions in Odoo.sh

- SSH doesn't work for any branch in the project

Any help would be very much appreciated. I couldn't find much info online :-(

I suggest you contact Odoo Support and open a ticket as I don't have the information you are asking for.

베스트 답변

Hi Raju, 

I don't know if you figured out how to connect, but here is what you need to do:

1. generate an ssh key on your computer (Reading through your question, you already have this)

2. Login in odoo.sh

3. Go to your profile page

4. Paste your ssh key (the public one) in the SSH keys field (or click on 'import' from github

5. Now you can connect to your container through ssh like the example mr. Ray states.


Kind regards,

아바타
취소

Hi Raju,

did you gather any further insights? I cant connect via .ssh while being seemingly correctly added to git.

Thanks,
Friedrich

관련 게시물 답글 화면 활동
2
12월 24
4735
2
5월 24
6525
1
3월 25
6634
5
3월 25
39853
28
12월 23
25986