Closed dineshr93 closed 3 years ago
Hi @mcjaeger Can you help me on this? Is there any issue in my above properties? There is no error in the log. Everything is smooth. except i cant login with default user id & pwd
Even username test@liferay.com & password: test is not working as mentioned in https://learn.liferay.com/dxp/7.x/en/getting-started/introduction-to-the-admin-account.html
How about this? Mail : setup@sw360.org pass: test
Hi @KoukiHama Thanks for the suggestion. It shows same Error:Authentication failed. Please try again.
I tried to create an account with my gmail & company id. it moves to send verification code page. but I didnt receive any code. When I check the log Below error exists
2021-02-05 15:13:11.549 WARN [liferay/mail-2][MailMessageListener:135] Email test@domain.invalid will be ignored because it is included in mail.send.blacklist
2021-02-05 15:13:11.550 WARN [liferay/mail-2][MailMessageListener:52] Skipping email because the sender is not specified
2021-02-05 15:14:16.536 WARN [liferay/mail-4][MailMessageListener:135] Email test@domain.invalid will be ignored because it is included in mail.send.blacklist
2021-02-05 15:14:16.546 WARN [liferay/mail-4][MailMessageListener:52] Skipping email because the sender is not specified
2021-02-05 15:14:31.143 WARN [liferay/mail-4][MailMessageListener:135] Email test@domain.invalid will be ignored because it is included in mail.send.blacklist
2021-02-05 15:14:31.143 WARN [liferay/mail-4][MailMessageListener:52] Skipping email because the sender is not specified
Ah, your company name and webid are not sw360.org in portal-ext.property
If you change this property like default one and setup@sw360.org (pass test) , Or Use address setup@elektrobit.com with pass "test", you may login .
Default property setting https://github.com/eclipse/sw360/blob/master/frontend/configuration/portal-ext.properties
company.default.name=SW360 company.default.web.id=sw360.org
@KoukiHama Thanks for pointing that. I have tried the above password as you mentioned. It didnt work. So I changed back the portal-ext.properties to default values as mentioned in the link
company.default.name=SW360 company.default.web.id=sw360.org
And restarted the tomcat. It still did not work. :(
@KoukiHama I changed the default database from hypersonic to postgres. Will this cause a problem in default login?
I guess database is not related to this login issue. I recommend to set account manually from scratch.
If you change this parameter in portal-ext.properties
setup.wizard.enabled=true
You can set admin user info on browser.
After setting and restart tomcat and setting like this
Setup image Then you may login by. setup@sw360.org and pass test.
And can you share portal-setup-wizard.properties in liferay folder? It is made by liferay automatically after setting and start of tomcat .
Hi @KoukiHama I didn't have such file in my liferay folder. But I have noticed that such file in deed exists in liferay folder of my older instance. I think my current liferay is not creating it. Shall I create them my self or anyother way?
Hi @dineshr93 I am little confused because your liferay instance don't make setup wizard. But I think if you make portal-setup-wizard.properties by yourself , you can set admin user info property and login liferay.
In my blog, i wrote my setting of setting wizard. https://qiita.com/K-Hama/items/1582b4e1bf248025eabb
(Written in japanese but you can find it soon)
Hi @KoukiHama Thanks for the article. After adding the portal-setup-wizard.properties too the login didn't work. So I deleted the postgres lportal db & re-created a blank db lportal & tried again it worked then!
After creating 2 sample components I tried to Search the components, it did not work. But after following https://github.com/eclipse/sw360/issues/940#issuecomment-725336280 it worked.
The sw360Version=13.0.0 java 11 (11.0.9.1 2020-11-04) couchdb-lucene 2.1.0 thrift 0.13.0 postgresql 42.2.9 Ubuntu 18.04 CouchDB 2.1.2~bionic
Steps followed Deploy-Natively-11