Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

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

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

Auto-Backup on Odoo 9.0?

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
addonsbackup9.0c
1 Rispondi
5517 Visualizzazioni
Avatar
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
Avatar
Abbandona
Avatar
sdbs_ml
Autore Risposta migliore

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
Avatar
Abbandona
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
Odoo isn't seeing an add-on that I downloaded and placed in the addons folder Risolto
addons
Avatar
Avatar
Avatar
Avatar
Avatar
5
ott 25
2537
ADD ON FINANCIAL MODULE/FISCALE ACCOUNTING FOR ODOO 18 COMMUNITY
addons
Avatar
Avatar
Avatar
2
ago 25
1889
Database backup error: Postgres subprocess ('/usr/bin/pg_dump', '--no-owner', '--file=/tmp/tmpAa0O5Q/dump.sql', u'ahlain_db01') error 1 Risolto
backup
Avatar
Avatar
Avatar
Avatar
Avatar
9
lug 25
67256
how to backup ? Risolto
backup
Avatar
Avatar
Avatar
Avatar
Avatar
9
lug 24
103545
Uploaded Addons don't appear when Updating Addons List
addons
Avatar
Avatar
1
dic 23
4488
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة 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 è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

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