the good version now is 0.0.6 and 11.0.3-2, check them
What about dolibarr
What about dolibarr
well sorry I do not speak germain (I suppose).
-
be sure you have updated to the last version : yum update --enablerepo=stephdl-dolibarr
-
Colombian electronic invoice 11.0.x seem not compatible like you can read (however I am not really a dolibarr expert)
The module package seems to have a wrong format.
At least one mandatory directory must exists into zip of module: electronica or htdocs/electronica
if you need it maybe you can follow the manual instruction
Download the archive folder (.zip) from dolistore.com
Unzip the archive in the directory /htdocs/custom of your dolibarr.
Module can then be enabled (), set up () if necessary from the setting page and then run.
- TakePOS 8 (with Odoo theme) is already installed, search by TakePOS in the module, however I needed to increase the php maxupload size inside dolibarr to upload that file
What about dolibarr
I succeed to install https://www.dolistore.com/de/moduleplugins/636-Todoist-Online.html
Backup sets anatomy
It depends on the backup you use. Usually old backups are deleted after backup:
Cleanup process takes place in post-backup-data event.
It seems rsync backup just deletes until enough space is free:
http://docs.nethserver.org/projects/nethserver-devel/en/latest/nethserver-backup-data.html#id3
Makerpms: Error: invalid configuration
Since the last update on F31 this wk, I cannot build anymore with makerpms
makerpms *.spec
Error: invalid configuration, cannot specify resource limits without cgroups v2 and --cgroup-manager=systemd
I fixed the issue (or workaround ?) by adding in /usr/bin/makerpms
podman run \
--hostname b$$.$(hostname) \
+ --cgroup-manager=systemd \
--name "${container_id}" \
--security-opt label=disable \
After this I can use makerpms and build the rpm
Makerpms: Error: invalid configuration
We have some informations
Moodle with git and postgres
You are right. Sorry for confusion. There’s not a real update, you pull the whole code and just switch the branch to use a version.
My question was more about if we need this “git flexibility” to just switch version or stay with controlled updates.
In the meanwhile I think I’ll keep the controlled updates. If one wants to use git it should just be possible within the module.
I saw lot of mysql optimization with innodb and barracuda in the moodle docs until I found the recommendation to use postgresql.
Do you think we should use mariadb? I saw CentOS 8 uses mariadb 10.3 or postgresql 10 so I’d opt for one of them…
Is it better to stick to the LTS or should we go “bleeding edge”?
Setting up virtual host to allow 2 different websites, with different DNS providers
oops! yes the 111.111.111.111 is not the real ip. It is also an example (filler). Sorry, I should have said something about that.
So virtual host created the following root folder for the website2 at - /var/lib/nethserver/vhost/59f3a47b4503d32/
and I placed a website in that directory with a index.html file.
This virtual host seems to be very basic and run a bit different because I have run virtual host in the past and I was able to run more then one site, the challenge was going into the configuration file and setting up the correct setting for ip, server paths, URL and so on. Nethserver website virtual host seemed to create a virtual host folder, but I can not see where to put in the settings that I would normally have control over in apache configs.
Like the following link -
https://httpd.apache.org/docs/2.4/vhosts/examples.html
I figured it would be simpler with Nethserver website virtual host and be all GUI based. I must be missing something…
Thanks,
-SF-
Moodle with git and postgres
Hi Markus,
Usually, I try to use the rh-mariadb102 Collection but for the next document, I will try 103.
For PostgreSQL, I always use version-11 which now is at 11.6.
After installation, I used yum-plugin-protectbase to protect [pgdg11]
in /etc/yum.repos.d/pgdg-redhat-all.repo
. In that section I insert protect = 1 so the updates for PostgreSQL-11 will only come from [pgdg11]
.
For my documentations, I always prefer to use LTS as there are less suprises with them and also, I don’t have to update the documents so often.
On the other hand, I cannot recommend anything to you, because I consider that you know much more than me on these subjects.
As example, after playing around with Zammad, from now on, I will try to always use your Nginx installation as Nginx is the most used web engine, even more than Apache.
Michel-André
Setting up virtual host to allow 2 different websites, with different DNS providers
No problem but you shouldn’t use IP at all as the virtualhost only comes up when you use the name.
Maybe you need to set permissions?
It always depends on the site you are using but for testing you could try
chown -R apache:apache /var/lib/nethserver/vhost/59f3a47b4503d32/
Many options are provided in advanced settings at vhost creation:
To add configuration manually you may use a .htaccess
file.
Moodle with git and postgres
Thanks for your inputs.
I am not a moodle expert or power user, I just like to integrate a nice package. So I need inputs of people with more moodle experience.
As regards LTS I think it always depends on the project, for example if there are many new good plugins and if they’re usable with the LTS version.
Nethserver makes intensive use of apache so I tend to use it if possible but for some apps I needed nginx.
Creating two VLANs causes loss of Internet
Hi
This seems to be the problem:
- enp3s0 - LAN (green) - connected to my Smart Switch
GREEN - and connected to the Internet on the same NIC hardware ?
-> Maybe you’re expecting too much IQ from your “SmartSwitch”…
I’m not sure, but I don’t think you can get reliable Multi-WAN if using vLANs on the same interface…
I’d stick in another LAN Interface, and forget the vLANs if you want relaible Multi-WAN.
Note: I’m not using NethServer as my Firewall, but OPNsense, just as open and free as NethServer. But: I have fast reliable Multi-WAN working at several sites! And I also use SmartSwitches and vLANs - just not in the Area of Multi-WAN! If you can afford 2 providers, a NIC shouldn’t be an issue!
My 2 cents
Andy
Cockpit Not Setting Green Interface To Static
Please update all packages from Software Center and then logout/login into Cockpit interface. Then retry.
Tell us if it works.
Creating two VLANs causes loss of Internet
Hi,
Thank you for the response. The Smart Switch has a few more IQ points than a regular old switch. Seriously, the Smart Switch is used for tagging/untagging of packets. It is only accessible from within my LAN.
By using the Smart Switch, I’m able to present to the gateway N-number of ISPs as VLANs.
I do not plan on setting up multi-WAN though, I will be mapping a home to their ISP.
Thx!
-pablo
Posix Users and SSH
Sorry, maybe I wasn’t clear enough.
The enabled shell override
adds a “stricter mode” to sshd_config.
Match Group "root,domain admins@domain.local"
ForceCommand none
AllowTCPForwarding yes
X11Forwarding yes
Match All
ForceCommand internal-sftp
AllowTCPForwarding no
X11Forwarding no
Now your posix users can’t login anymore.
Why not? If you want the shell override you need to set the normal users to “SSH+SFTP” to be able to login again.
This just sets the sshd_config back to the settings where your posix users are allowed again but enables account provider users to login by changing their shell.
If you need the shell override, allow normal users to ssh or disable the shell override.
If you want the posix users to login but the account provider users not you need to disable the shelloverride.
If that’s not possible I recommend to change the posix users to account provider users and allow them by group in UI.
If that’s not possible we can think about a custom template…
Creating two VLANs causes loss of Internet
Hi
I DO know vLANs and SmartSwitches quite well - I use mostly HP, but a few Ciscos are out there too.
Good Luck!
Andy
How to add fonts to Collabora (and perhaps OpenOffice)?
My apologies, I wrote fc-update
in the above post but it should be fc-cache
as mentioned earlier.
I don’t seem to be allowed to edit the above post any further perhaps too much time has passed.
Posix Users and SSH
Thank you again. I searched/expected this setting in system > ssh instead in system > settings but your screen picture was helpful.
So there are now three places for setting ssh access options.
system > settings - for enable/disable new/old ssh/sftp behavior
system > ssh - for managing ssh / sftp users/groups (and other ssh options)
system > users - for enabling/disabling ssh per user
O.k.
What was the intention to create this new option? The possibility to have separate groups for ssh/sftp enabling? Indeed, it seems to be a good idea for this…
But, In my opinion - the new option has also unlucky side effects.
Enabling ssh for (all) normal users to enabling ssh and server-manager for posix-admins (again) is - at least for me - no option. What if the account provider service is bad/offline? Root ssh login should always/better be off (normally) - in my opinion.
And - with the new option you loose also the (previous) possibility to disable ssh access for account provider admins. In my opinion, directory admins should not have (generally) have ssh access.
Posix Users and SSH
I assume yes and the new user settings page.
To be able to login to the server manager or the new user settings page login page, users need the shell enabled. To make this possible, you need the shell override.
The shell override enables the shell for all domain users and therefore sshd is used to set permissions by groups but posix groups are not included.
OK, in this case without root and need for system users to login you need a custom template or disable shell override completely but is it a common case? The idea is to not include rarely needed functions.
@giacomo @stephdl should we include an option to allow posix groups? Or at least split up the fragments to allow a better custom template?
To create the custom template you need to copy a témplate fragment (not optimal but I see no other way).
mkdir -p /etc/e-smith/templates-custom/etc/ssh/sshd_config
cp /etc/e-smith/templates/etc/ssh/sshd_config/70Restricted2Sftp /etc/e-smith/templates-custom/etc/ssh/sshd_config
Edit /etc/e-smith/templates-custom/etc/ssh/sshd_config/70Restricted2Sftp
and add your group(s), you have to separate by comma. I already added the posix test group to allow the posix user test.
$OUT .= qq(Match Group "$match_group_exp,test"\n);
Add test to AllowGroups:
echo "AllowGroups test" > /etc/e-smith/templates-custom/etc/ssh/sshd_config/44AllowPosixGroup
Apply changes.
signal-event nethserver-openssh-update
Now your sshd_config should include group test to be allowed to SSH/SFTP even if permission for normal users is no access. There are more options like DenyUsers
, AllowUsers
and DenyGroups
:
Collaborative tools for schools
I don’t know if it’s possible to do it completely without having people in place that at least know some basics. I think it’s about training (maybe webinar over bbb) too.
Nethserver provides an easy-to-use interface with delegation possibility. If you train them they can manage it themselves giving you more resources to support more schools.
If the schools get a physical server you may virtualize BBB when a native install does not work.