danb35
(Dan)
November 20, 2018, 6:04pm
133
I’m pretty sure the $ shouldn’t be here, or in the other places it’s appearing. Check your template files.
2 Likes
@danb35 long time no see.
could work on converting this into a module?
what do you say? it gave us some hell, time to simplify the process right!
danb35
(Dan)
March 17, 2020, 3:23pm
135
I don’t have enough interest in this software to put in that effort.
i would like then to know how to build modules.
build repos
and similar.
just came across this. maybe it can be re-purposed and tuned. for centos, and for nethserver integration.
dnutan
(Marc)
March 17, 2020, 10:26pm
138
Here are some links with info on creating a module:
I am very glad our Feature category is quite lively and used a lot. I have repeatedly explained in different discussions how the process works to get a new feature implemented for NethServer.
The process is quite straightforward and organic.
Before I explain the procedure I want to emphasize that if you opt to develop a new feature, it is important that such a new feature is not only developed, but also maintained and updated when needed. This means that when you need to commit yourself to do …
If there’s a particular package you want, but don’t have the ability to package it up, suggest it. Do what you can on it. Are there instructions for installing it under CentOS 7 (that don’t require Docker)? If so, that’s a good start, and you’ll probably be able to get the app up and running with only minor modification. Or is it pretty much just a web app, using the standard LAMP stack? It’s likely pretty straightforward to install. Write that up.
Next, how is the app configured? Are there configuration files? Are there standard things that need to be defined, and can be expected (e.g., things like domain names)? Are there others that the user will want to configure? Work on templates for those.
Packaging the nethserver-appname RPM is probably the fiddliest part of the procedure, but one doesn’t need to know the app well in order to do that.
Now, of course, all this depends on there being an existing app that could be packaged for Nethserver and would do what you want done
Some guys could say it is easy, but others could say it is beyond their knowledge of system administrators. Nethgui was easy, but you could do only what nethgui allowed you, cockpit let your free hands, however you have to write everything.
From what I think, vanilla js is not the way to go, vuejs is better, even if a js knowledge is needed, the data binding is easier. Vuejs takes care to update in the dom, the vars you have declared.
I started a scarfold of a rpm for cockpit vuejs, it is a s…
2 Likes
been trying to install the system using the wiki here: https://wiki.nethserver.org/doku.php?id=ht_phabricator
but i guess there are many changes that need to be considered.
cd phabricator
bin/config set mysql.pass $(cat /var/lib/nethserver/secrets/mysql)
running the comman, i get the error:
UPGRADE PHP: The installed version of PHP ("5.4.16") is too old to run Arcanist. Update PHP to at least the minimum required version ("5.5.0").
mrmarkuz
(Markus Neuberger)
April 6, 2020, 7:49pm
140
You need to install nethserver-php-scl for this howto.
i began with that process, but still get the same error
mrmarkuz
(Markus Neuberger)
April 6, 2020, 8:04pm
142
The problem is that PHP54 is found instead of the newer version.
/etc/httpd/conf.d/virtualhosts.conf
should have following line to use PHP72 from php-scl:
SetHandler "proxy:fcgi://127.0.0.1:9072"
Maybe you missed to reload the httpd service.
this is what is listed:
#
# 10default_vhost
#
IncludeOptional conf.d/default-virtualhost.inc
#
# 20virtual_hosts – expand extra virtual hosts
#
mrmarkuz
(Markus Neuberger)
April 6, 2020, 8:09pm
144
Seems the following step didn’t work. It should write your template fragment to the config file. Do you get an error?
expand-template /etc/httpd/conf.d/virtualhosts.conf
mrmarkuz
(Markus Neuberger)
April 6, 2020, 8:13pm
146
Does /etc/e-smith/templates-custom/etc/httpd/conf.d/virtualhosts.conf/15_phabricator
exist and does it have the right content?
av not yet gotten to that point, so the file is nonexistent. i was at the first steps of installation.
mrmarkuz
(Markus Neuberger)
April 6, 2020, 8:19pm
148
Please try the following before the bin/config
:
source scl_source enable php72
https://wiki.nethserver.org/doku.php?id=php-scl#use_the_php_cli
this portion of $domainname
is the dollar sign needed?
and the name
$DomainName
should it remain that way, or should be replaced with $mydomain.tld