Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
✪ vi4m Marcin Kliks
@vi4m
which view is „RalphUser Additional Info” ?
Dopsterinho
@Dopsterinho

Hy @vi4m :

class UserInfoView(UserInfoMixin, RalphDetailView):

icon = 'user'
name = 'user_additional_info'
label = _('Additional info')
url_name = 'user_additional_info'

It is working if I assign the user directly on the BackOfficeAsset . If I do it from My model with the "Mitarbeiter" Field, it won't Show up in additional Info.
I am Pretty sure it has something to do with the Api, or the View of RalphUser or the my Model by itself ? There is something that I am missing...A class method Maybe ? My Model is Pretty Basic...

So if the User Field from the BackofficeAsset gets populated by my "Mitarbeiter" Field Value, then the Additional_USer_Info.html, will also get populated.

✪ vi4m Marcin Kliks
@vi4m
@MarekBleschke do you know how it’s done?
@mkurek ?
robbagithub
@robbagithub
Hello. Total Noob here, I've been looking for an app to manage our DCFM data for ages. Power IQ sucked... Just wondering if Ralph handles Cable labels yet?
✪ vi4m Marcin Kliks
@vi4m
did you try demo? @robbagithub
✪ vi4m Marcin Kliks
@vi4m
Dopsterinho
@Dopsterinho

@MarekBleschke do you know how it’s done?

I think the easiest way would be to bring the User Profile Field on to my model "Mitarbeiter" Field ?
or with a classmethod something like "self.user = self.mitarbeiter" ?

Dopsterinho
@Dopsterinho

@MarekBleschke do you know how it’s done?

I think the easiest way would be to bring the User Profile Field on to my model "Mitarbeiter" Field ?
or with a classmethod something like "self.user = self.mitarbeiter" ?

But I do not know how to do that :-/

ShadowPhrogg32642342
@ShadowPhrogg32642342
Hi guys, Is there a way to manage non-rackmount datacenter machines? I tried emulating our shelf structure using blades and slots, but cannot find the option to turn something into a blade unit or blade chassis, as referred in the quickstart guide.
✪ vi4m Marcin Kliks
@vi4m
it’s certainly doable
✪ vi4m Marcin Kliks
@vi4m
if you want to have some models „enclosed” in some „parent” enclosures, you can define asset models
for example, blade systems are marked with [x] has parent field
Zrzut ekranu 2018-10-19 o 09.44.43.png
Zrzut ekranu 2018-10-19 o 09.44.33.png
just see the difference between enclosure vs chassis blade
vobo70
@vobo70
I have upgraded ubuntu 14.04.5 (apt update && apt upgrade) and Ralph stoped to work . Acctualy ralph works by run command: /opt/ralph/ralph-core/bin/ralph runserver 0.0.0.0:8000 but nobody can log on. Our colleagues left company but he made some changes to AD logon scripts. How to reset local admin password to get to the settings?
✪ vi4m Marcin Kliks
@vi4m
You mean, permission denied error?
vobo70
@vobo70
No; when I put logon name and password i get in left top corner: Wprowadź poprawne dane w polach "użytkownik" i "hasło" dla konta należącego do zespołu. Uwaga: wielkość liter może mieć znaczenie. I'm sure I put correct login and password
I also tried to restore ralph folder from backup but It doesn't work either.
✪ vi4m Marcin Kliks
@vi4m
you can reset password with /opt/ralph/ralph-core/bin/ralph changepassword <user_name>
and always you can create new superuser account with /opt/ralph/ralph-core/bin/ralph createsuperuser
i’m not sure why your settings changed after upgrade, but keep in mind to keep settings outside of /opt/ralph directory since it might get overwritten by package upgrades
that’s why environment variables(RALPH_DB_NAME etc) hold configuration, as described in installation manual
vobo70
@vobo70
Thank you very much. Change password worked for me and now I can login to ralph. Are there any plans to support upgrade to ubuntu 18.04.1?
vobo70
@vobo70
And where are settings stored by default? Becouse login by domain account does not work (When I show group list, get group 'admin' there's '-' after LDAP mapping:
✪ vi4m Marcin Kliks
@vi4m
we have plans to add support for 18.04.1 in Novemeber
settings - it entirely depends on installation (admin which installed it). ralph settings are just configuration variables from startup script, but you can check if someone changed /opt/ralph/... settings.py or settings-local.py
Dopsterinho
@Dopsterinho
Hello
Is there a possibility to add an activity Log on the Index.HTML ? Like now "my recent Actions", but something like "All Recent Actions" with possibility to search the List .
✪ vi4m Marcin Kliks
@vi4m
sounds like nifty idea @Dopsterinho but we don’t have plans to implement this by ourselves for now
might be nice starter task for new contributors, though :)
joshualu4
@joshualu4
Hello friends, is there a way to run transitions that require owner approval? For example, a user can run a transition to change the owner of an item, but the transition will only go through if the current owner approves it.
Marek Bleschke
@MarekBleschke
Hi @joshualu4. Currently there is no functionality of approving transitions by user to run them. You can add permission to user or group to allow running specific transition - if user has this permission he/she can run transition.
Dopsterinho
@Dopsterinho
Hello
How can I uninstall Ralph Completely ? Simple Delete of the Folder ?
Jan Bundesmann
@knoppi
I just tried to rebuild my Docker image, but the process gets interrupted during provision_js.sh; it seems gyp requires a binary "python", which usually is just a symlink to the installed version. This is not created. I solved by adding a line to the dockerfile "RUN apt-get install -y python2.7 && ln -s /usr/bin/python27 /usr/bin/python".
Now, it builds, but that seems very hacky to me and I do not understand why docker build is complaining now. Maybe it is the change of the base image?
Shall I create an issue on GitHub?
✪ vi4m Marcin Kliks
@vi4m
yes, please!
i think it might be related to volumes - did you use volumes?
Jan Bundesmann
@knoppi
@vi4m Just created an issue. In case you were referring to me with the volumes: I did not "use" anything at that point, this happened during the build process. Later, I would have used volumes, yes. But the corresponding layers of the image appears later in the Dockerfile.
✪ vi4m Marcin Kliks
@vi4m
@knoppi did you use mac system?
Jan Bundesmann
@knoppi
No, it is a Debian Linux.
seabrig29
@seabrig29
Ran Ralph3 install as described by https://ralph-ng.readthedocs.io/en/latest/installation/installation/#debianubuntu-package-recommended. Installed on Ubunto 14.04 after installing Mysql and trying to run the "Ralph Migrate" command I get command not found. can anyone help. FYI. very much a Linux newbie.
Fabian Krack
@onibox
seabrig29
@seabrig29
@onibox I appreciate the information however a comparison between the to pages shows they are the same information unless there is one magical line I missed. but they look like the same instruction set to me.
Fabian Krack
@onibox
@seabrig29 Same page, but different section. The 'ralph' binary should be located in /opt/ralph/ralph-core/bin
seabrig29
@seabrig29
@onibox Thank you for taking the time to answer. For the life of me I dont see a single difference between the two sets of instructions. However I did them and the results were the same. I even tried to running Ralph Migrate from the correct bin folder. the following errors Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] Clearly the set of instructions are not designed to be followed with some extensive inherent knowledge. I even tried setting Pyhonhome= /usr/bin and also tried setting to the ralph-core bin folder. cool looking product but just not worth it.
✪ vi4m Marcin Kliks
@vi4m
Zrzut ekranu 2018-11-7 o 09.35.20.png
if you set environment variables, as described, the PATH will be set, and „ralph” command should be available
you might want to "source ~/.profile"
Fabian Krack
@onibox
Hi, maybe a dumb question, but why is RalphNG installed into /opt/ralph/ralph-core and not just /opt/ralph? What does 'core' mean?
✪ vi4m Marcin Kliks
@vi4m
we have plans for packaging other components for ralph such as PDF invoices / documents generation