Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

Auto-Backup on Odoo 9.0?

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
addonsbackup9.0c
1 Răspunde
5507 Vizualizări
Imagine profil
sdbs_ml

I have a test instance of Odoo running on a Linux server, where it resides at:
    /home/odoo/odoo1_git/
Do note that:
    I'm trying to use Danish translation on it (so some things are translated, but not all)
    I'm using https://www.odoo.com/apps/modules/8.0/auth_from_http_remote_user/ so I can login directly from an Apache login (i.e. the default login of Odoo is not used), and I'm also using https://www.odoo.com/apps/modules/8.0/web_hide_db_manager_link/ (via https://github.com/OCA/web/tree/9.0/ and https://github.com/OCA/server-tools)
    I use the demo data
In any case, the install seems to work fine, and I get 9.0c as version of the installation when I look at the About menu:

At first, I thought I can only export the database if I install an addon/module - but that was apparently because I had hidden the DB manager link :) Still, I found http://stackoverflow.com/questions/27935745/backup-odoo-db-from-within-odoo - and so all I had to do was go to http://my-odoo-instance.example.com/web/database/manager, and I could export the database. So that is good too.
However, before I found that info, I tried to install "Database Auto-Backup" addon/module from https://www.odoo.com/apps/modules/8.0/auto_backup/ - and I couldn't succeed; so that is what the question is about. This is what I ended up doing to install it:
git clone https://github.com/Yenthe666/auto_backup.git auto_backup_gitcd auto_backup_gitgit checkout 9.0# Branch 9.0 set up to track remote branch 9.0 from origin.
# Switched to a new branch '9.0'cd ..
sudo -H -u odoo cp -a auto_backup_git/auto_backup /home/odoo/odoo1_git/addons/
Then, I go to Apps/Update Apps List, get the Module Update screen:
... and click on Update; this seemingly completes, as now I can see the "Database Auto-Backup" app/module if I remove the "Apps" filter in the Apps view.
    NB: At this point, new entries are created in the `ir_module_module` and `ir_model_data` tables of the database, however, if I delete the folder `/home/odoo/odoo1_git/addons/auto_backup` and then run Update Apps List/Update again, the addon will still be shown in the Apps list, even if its folder is not shown anymore! One must delete the entries from the `ir_module_module` and `ir_model_data` tables of the database to have the addon disappear from this list (see https://www.odoo.com/forum/help-1/question/how-to-uninstall-a-module-from-command-line-36076)
Ok, so at this point, I "Install" the module from the Apps list in the GUI, and all seems to complete; this is what I get for the module:
So, all is seemingly OK - however, at this point, if I click on Upgrade, Odoo seemingly starts doing something (as if updating), but then again shows the exact same state as on the image (i.e. "Upgrade" button is blue, version is 9.0.1.0). If here I click on Installed Features, I see:
... so I guess, I should see a new menu (Back-ups) under Settings/Technical. So, I enable "Developer Mode" from the About menu shown above, and then I try to check the Settings menu. However, there is no such menu shown under Settings/Technical - here is the entirety of the "Developer Mode" Settings menu I get:

Would anyone have an idea what am I doing wrong? Are there any logs where I could check why don't I get the menu for Auto-Backup that I expect?

1
Imagine profil
Abandonează
Imagine profil
sdbs_ml
Autor Cel mai bun răspuns

For some reason, I cannot edit the original post question and format it better; I get "403 – Forbidden! The page you were looking for could not be authorized." no matter what I try; so I'm going to try and post a better formatted version in this answer... Well, that seems to have worked - so could a forum administrator please replace the original question with this post? Thanks!

-----------

EDIT: found the problem - even if I installed the addon as a user that I thought had full administrative permissions, I couldn't see the menu because, well, the user did not actually have permissions for that menu. Once I logged in as the default admin user, I could see the menu.

-----------

I have a test instance of Odoo running on a Linux server, where it resides at:

    /home/odoo/odoo1_git/

Do note that:

  • I'm trying to use Danish translation on it (so some things are translated, but not all)

  • I'm using https://www.odoo.com/apps/modules/8.0/auth_from_http_remote_user/ so I can login directly from an Apache login (i.e. the default login of Odoo is not used), and I'm also using https://www.odoo.com/apps/modules/8.0/web_hide_db_manager_link/ (via https://github.com/OCA/web/tree/9.0/ and https://github.com/OCA/server-tools)

  • I use the demo data

In any case, the install seems to work fine, and I get 9.0c as version of the installation when I look at the About menu:


At first, I thought I can only export the database if I install an addon/module - but that was apparently because I had hidden the DB manager link :) Still, I found http://stackoverflow.com/questions/27935745/backup-odoo-db-from-within-odoo - and so all I had to do was go to http://my-odoo-instance.example.com/web/database/manager, and I could export the database. So that is good too.

However, before I found that info, I tried to install "Database Auto-Backup" addon/module from https://www.odoo.com/apps/modules/8.0/auto_backup/ - and I couldn't succeed; so that is what this question is about. This is what I ended up doing to install it:

git clone https://github.com/Yenthe666/auto_backup.git auto_backup_git
cd auto_backup_git
git checkout 9.0
# Branch 9.0 set up to track remote branch 9.0 from origin.
# Switched to a new branch '9.0'
cd ..
sudo -H -u odoo cp -a auto_backup_git/auto_backup /home/odoo/odoo1_git/addons/

Then, I go to Apps/Update Apps List, get the Module Update screen:

... and click on Update; this seemingly completes, as now I can see the "Database Auto-Backup" app/module if I remove the "Apps" filter in the Apps view.

  • Note: At this point, new entries are created in the `ir_module_module` and `ir_model_data` tables of the database, however, if I delete the folder `/home/odoo/odoo1_git/addons/auto_backup` and then run Update Apps List/Update again, the addon will still be shown in the Apps list - even if its folder is not present anymore! One must delete the entries from the `ir_module_module` and `ir_model_data` tables of the database to have the addon disappear from this list (see https://www.odoo.com/forum/help-1/question/how-to-uninstall-a-module-from-command-line-36076)

Ok, so at this point, I "Install" the module from the Apps list in the GUI, and all seems to complete; this is what I get for the module:

So, all is seemingly OK - however, at this point, if I click on Upgrade, Odoo seemingly starts doing something (as if updating), but then again shows the exact same state as on the image (i.e. "Upgrade" button is blue, version is 9.0.1.0). If here I click on Installed Features, I see:

... so I guess, I should see a new menu (Back-ups) under Settings/Technical. So, I enable "Developer Mode" from the About menu shown above, and then I try to check the Settings menu. However, there is no such menu shown under Settings/Technical - here is the entirety of the "Developer Mode" Settings menu I get:

Would anyone have an idea what am I doing wrong? Are there any logs where I could check why don't I get the menu for Auto-Backup that I expect?

0
Imagine profil
Abandonează
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
Odoo isn't seeing an add-on that I downloaded and placed in the addons folder Rezolvat
addons
Imagine profil
Imagine profil
Imagine profil
Imagine profil
Imagine profil
5
oct. 25
2536
ADD ON FINANCIAL MODULE/FISCALE ACCOUNTING FOR ODOO 18 COMMUNITY
addons
Imagine profil
Imagine profil
Imagine profil
2
aug. 25
1889
Database backup error: Postgres subprocess ('/usr/bin/pg_dump', '--no-owner', '--file=/tmp/tmpAa0O5Q/dump.sql', u'ahlain_db01') error 1 Rezolvat
backup
Imagine profil
Imagine profil
Imagine profil
Imagine profil
Imagine profil
9
iul. 25
67254
how to backup ? Rezolvat
backup
Imagine profil
Imagine profil
Imagine profil
Imagine profil
Imagine profil
9
iul. 24
103541
Uploaded Addons don't appear when Updating Addons List
addons
Imagine profil
Imagine profil
1
dec. 23
4488
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now