Hello Marc,

Did you get any installation details from the zotonic system admin to help 
guide me getting zotonic installed.
Still having problems

I don't want to use docker for zotonic so I am still trying to get the 
zotonic installation working on ubuntu 18.04.
I have got a compile error now using Erlang/OTP 20
 
Created zotonic user and gave sudo access.
sudo apt-get update
sudo apt-get install erlang
erl -v
git clone https://github.com/zotonic/zotonic.git
cd zotonic
ls
make (no make available)
sudo apt install make
sudo apt-get update
make

This is the error,

zotonic@ubuntu-2gb-nbg1-1:~/zotonic$ make
erl -noshell -s inets -s ssl \
  -eval '{ok, saved_to_file} = httpc:request(get, 
{"https://s3.amazonaws.com/rebar3/rebar3";, []}, [], [{stream, 
"./rebar3"}])' \
  -s init stop
chmod +x ./rebar3
./rebar3  compile
===> Fetching pc ({pkg,<<"pc">>,<<"1.10.0">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/pc-1.10.0.tar
===> Compiling pc
===> Verifying dependencies...
===> Fetching bcrypt ({pkg,<<"bcrypt">>,<<"1.0.0">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/bcrypt-1.0.0.tar
===> Fetching bert ({pkg,<<"bert">>,<<"0.1.0">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/bert-0.1.0.tar
===> Fetching cowmachine ({git,
                                  
"https://github.com/zotonic/cowmachine.git";,
                                  {ref,
                                  
 "fe6568c7db55de4cf68bcff760ad273347a7e95f"}})
===> Fetching depcache ({pkg,<<"depcache">>,<<"1.4.0">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/depcache-1.4.0.tar
===> Fetching dh_date ({pkg,<<"dh_date">>,<<"1.0.0">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/dh_date-1.0.0.tar
===> Fetching rebar3_hex ({pkg,<<"rebar3_hex">>,<<"6.5.0">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/rebar3_hex-6.5.0.tar
===> Fetching hex_core ({pkg,<<"hex_core">>,<<"0.5.0">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/hex_core-0.5.0.tar
===> Fetching verl ({pkg,<<"verl">>,<<"1.0.1">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/verl-1.0.1.tar
===> Compiling verl
===> Compiling hex_core
===> Compiling rebar3_hex
===> Fetching diffy ({pkg,<<"diffy">>,<<"1.0.0">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/diffy-1.0.0.tar
===> Fetching dispatch_compiler ({pkg,<<"dispatch_compiler">>,
                                         <<"1.0.0-alpha1">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/dispatch_compiler-1.0.0-alpha1.tar
===> Fetching edown ({pkg,<<"edown">>,<<"0.8.1">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/edown-0.8.1.tar
===> Fetching eiconv ({pkg,<<"eiconv">>,<<"1.0.0-alpha1">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/eiconv-1.0.0-alpha1.tar
===> Fetching emqtt ({git,"https://github.com/zotonic/emqtt.git";,
                                
 {ref,"4abe34a6194f632c6589a4ca4954447a02b41b1d"}})
===> Fetching epgsql ({pkg,<<"epgsql">>,<<"3.1.1">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/epgsql-3.1.1.tar
===> Fetching erlang_localtime ({pkg,<<"erlang_localtime">>,
                                        <<"1.0.0">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/erlang_localtime-1.0.0.tar
===> Fetching erlexec ({pkg,<<"erlexec">>,<<"1.9.3">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/erlexec-1.9.3.tar
===> Fetching erlpass ({pkg,<<"erlpass">>,<<"1.0.4">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/erlpass-1.0.4.tar
===> Fetching erlware_commons ({pkg,<<"erlware_commons">>,<<"1.0.0">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/erlware_commons-1.0.0.tar
===> Fetching exif ({git,"https://github.com/nlfiedler/erlang-exif.git";,
                                
{ref,"fda65623dce07bb21948306c91020bc644253460"}})
===> Fetching exometer_core ({pkg,<<"exometer_core">>,<<"1.4.0">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/exometer_core-1.4.0.tar
===> Fetching filezcache ({git,
                                  
"https://github.com/mworrell/filezcache.git";,
                                  {ref,
                                  
 "94de44ceb4c93440f412f017fae35c31a015f728"}})
===> Fetching gen_smtp ({pkg,<<"gen_smtp">>,<<"0.12.0">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/gen_smtp-0.12.0.tar
===> Fetching gproc ({pkg,<<"gproc">>,<<"0.5.0">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/gproc-0.5.0.tar
===> Fetching jobs ({pkg,<<"jobs">>,<<"0.6.0">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/jobs-0.6.0.tar
===> Fetching jsx ({pkg,<<"jsx">>,<<"2.8.2">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/jsx-2.8.2.tar
===> Fetching lager ({pkg,<<"lager">>,<<"3.2.1">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/lager-3.2.1.tar
===> Fetching letsencrypt ({git,
                                  
 "https://github.com/zotonic/letsencrypt-erlang.git";,
                                   {ref,
                                    
"9eb5ff98a6261cc379a6b7d3a4df04086aa4e342"}})
===> Fetching rebar3_auto ({pkg,<<"rebar3_auto">>,<<"0.3.2">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/rebar3_auto-0.3.2.tar
===> Fetching enotify ({pkg,<<"enotify">>,<<"0.1.0">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/enotify-0.1.0.tar
===> Compiling enotify
===> Compiling rebar3_auto
===> Fetching meck ({pkg,<<"meck">>,<<"0.8.4">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/meck-0.8.4.tar
===> Fetching mimetypes ({pkg,<<"mimetypes">>,<<"1.1.0">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/mimetypes-1.1.0.tar
===> Fetching mochiweb ({pkg,<<"mochiweb">>,<<"2.15.0">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/mochiweb-2.15.0.tar
===> Fetching oauth ({git,"https://github.com/tim/erlang-oauth.git";,
                                
 {ref,"bd19896e31125f99ff45bb5850b1c0e74b996743"}})
===> Fetching parse_trans ({pkg,<<"parse_trans">>,<<"3.0.0">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/parse_trans-3.0.0.tar
===> Fetching poolboy ({pkg,<<"poolboy">>,<<"1.5.1">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/poolboy-1.5.1.tar
===> Fetching proper ({pkg,<<"proper">>,<<"1.2.0">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/proper-1.2.0.tar
===> Fetching qdate ({git,"https://github.com/choptastic/qdate.git";,
                                
 {ref,"ed00a606f3deca1b5e82de72249436c98faaa3a0"}})
===> Fetching recon ({pkg,<<"recon">>,<<"2.3.1">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/recon-2.3.1.tar
===> Fetching s3filez ({git,"https://github.com/mworrell/s3filez.git";,
                                  {ref,
                                      
"b6784fd3d3a3ede278c9b9f6f187fe1e762eb793"}})
===> Fetching shotgun ({pkg,<<"shotgun">>,<<"0.3.0">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/shotgun-0.3.0.tar
===> Fetching sidejob ({pkg,<<"sidejob">>,<<"2.1.0">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/sidejob-2.1.0.tar
===> Fetching syslog ({git,
                                
 "https://github.com/Vagabond/erlang-syslog.git";,
                                 {ref,
                                    
 "4a6c6f2c996483e86c1320e9553f91d337bcb6aa"}})
===> Fetching template_compiler ({pkg,<<"template_compiler">>,
                                         <<"1.0.0-alpha7">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/template_compiler-1.0.0-alpha7.tar
===> Fetching twerl ({git,"https://github.com/mworrell/twerl.git";,
                                
 {ref,"396c73497c2cdaa5d5bebbe4a6f52dd042a5bf2c"}})
===> Fetching zotonic_stdlib ({pkg,<<"zotonic_stdlib">>,<<"1.0.0">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/zotonic_stdlib-1.0.0.tar
===> Fetching cf ({pkg,<<"cf">>,<<"0.2.2">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/cf-0.2.2.tar
===> Fetching color ({pkg,<<"erlang_color">>,<<"1.0.0">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/erlang_color-1.0.0.tar
===> Fetching cowboy ({pkg,<<"cowboy">>,<<"2.3.0">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/cowboy-2.3.0.tar
===> Fetching elli ({pkg,<<"elli">>,<<"1.0.5">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/elli-1.0.5.tar
===> Fetching folsom ({git,"git://github.com/boundary/folsom.git",
                                 {ref,
                                    
 "8914823067c623d2839ecd6d17785ba94ad004c8"}})
===> Fetching getopt ({pkg,<<"getopt">>,<<"0.8.2">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/getopt-0.8.2.tar
===> Fetching goldrush ({pkg,<<"goldrush">>,<<"0.1.8">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/goldrush-0.1.8.tar
===> Fetching gun ({pkg,<<"gun">>,<<"1.0.0-pre.1">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/gun-1.0.0-pre.1.tar
===> Fetching jiffy ({pkg,<<"jiffy">>,<<"0.14.7">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/jiffy-0.14.7.tar
===> Fetching qdate_localtime ({pkg,<<"qdate_localtime">>,<<"1.1.0">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/qdate_localtime-1.1.0.tar
===> Fetching setup ({pkg,<<"setup">>,<<"1.7.0">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/setup-1.7.0.tar
===> Fetching yamerl ({pkg,<<"yamerl">>,<<"0.4.0">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/yamerl-0.4.0.tar
===> Fetching bear ({git,"git://github.com/boundary/bear.git",
                                
{ref,"119234548783af19b8ec75c879c5062676b92571"}})
===> Fetching cowlib ({pkg,<<"cowlib">>,<<"2.2.1">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/cowlib-2.2.1.tar
===> Fetching ranch ({pkg,<<"ranch">>,<<"1.4.0">>})
===> Downloaded package, caching at 
/home/zotonic/.cache/rebar3/hex/hexpm/packages/ranch-1.4.0.tar
===> Compiling cowlib
===> Compiling zotonic_stdlib
===> Compiling goldrush
===> Compiling lager
===> Compiling erlang_localtime
_build/default/lib/erlang_localtime/src/localtime_dst.erl:16: Warning: 
export_all flag enabled - all functions will be exported

===> Compiling template_compiler
_build/default/lib/template_compiler/src/template_compiler_runtime_internal.erl:240:
 
Warning: crypto:rand_uniform/2 is deprecated and will be removed in a 
future release; use rand:uniform/1

===> Compiling syslog
===> Compiling /home/zotonic/zotonic/c_src/syslog_drv.c
===> sh: 1: exec: cc: not found

GNUmakefile:27: recipe for target 'compile' failed
make: *** [compile] Error 1
zotonic@ubuntu-2gb-nbg1-1:~/zotonic$ erl -v
Erlang/OTP 20 [erts-9.2] [source] [64-bit] [smp:1:1] [ds:1:1:10] 
[async-threads:10] [kernel-poll:false]

Eshell V9.2  (abort with ^G)
1>
BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
       (v)ersion (k)ill (D)b-tables (d)istribution



zotonic@ubuntu-2gb-nbg1-1:~/zotonic$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic






On Friday, March 8, 2019 at 10:30:07 AM UTC, Marc Worrell wrote:
>
> I will try to let one of the system administrators I work with chime in.
> They might have some tips.
>
> Cheers, Marc
>
>
>
> On 7 Mar 2019, at 16:47, laye...@gmail.com <javascript:> wrote:
>
> H Marc,
>
> I have tried 16.04.5 and 18.04.2 droplets on Digitaloceon and tried it a 
> number of times on fresh 16.04.5 droplets.
> I have not tried Debian yet.
>
> I have also tried it on Nixos 17 and make ran OK - once I added the right 
> supporting applications. 
> That does not mean Zotonic will be happy on NixOS without some other 
> problems. I still have to get Postgres running on Nix.
>
> I would like to get Zotonic running on Digitaloceon first and then 
> continue seeing if I can run Zotonic on NixOS. 
> I have a server with NixOS on AWS and on VPSFreeze.org.
>
> I have not tried installing zotonic on AWS.
>
> I have an account with Scaleway but have decided not to use them for 
> Zotonic.
>
> I will try Kerl on DigitalOceon.
>
> Any tips for configuring zotonic to run on a secure VPS will be welcome.
>
> thanks
>
> Eddie
> vpsFree.orgvpsFree.orgvpsFree.org
> On Thursday, March 7, 2019 at 11:53:41 AM UTC, Marc Worrell wrote:
>>
>> We are using Ubuntu and Debian servers.
>> And for dev Mac OS X.
>>
>> For switching Erlang releases we are using kerl.
>> That works fine, in fact I use it now even in production.
>>
>> My own servers are running at TransIP.
>> But others are running servers at many other places.
>>
>> I might try to get a demo server up & running with Scaleway.
>> They are pretty cheap, but no idea if there is a catch to that price.
>>
>> Did you try with stock Ubuntu or Debian?
>>
>> Maybe others have some suggestions?
>>
>> Cheers, 
>>
>> Marc
>>
>>
>>
>> On 6 Mar 2019, at 19:17, laye...@gmail.com wrote:
>>
>> Hi Marc
>>
>> Is it possible to run my installation on the same hosting provider you 
>> use so that my zotonic installation mirrors yours?
>> That might be one way of doing this.
>>
>> Eddie
>>
>>
>>
>> On Wednesday, March 6, 2019 at 4:20:59 PM UTC, Marc Worrell wrote:
>>>
>>> Hi,
>>>
>>> I think cowboy is now OTP-19+ only.
>>>
>>> Can you check with OTP-19 or 20?
>>>
>>> Cheers, Marc
>>>
>>>
>>> On 6 Mar 2019, at 17:19, laye...@gmail.com wrote:
>>>
>>> Hi Marc,
>>>
>>> Still fumbling around trying to get a working zotonic installation....
>>>
>>> I am using an ubuntu 16.04.5 digitaloceon droplet.
>>> I am logged in as user zotonic.
>>>
>>> I installed the dependencies...
>>>
>>> sudo apt-get install build-essential git erlang imagemagick postgresql
>>>
>>>
>>> zotonic@ubuntu-zotonic:~/zotonic$ erl -v
>>> Erlang/OTP 18 [erts-7.3] [source] [64-bit] [async-threads:10] 
>>> [kernel-poll:false]
>>>
>>> Eshell V7.3  (abort with ^G)
>>>
>>>
>>> I ran git clone https://github.com/zotonic/zotonic.git
>>> cd /zotonic
>>> make
>>>
>>> and got these errors at the end of the make.
>>>
>>>
>>> ===> Compiling _build/default/lib/cowlib/src/cow_sse.erl failed
>>> _build/default/lib/cowlib/src/cow_sse.erl:32: syntax error before: ':='
>>>
>>> _build/default/lib/cowlib/src/cow_sse.erl:44: type event() undefined
>>>
>>> GNUmakefile:27: recipe for target 'compile' failed
>>> make: *** [compile] Error 1
>>> zotonic@ubuntu-zotonic:~/zotonic$
>>>
>>>
>>>
>>>
>>>
>>> I have had various problems getting zotonic to compile on earlier 
>>> droplets with missing components
>>>
>>>
>>> On an earlier droplet I got these errors.
>>>
>>> *2. *Missing components similar to this link 
>>> https://sea-region.github.com/asdf-vm/asdf/issues/415
>>>
>>> any ideas? still just following the developer instructions
>>>
>>> Eddie
>>>
>>> -- 
>>>
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Zotonic developers" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to zotonic-developers+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>>
>> -- 
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Zotonic developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to zotonic-developers+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
> -- 
>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Zotonic developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to zotonic-developers+unsubscr...@googlegroups.com <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Zotonic developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to zotonic-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to