İçereği Atla
Menü
Bu soru işaretlendi
7 Cevaplar
5335 Görünümler

Hi All 


I was busy installing the web report module and the server was rebooted. Now I am getting errors trying to log in to the database again. I think the incomplete module installation has caused a problem. Errors at the top of the page are in the example below:

Could not get content for /website/static/src/css/snippets.css defined in bundle 'website.assets_editor'

Could not get content for /website/static/src/css/editor.css defined in bundle 'website.assets_editor'


And so on. How can i unistall or re-install this module from the command line alone?


Thanks


Avatar
Vazgeç
En İyi Yanıt

You could update the module/s that fails to install issuing and execute to the server using --update command line argument like:

/opt/odoo/odoo.py --config /path/to/config --update module


Avatar
Vazgeç
Üretici

Thanks Axel I will try that. Do you think it would be better if I tried to install the module again rather? If so how do I do it from the command line?

I think you should reinstall your addons First, then add all your modifications. If its not Ok, so reinstall all your directories then add your new modules.

Üretici

Axel I tried this but it didn't seem to do anything at all. It just goes starts the server again and when i log in I have the same problem

Üretici

Thanks Drees. How do you reinstall the modules using the command line?

Üretici

I see these errors now in my terminal when starting the server: odoo@ubuntu:/home/wyradmin$ /opt/odoo/odoo.py -u website_report 2015-07-14 15:04:45,481 1184 INFO ? openerp: OpenERP version 8.0 2015-07-14 15:04:45,482 1184 INFO ? openerp: addons paths: ['/opt/odoo/.local/share/Odoo/addons/8.0', u'/opt/odoo/openerp/addons', u'/opt/odoo/addons'] 2015-07-14 15:04:45,482 1184 INFO ? openerp: database hostname: localhost 2015-07-14 15:04:45,482 1184 INFO ? openerp: database port: 5432 2015-07-14 15:04:45,483 1184 INFO ? openerp: database user: odoo 2015-07-14 15:04:46,079 1184 INFO ? openerp.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069 2015-07-14 15:05:08,541 1184 INFO ? werkzeug: 105.237.210.67 - - [14/Jul/2015 15:05:08] "GET / HTTP/1.1" 500 - 2015-07-14 15:05:08,556 1184 ERROR ? werkzeug: Error on request: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 177, in run_wsgi execute(self.server.app) File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 165, in execute application_iter = app(environ, start_response) File "/opt/odoo/openerp/service/server.py", line 281, in app return self.app(e, s) File "/opt/odoo/openerp/service/wsgi_server.py", line 216, in application return application_unproxied(environ, start_response) File "/opt/odoo/openerp/service/wsgi_server.py", line 202, in application_unproxied result = handler(environ, start_response) File "/opt/odoo/openerp/http.py", line 1279, in __call__ self.load_addons() File "/opt/odoo/openerp/http.py", line 1298, in load_addons m = __import__('openerp.addons.' + module) File "/opt/odoo/openerp/modules/module.py", line 80, in load_module mod = imp.load_module('openerp.addons.' + module_part, f, path, descr) File "/opt/odoo/.local/share/Odoo/addons/8.0/auto_backup/__init__.py", line 23, in import backup_scheduler File "/opt/odoo/.local/share/Odoo/addons/8.0/auto_backup/backup_scheduler.py", line 33, in raise ImportError('This module needs pysftp to automaticly write backups to the FTP through SFTP. Please install pysftp on your system. (sudo pip install pysftp)') ImportError: This module needs pysftp to automaticly write backups to the FTP through SFTP. Please install pysftp on your system. (sudo pip install pysftp) pshttp

As the error saids Please install pysftp on your system. (sudo pip install pysftp)

Üretici En İyi Yanıt

Hi All

I found the problem. It seems that another user installed an autobackup module which needed more work. I hadn't restarted the server in a very long time so when i  installed the new module and restarted i assumed the problem was with the new module. Thanks for all the input!


Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
6
Tem 15
5758
3
Şub 24
12017
1
Eyl 24
1037
1
Tem 24
1292
1
Oca 24
4004