-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] if db-pwd != "admin" :: ?old fallback? #953
Comments
This bug report is quite incomplete (weren't you keen on using a template for reporting issues? ;-)), we would at least need explicit steps to reproduce plus version info. If you are talking about a master/8.0 issue, your subject line looks vaguely related to an issue that temporarily caused the admin password field to be ignored at database creation. It was introduced at c887e53 and fixed at a0ee2b5. Please provide more details if you can still reproduce, so we can reopen it. Thanks. |
the description of this bug is here |
@odony I have a repro, at least locally:
Server starts churning and installing base in the first database it found, and ends up with
and an Internal Server Error in the browser. Also reproduced on @sle-odoo's machine. |
Have the same issue with the code fresh from the repo (openerp: OpenERP version 9.0alpha1). OS-X (10.9.4), installed PostgreSQL 9.3 through homebrew, Python (2.7.5) packages with PIP. Initially it used the first database it encountered, which wasn't desired. Then I created an empty database, with username odoo, databasename odoo and password 'admin' (since the post in the thread at Odoo.com suggests that might help) but it didn't work. I also noticed that it never seems to finish I got it initially working without a problem on a Ubuntu machine, which still runs Postgres 9.1... |
... which let me to downgrading PostgreSQL on my OS-X machine, which worked for me (I've seen others recommending against >=9.2 , so I'm not sure whether it is a compatibility thing? |
@murb Haven't been able to repro it yet, but I can confirm there is no compatibility problem with PostgreSQL >= 9.2, you can pick any version >= 9.1 for Odoo v8 or later. |
Got the same problem minutes ago, solved it by adding "-u all" when calling odoo.py. |
It's also happening on Ubuntu 14.04 now. Odoo v8. It started working again after I did The first installation failed because of missing Python dependencies. I think this somehow left the database in an inconsistent state. |
I can confirm as of package openerp 8.0.0~rc1-0, that choosing a custom admin password will break the install feature of Odoo. Please fix that with the highest priority :) ! |
In my case with the following configuration, it also fails:
This is the error:
The workaround of setting The host is CentOS 7 with package from odoo_8.0rc1-20140903-160407.noarch.rpm. |
OK, I found the problem. It has nothing to do with password being "admin" or not. It's just that only the base module gets installed by default, but the template for Try this:
So, web should be auto-installed by default too. |
For the record, |
Hello, I didn't investigate this further, but I could observe this bug/strack trace |
Even more weird: if you use that workaround, but with |
maybe this is the problem |
I deleted all databases then I installed passlib started odoo And it worked |
I had python-passlib 1.5.3 installed since the begining. |
tadeusz-karpinski-openglobe ! thanks, its work. |
If the server was started without -i or -u and happened to initialize a fresh database, auto-installed modules that depend on `base` only would stay in status "to install" without actually being installed (until the next installation round was triggered). This was of little consequence in 7.0, but causes a crash in 8.0. Fixes #953
The bug was triggered when a new database was initialized from scratch and the server had been started without any explicit Fixed in 7.0 at 938502a and forward-ported up to 8.0 at e5bff82. Thanks for reporting, commenting and investigating! |
@itunb: thanks for your help :). It work for me too |
My solution was the same @tadeusz-karpinski-openglobe !!! Install passlib an works !! |
Thanks to @tadeusz-karpinski-openglobe |
I had a working environment.. I did nothing interesting. I have an up to date code. Only thing I did was to delete all the databases and can't recreate a new one anymore. I used to have v7 and v8 databases under the same user and I was able to create new databases right until the moment I deleted them all. Now I am getting the same error and no way to create a fresh empty database. I am getting this error in Ubuntu fresh server and in my Mac. Below is the output of fresh code cloned to mac just now. And I have passlib install in all the servers I have tried.
|
I met that problem a little minutes ago, I follow you and install 'passlib'. However, the problem was not fixed. Incidentally, I found the reason is : my old account in module web was saved on browser. And I ran localhost in hidden browser, then my web operated well. |
Clean you browser cache |
it does not work. |
What in your defect , cần you describe more detail ?
Vào 13:24, Th 2, 25 thg 6, 2018 José Luis <notifications@github.com> đã
viết:
… it does not work.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#953 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AV0qiqv02nWfOMdYvgZhqt-s9dshU-zWks5uAIIkgaJpZM4CKou3>
.
|
Please refer to the rather complete description including reference to runbot logs and first analysis in the response to the q&a here.
The text was updated successfully, but these errors were encountered: