Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - half_life

Pages: 1 [2] 3 4 ... 56
16
@Bert666 - that works. thanks for the idea. 8)

update Nov. 17 - went down the docker path, used the following command 'sudo docker run -d nextcloud:fpm' - installed just fine, but when browse to the server http address i just get the default Apache screen.

i was following this guide ->   https://linuxconfig.org/how-to-install-nextcloud-on-ubuntu-18-04-bionic-beaver-linux


am i overlooking something?

A couple of notes:
 
1  add your user to the docker group so that you don't need sudo to run docker commands.

Code: [Select]
useradd -G {group-name} username
2 Look at the running process
Code: [Select]
docker ps -aIt should look something like this:

Code: [Select]
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                    NAMES
c593c3e3c00c        nphung/pgadmin      "sh -c 'python ${P..."   3 months ago        Up 4 minutes        0.0.0.0:5050->5050/tcp   pgadmin


Note the "PORTS" section  In this case it reads the host port 5050  connects to the container port 5050 

To verify that it is listening use this command substituting the correct port for your situation :

Code: [Select]
ss -ltn |grep 5050
LISTEN     0      128         :::5050                    :::* 

Finally add an exception for it in the firewall.

17
Installation and Upgrades / Re: Problems upgrading from 5.12 to 6.0.
« on: November 18, 2018, 06:51:34 pm »
I found the thread dealing with the apt problem I described.  Followed the instructions there and am trying the upgrade again.

Fingers crossed.

Later:   

Nope.  Same failure.

18
I have made several attempts to use the upgrade button without luck. It has failed in the same place each time.  The process hangs at "Configuring network (6.0) and does not progress.  The outcome leaves the Wan connection up but not able to pass traffic.

Background:
    My config:
          I run a virtualized environment (Proxmox).  I also employ a pair of Pfsense firewalls for most traffic.   Zentyal provides email and identity services.  Zentyal has both public and private network interfaces.  Zentyal also provides vpn services.  Most modules are installed and configured.

     Attempts:

It is worth noting that something went wrong during the 5.10 to 5.11 update.  When I tried to update to 5.12 apt began to complain about not being the correct version for the libraries installed.  I was able to work around this by backleveling apt apt-utils and apt-https-transport to the previous version.

First attempt -   Pushed the button and waited.  Progress halted at configuring network as noted above.  2 hours went by before I bailed out.  -  No working wan network post reboot.  Restored backup
Second attempt -  Same process up until it hung at configuring the network.  I found and killed that specific process which allowed the upgrade to complete.   No working wan network post reboot.  Restored
Third attempt  -  Decided extra interfaces might be confusing the upgrade.  Disabled docker and rebooted before upgrading.  Same results.   I tried re running the postinstall script for zentyal-network without luck.

At the end of the day I will be able to stand up a new vm and port over the configuration manually before moving the email from one machine to the other.  I am not dependent on the upgrade in place to work. 

Jose,  any thoughts on what I should check for here?  Or, should I just proceed with a manual migration?

Thanks

Denny

19
Email and Groupware / Re: Outgoing mail relay
« on: September 24, 2018, 05:00:53 am »
Think about setting up your own domain.  Then you could send and receive email directly from your zentyal machine without all the rigmarole. If your IP address is in a range that makes sending problematic then there are services like mailgun which work nicely and come at no cost for email volumes less than 10k outbound a month.

 A domain ending in .net is $18.50 purchased from gandi.net
DNS services are $12/yr from Google
If you think uptime might be an issue you can pursue backup MX services but I doubt that will come into play for most uses.

The configuration is dead simple. 

Give it a thought.

- my two cents
    Denny

20
Installation and Upgrades / Re: Fileserver ONLY option?
« on: September 02, 2018, 07:18:27 pm »
The last version update of samba 3 was samba 3.6.25 in March of 2015. Since then all efforts have been put into samba4.  Samba 4 by default provides a domain controller and a file server.  If you are looking for an NT 4 style domain then I suspect you will need to install and manage that yourself as it is a legacy configuration.

21
Installation and Upgrades / Re: Using shares on 2nd hard drive
« on: June 29, 2018, 07:04:59 am »
Why didn't you just mount the second drive directly to /home vs trying to do a bind mount?

22
Contacts and calendar are stored in mysql.  The mail info is in maildir format under /var/vmail/<your_domain>/username/Maildir/. Folders created within SOGo are hidden.  The file dates should be enough but you could also parse the date info in the email.

You can find all candidate emails with something like this:
Code: [Select]
find /var/vmail/<your_domain>/* -type f  -mtime +1825

Adding a -delete to the end will perform the deletion.

23
Email and Groupware / Re: Mail migration from 4.2 to 5.1
« on: May 29, 2018, 03:30:56 am »
I am just seeing this now.  You could use imapcopy to migrate large numbers of mailboxes.  Zarafa has a switch to disable authentication which helps a great deal here.  I used this same methodology to move about 700 mailboxed from IceWarp to Exchange via Imap.

24
Email and Groupware / Re: Letsencrypt and 3rd party certificates
« on: May 28, 2018, 08:10:29 am »
If you mean the web admin page then you could edit /usr/share/zentyal/stubs/core/nginx.conf.mas.

Edit the ssl certificate lines to read :
Code: [Select]
        ssl_certificate      /etc/letsencrypt/live/<my_Domain_Name>/fullchain.pem;
        ssl_certificate_key  /etc/letsencrypt/live/<my_Domain_Name>/privkey.pem;


A more permanent way to do this is to use hooks see http://blogs.zentyal.org/jacalvo/2011/01/04/how-to-customize-the-configuration-files-generated-by-zentyal/comment-page-1/
If you are using nginx in other ways edit  /etc/nginx/snippets/snakeoil.conf  similarly.

25
Installation and Upgrades / Re: Completely Reinstall
« on: May 28, 2018, 07:27:18 am »
Then perhaps you should consider using something other than linux for your purposes.  I don't think you will find it easier to reinstall packages from scratch than purging and reinstalling.  I showed the command line method.  I leave it as an exercise to the reader to explore the other less direct methods to purge a package.  By the way,  this thread originated in 2010.  Open a new thread rather than digging up a very old one.

26
Other modules / Re: Denying DHCP leases by MAC Address
« on: May 06, 2018, 10:42:16 pm »
Another way to solve the problem is to allow connections to Zentyal from a permitted network object using firewall rules.  Switching to radius authentication also might be very informative as to how the students are getting the passwords.

27
Installation and Upgrades / Re: Server sizing tips needing
« on: May 06, 2018, 10:25:12 pm »
You might consider upgrading before attempting to bring email in house.  Zentyal 4.1 uses Openxchange if I recall correctly.  It is no longer available in the 5.X series. You are probably provisioning too much memory for 150 users. It might be better to configure hotplug memory and CPU to the VM and add it as you identify the need.  BTW what are your retention requirements for email and how are you handling that?

28
Installation and Upgrades / Re: Completely Reinstall
« on: April 09, 2018, 03:18:57 pm »
Purge them:

Code: [Select]
apt-get purge <package_name>  <package_name>
Reinstall them from the web interface.

29
Installation and Upgrades / Re: Upgrade stuck! Any suggestions?
« on: April 07, 2018, 11:14:16 pm »
I see the same problems. The post install scripts for upgrading zentyal-dns are not returning.  Like you, I rebooted.  I tried rerunning the upgrade and found that there was an error still and it suggested re running dpkg --configure -a.  DNS still hung but a quick ctrl-c got me past that point.  I performed an apt-get remove zentyal-dns which triggered several other packages to be removed also.

zentyal-sogo
zentyal-mailfilter
zentyal-mail
zentyal-jabber
zentyal-samba


I reinstalled them afterwards.   Things seem to be functioning fine now.  In my case this was a test machine that has never been rolled to production so I had no fear whatsoever. Your mileage may vary.

30
Both parties in the discussion indicated a clean installation.  I will take a look at the bugtrack entry.  Thanks for bringing this up.

Pages: 1 [2] 3 4 ... 56