Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
alex19damian
@alex19damian

From what I see - the problem might be with the way your package is installed. Django should not be installed to /usr/lib, but should sit in the same location (/opt/Ralph)

Verifying this, when installing the new ralph I followed these instructions https://ralph-ng.readthedocs.io/en/stable/installation/installation/#ubuntu-package-bionic-and-newer-recommended, installing from apt. This is bad?

Is that your specific installation detail or some error?

It is an error that I see in the logs when going to https://ralph_host/virtual/virtualserver/

✪ vi4m Marcin Kliks
@vi4m
Is that new server without previous Ralph installed ?
✪ vi4m Marcin Kliks
@vi4m
Your error log says, that the virtual servers were imported with the wrong parents. The parent should be one of DataCenterAsset or CloudHost - but in your case, t is now connected directly to ServiceEnvironment without physical or cloud parent, and that’s the error contents
quick fix could be changing parents manually
typing ralph shell will open database connectivity to fix some data
✪ vi4m Marcin Kliks
@vi4m
and then for i in VirtualServer.objects.all(): i.parent = DataCenter.objects.get(sn=“123456”) will connect all virtual machines to given hardware asset
(you can do something similar with CloudHost)
tdorsey
@tdorsey
hi all. I solemnly swear I've read the docs, but I'm about to ask a dumb question. Does ralph allow attaching arbitrary documents to an asset? eg, if I have the purchase order for an asset as a pdf, can I link them somehow?
1 reply
rdarioc
@rdarioc
Hello everyone, how do I upgrade from ralph-core_20181221.2_amd64.deb (which was installed manually) to the latest available (currently ralph-core_20200828.1_amd64.deb) ? Thanks in advance for your help
1 reply
Roderick Groesbeek
@rgroesb_twitter
Hi! If you have a Dockerized Ralph3... where would you find the "modified ralph.settings.prod.py" ?
Vahan Sahakyan
@VahanSahakyan3_twitter
Hello
Are the Ralph CMDB has scale sets configurtaion?
taipq0106
@taipq0106
Hello anyone help me configure ldap in Ralph 3 please
Dheeraj kumar
@dheerajkr126

Getting error during accessing cloud host instance from UI and it shows cloud project dependency. But not sure if any relation exists between cloud host and cloud project.Although cloud host API is working fine returning metadata of cloudhost.

Request URL: http://<dns_var>/virtual/cloudhost/
AttributeError at /virtual/cloudhost/
/opt/ralph/ralph-core/lib/python3.6/site-packages/ralph/virtual/admin.py in get_cloudproject, line 375

Let me know if someone faced this type of issue earlier or have some solutions to fix it.

yuuki2020
@yuuki2020
Hello, I installed Ralph for the first time and so far I find it quite good. I would be interested if there is the possibility to switch the program to German. Haven't found (or missed) anything in the settings yet. Can anyone help me? Or where can I find the FAQs for this program, so I might be able to find out there. Thanks a lot.
✪ vi4m Marcin Kliks
@vi4m
You cen change language with small right upper menu Profile -> Language
✪ vi4m Marcin Kliks
@vi4m
@tdorsey it’s just under Attachment card on the Asset view
yuuki2020
@yuuki2020
Unfortunately changing the language does not work. The menu is still completely in English. Is there no German version of the program?
✪ vi4m Marcin Kliks
@vi4m
We’ve received german translation from community but it seems we have to build new package to release it this month. Technically It is just one file to copy over ;)
Damian Fajfer
@sjal
hey, maybe kind out of blue, but I'm looking for a system to manage assets in a small warehouse - has anyone had any luck using Ralph this way? I playtested it a bit and you can switch off a lot of things you don't want to use so it doesn't seem utterly insane
3 replies
Vitaly Bogryashov
@bambus1980
how to login to demo site?
ralph/ralph - sccess denied
Damian Fajfer
@sjal
https://ralph-demo.allegro.tech/ - just logged in, works flawlessly
eajihoon
@eajihoon
I can't login demo too.. tried different browser but no luck - https://ralph-demo.allegro.tech/
Pathikorn Sinlamat
@pwebjunior_gitlab

I can't log-in https://ralph-demo.allegro.tech/ and also found the message "Please enter the correct username and password for a staff account. Note that both fields may be case-sensitive.".

Could you fix this problem? Thanks.

dadayechong
@dadayechong
yes,i can't login demo too
SuperChaw
@SuperChaw
Hello Team, Does anyone knows 'django-smart-selects', or anyone has used it in Ralph? I want to ask u a few questions about it,Thank you!
Lioh Moeller
@LiohMoeller
Hi all, is the installation also supported on Ubuntu 20.04?
hazly92
@hazly92
@LiohMoeller : i tried today i stucked at create ralph superuser, so i decided to install ubuntu 18.04
Hi, do ralph has email alert function? Im currently looking to send an email any expired license or domain.
Ju
@avenetj
Hi
3 replies
I'm running into the same issue as allegro/ralph#2978
but I cant seem to fix it
css files are there but dont get picked up
I followed the install process described here : https://ralph-ng.readthedocs.io/en/stable/installation/installation/
but i did inject an existing db
Ju
@avenetj
[08.12.2020 10:50:52,687] WARNING [MainProcess 1454] base - Not Found: /static/vendor/js/jquery.888d4551b8db.js
[08.12.2020 10:50:52,759] WARNING [MainProcess 1453] base - Not Found: /static/src/js/ralph.init.39e2f0a497aa.js
[08.12.2020 10:50:52,824] WARNING [MainProcess 1453] base - Not Found: /static/auto-complete-helpers.c5d245511ec1.js
[08.12.2020 10:50:52,890] WARNING [MainProcess 1453] base - Not Found: /static/vendor/js/foundation.min.6b2ec41c18b2.js
[08.12.2020 10:50:52,950] WARNING [MainProcess 1453] base - Not Found: /static/vendor/js/modernizr.c1ff1650bba6.js
[08.12.2020 10:50:53,015] WARNING [MainProcess 1454] base - Not Found: /static/src/js/fill-fields.63d74f0f02ca.js
i dont know what's about those random numbers getting in the file names
Ju
@avenetj
:/
Ju
@avenetj
is there another place that is fairly active for ralph ? forum seems quiet too
Ju
@avenetj
rip
Armando
@00face
Hello
how would I go about setting up this on my server?
Armando
@00face
Is there a tutorial available?
1 reply
MuratKurnaz
@MuratKurnaz

Hi guys,

I have a question. As a Ralph administrator, you can add new users to the Ralph system and give them certain rights. This also includes a box to select whether this user is Active, has a Staff status and/or an Administrator status.

The employee status now says that users with this status can log on to the administrator page. This raises the question in my mind of whether there is also an employee page in addition to this administrator page. In an old Ralph document I also heard something about a staff interface.

In addition to the administrator page or admin interface, is there also a staff interface where you can log in without the staff status box being activated?

Otherwise it makes no sense to me. Why should it be possible to give Ralph users the option of logging in via the administrator page if this is the only log-in option?

Kind regards

Murat

Translated with www.DeepL.com/Translator (free version)

recordr
@recordr

Hello! Guys, i'm trying to apply filter for object_type field like this: https://ralph-demo.allegro.tech/api/dc-hosts/?object_type__in=['cluster']

It returns 0 objects. Is there any syntax error or smth? Can anybody share the proper example?

JohnAWasco
@JohnAWasco

Is it possible to include custom fields in a data import?

Getting started with Ralph3 and I'm working on importing existing back-office inventory spreadsheets. Most of the existing data maps very well to Ralph3 fields, but there are some details we need to retain that just .. don't. (for example, we track OS licenses, audio and video drivers, disk capacity, and both wifi and hard-wired MAC addresses .. which don't map to existing Ralph3 fields)

What I'd like to do is to create custom fields for this data, and then just include them in the import. I'm really hoping to avoid a brute-force copy/paste/repeat for hundreds of rows, both because it's not any fun, and because it's error-prone and I would likely end up with a garbage database.

Hoping this is an easy one -

John

Jose Loza Vargas
@jomloz_twitter
Hello!...new at Ralph 3....Is it possible to register the port connections between the datacenter equipment? (switch ports, router ports, patchpannel ports... like openDCIM...)
abiwill
@abiwill

Hello People

can someone help me with this error that i am getting while setting up the development environment on macosx.
I am following instructions mentioned at https://ralph-ng.readthedocs.io/en/stable/development/development_environment/ and the error occurs at dev_ralph migrate

Traceback (most recent call last):
File "/Users/b0211000/.virtualenvs/ralph/bin/dev_ralph", line 33, in <module>
sys.exit(load_entry_point('ralph', 'console_scripts', 'dev_ralph')())
File "/Users/b0211000/Todo/AIRTEL/POC/ralph/src/ralph/main.py", line 18, in dev
main('ralph.settings.dev')
File "/Users/b0211000/Todo/AIRTEL/POC/ralph/src/ralph/main.py", line 14, in main
execute_from_command_line(sys.argv)
File "/Users/b0211000/.virtualenvs/ralph/lib/python3.8/site-packages/django/core/management/init.py", line 354, in execute_from_command_line
utility.execute()
File "/Users/b0211000/.virtualenvs/ralph/lib/python3.8/site-packages/django/core/management/init.py", line 328, in execute
django.setup()
File "/Users/b0211000/.virtualenvs/ralph/lib/python3.8/site-packages/django/init.py", line 18, in setup
apps.populate(settings.INSTALLED_APPS)
File "/Users/b0211000/.virtualenvs/ralph/lib/python3.8/site-packages/django/apps/registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File "/Users/b0211000/.virtualenvs/ralph/lib/python3.8/site-packages/django/apps/config.py", line 86, in create
module = import_module(entry)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 783, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/Users/b0211000/Todo/AIRTEL/POC/ralph/src/ralph/admin/init.py", line 2, in <module>
from ralph.admin.mixins import (
File "/Users/b0211000/Todo/AIRTEL/POC/ralph/src/ralph/admin/mixins.py", line 23, in <module>
from mptt.admin import MPTTAdminForm, MPTTModelAdmin
File "/Users/b0211000/.virtualenvs/ralph/lib/python3.8/site-packages/mptt/admin.py", line 26, in <module>
from mptt.models import MPTTModel, TreeForeignKey
File "/Users/b0211000/.virtualenvs/ralph/lib/python3.8/site-packages/mptt/models.py", line 377, in <module>
class MPTTModel(six.with_metaclass(MPTTModelBase, models.Model)):
RuntimeError: class not set defining 'MPTTModel' as <class 'mptt.models.MPTTModel'>. Was classcell propagated to type.new?