-
Notifications
You must be signed in to change notification settings - Fork 106
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
Unable to get SW360 to work because of missing users in Couch DB #2393
Comments
I tried to set up by native install and was able to set users without problem. |
@MNesche did you show the result when you click someone action button in not in couchdb table? |
@MNesche, users will be added to couchdb when they login to sw360 |
I did another fresh and clean setup, added one user manually and made the import afterwards. sw360, postImport: Postgre: CouchDB: Thanks a lot in advance for your time and efforts in helping to resolve the issue. |
I have same issue. |
@MNesche @ShotaroYoshinaga |
@MNesche @ShotaroYoshinaga |
@KoukiHama, thank you for your reply. |
@MNesche |
@KoukiHama |
Hello, |
Dear heliocastro, thank you for your reply, hope you had a great and relaxing vacation :). According to the docker-compose file, it uses image: "ghcr.io/eclipse-sw360/sw360:latest" for the build. The issue is still the same, the log is attached. |
Version is correct, as is done in a post stage of 18.0.0. We did not make an official release because we're waiting from 18.1.0 be tagged soon. Back to the issue, i smell some discrepancy on documentation and execution. So, help me here, how you effectively created the users after installed and configured from zero ? I want to reproduce in a clean VM |
Good morning heliocastro, After import of the LAR-files, I've imported the users from the file, described in section "Import User Accounts for Testing". Clicking on the pencil icon to update the user leads to this: And clicking on update user follows: However, none of these actions leads to an entry in the couchdb log, that's why I guessed there's no connection, but when I logged into the container shell of sw360 and made a request to the couchdb via curl to http://couchdb:5984, it was ok. |
There we go, again the import issue coming from documentation. @MNesche I would ask to you if possible, to remove the database and postgres volumes, restart and reconfigure but:
and DO NOT import users from the test template, just create some users by hand:
I guess this will work. |
yes |
Dear Heliocastro and KoukiHama, This is the message after creating the admin with setup@sw360.org-user: This is again, when trying to update the user after log in with previously created admin user account: Here's the log. First, the download of the LAR-files was not right, that's why I got an "java.util.zip.ZipException: zip END header not found" in line 1196. However, that's a good marker in the log, cause after this, I did the import after redownloading, setup of admin & user, logged out and logged back in with admin. Hope that helps & please let me know, if you need any further informations. |
Discussed in #2382
Originally posted by MNesche March 25, 2024
Hi,
we've set up SW360 v18.0.0 and everything necessary via Docker according to the descriptions.
Couch DB is version 3.2.3.
Unfortunately, we're not able to get SW360 working, because the users are not in Couch DB and we haven't found a way, to get the users to Couch DB.
The databases in SW360 have been created successfully.
Importing users via file doesn't change anything.
I'd be pleased for any help or hint pointing in the right direction to fix this issue.
Please let me know, if you need any further informations.
Kind regards.
Enzo
Update from today:
I have set it up a few times, all with the same result.
The connection to the CouchDB (latest, 3.3) is valid, tested from sw360 container shell via curl to http://couchdb:5984.
It seems that importing or creating a user via liferay just doesn't get the user created in CouchDB also.
Is it possible to create a user in the couchdb directly?
Could somebody please add the resulting JSON-form from couchdb with the test-users, so that I may insert it and try again?
Thanks a lot in advance, I wanted to present sw360 for an introduction next week but so far, I'm a bit lost to get it running in time.
The text was updated successfully, but these errors were encountered: