Hello

I am attempting to install zotonic for first time. but it does not seem to 
start properly.
Can anyone help please?

Here is my current setup

$ uname -a
FreeBSD jail-erlang 12.1-RELEASE FreeBSD 12.1-RELEASE r354233 GENERIC  amd64

$ erl
Erlang/OTP 21 [erts-10.3.5.5] [source] [64-bit] [smp:4:4] [ds:4:4:10] 
[async-threads:1] [hipe] [dtrace]

$ gcc --version
gcc (FreeBSD Ports Collection) 9.2.0

$ g++ --version
g++ (FreeBSD Ports Collection) 9.2.0

$ git --version
git version 2.23.0

$ gettext --version
gettext (GNU gettext-runtime) 0.20.1

$ convert -version
Version: ImageMagick 7.0.8-57 Q16 amd64 2019-11-21 https://imagemagick.org

$ psql -V
psql (PostgreSQL) 12rc1



I downloaded zotonic from 
here https://github.com/zotonic/zotonic/archive/0.52.0.zip
then followed the instructions from here 
http://docs.zotonic.com/en/latest/developer-guide/getting-started.html to 
build and start zotonic
but  I am getting 
$ curl -kI https://localhost:8443
curl: (7) Failed to connect to localhost port 8443: Connection refused

Here is the build and run setup.

$ cd zotonic
$ gmake

$ bin/zotonic debug

$ bin/zotonic debug
Erlang/OTP 21 [erts-10.3.5.5] [source] [64-bit] [smp:4:4] [ds:4:4:10] 
[async-threads:1] [hipe] [dtrace]

Eshell V10.3.5.5  (abort with ^G)
(zotonic001@jail-erlang)1> ** 
/usr/home/nikolas/Downloads/zotonic-0.52.0/deps/qdate_localtime/ebin/ibuild.beam
 hides 
/usr/home/nikolas/Downloads/zotonic-0.52.0/deps/erlang_localtime/ebin/ibuild.beam
** 
/usr/home/nikolas/Downloads/zotonic-0.52.0/deps/qdate_localtime/ebin/localtime_dst.beam
 hides 
/usr/home/nikolas/Downloads/zotonic-0.52.0/deps/erlang_localtime/ebin/localtime_dst.beam
** 
/usr/home/nikolas/Downloads/zotonic-0.52.0/deps/qdate_localtime/ebin/localtime.beam
 hides 
/usr/home/nikolas/Downloads/zotonic-0.52.0/deps/erlang_localtime/ebin/localtime.beam
** Found 3 name clashes in code paths 
=CRASH REPORT==== 24-Nov-2019::18:36:41.307341 ===
  crasher:
    initial call: lager_handler_watcher:init/1
    pid: <0.169.0>
    registered_name: []
    exception exit: noproc
      in function  gen:do_for_proc/2 (gen.erl, line 228)
      in call from gen_event:rpc/2 (gen_event.erl, line 239)
      in call from lager_handler_watcher:install_handler2/3 
(src/lager_handler_watcher.erl, line 117)
      in call from lager_handler_watcher:init/1 (src/lager_handler_watcher.erl, 
line 51)
      in call from gen_server:init_it/2 (gen_server.erl, line 374)
      in call from gen_server:init_it/6 (gen_server.erl, line 342)
    ancestors: [lager_handler_watcher_sup,lager_sup,<0.154.0>]
    message_queue_len: 0
    messages: []
    links: [<0.157.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 610
    stack_size: 27
    reductions: 226
  neighbours:

=INFO REPORT==== 24-Nov-2019::18:36:41.452012 ===
Setup running ...

=INFO REPORT==== 24-Nov-2019::18:36:41.453207 ===
Directories verified. Res = ok

=INFO REPORT==== 24-Nov-2019::18:36:41.453371 ===
Setup finished processing hooks (Mode=normal)...

=INFO REPORT==== 24-Nov-2019::18:36:41.478962 ===
    msg: Starting reporters with []

    options: []
** 
/usr/home/nikolas/Downloads/zotonic-0.52.0/deps/qdate_localtime/ebin/ibuild.beam
 hides 
/usr/home/nikolas/Downloads/zotonic-0.52.0/deps/erlang_localtime/ebin/ibuild.beam
** 
/usr/home/nikolas/Downloads/zotonic-0.52.0/deps/qdate_localtime/ebin/localtime_dst.beam
 hides 
/usr/home/nikolas/Downloads/zotonic-0.52.0/deps/erlang_localtime/ebin/localtime_dst.beam
** 
/usr/home/nikolas/Downloads/zotonic-0.52.0/deps/qdate_localtime/ebin/localtime.beam
 hides 
/usr/home/nikolas/Downloads/zotonic-0.52.0/deps/erlang_localtime/ebin/localtime.beam
** Found 3 name clashes in code paths 
=INFO REPORT==== 24-Nov-2019::18:36:41.680407 ===
filezcache: repopulating cache with 0 keys
=INFO REPORT==== 24-Nov-2019::18:36:41.680495 ===
filezcache: scanning cache directory for unknown files.
** 
/usr/home/nikolas/Downloads/zotonic-0.52.0/deps/qdate_localtime/ebin/ibuild.beam
 hides 
/usr/home/nikolas/Downloads/zotonic-0.52.0/deps/erlang_localtime/ebin/ibuild.beam
** 
/usr/home/nikolas/Downloads/zotonic-0.52.0/deps/qdate_localtime/ebin/localtime_dst.beam
 hides 
/usr/home/nikolas/Downloads/zotonic-0.52.0/deps/erlang_localtime/ebin/localtime_dst.beam
** 
/usr/home/nikolas/Downloads/zotonic-0.52.0/deps/qdate_localtime/ebin/localtime.beam
 hides 
/usr/home/nikolas/Downloads/zotonic-0.52.0/deps/erlang_localtime/ebin/localtime.beam
** Found 3 name clashes in code paths 
18:36:41.803 [info] emqtt_app:35 starting emqtt on node 'zotonic001@jail-erlang'
18:36:41.818 [info] emqtt_auth:55 emqtt_auth is started
18:36:41.820 [info] emqtt_retained:89 emqtt_retained is started.
18:36:41.821 [info] emqtt_router:121 emqtt_router is started.
18:36:41.824 [info] emqtt_registry:56 emqtt_registry is started.
18:36:41.826 [info] emqtt_client_monitor:46 emqtt_client_monitor is started.
18:36:41.835 [info] emqtt_app:38 emqtt broker is running now.
=INFO REPORT==== 24-Nov-2019::18:36:41.888410 ===
gen_smtp_server starting at 'zotonic001@jail-erlang'

=INFO REPORT==== 24-Nov-2019::18:36:41.890088 ===
gen_smtp_server listening on {127,0,0,1}:2525 via tcp

18:36:41.932 [info] z_sites_manager:276 Site started: zotonic_status (<0.325.0>)
18:36:41.951 [error] z_filewatcher_sup:58 FILEWATCHER: please install fswatch 
or inotify-tools to automatically load changed files
=SUPERVISOR REPORT==== 24-Nov-2019::18:36:42.045104 ===
    supervisor: {local,zotonic_sup}
    errorContext: start_error
    reason: eprotonosupport
    offender: [{pid,undefined},
               {id,webmachine_mochiweb_v6},
               {mfargs,
                   {webmachine_mochiweb,start,
                       [webmachine_mochiweb_v6,
                        [{port,8000},
                         {ip,any6},
                         {dispatcher,z_sites_dispatcher},
                         {dispatch_list,[]},
                         {backlog,500},
                         {acceptor_pool_size,75}]]}},
               {restart_type,permanent},
               {shutdown,5000},
               {child_type,worker}]
=CRASH REPORT==== 24-Nov-2019::18:36:42.045270 ===
  crasher:
    initial call: mochiweb_socket_server:init/1
    pid: <0.508.0>
    registered_name: []
    exception exit: eprotonosupport
      in function  gen_server:init_it/6 (gen_server.erl, line 358)
    ancestors: [zotonic_sup,<0.292.0>]
    message_queue_len: 0
    messages: []
    links: [<0.305.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 376
    stack_size: 27
    reductions: 842
  neighbours:

Terminating due to shutdown
=CRASH REPORT==== 24-Nov-2019::18:36:42.046068 ===
  crasher:
    initial call: application_master:init/4
    pid: <0.291.0>
    registered_name: []
    exception exit: {{shutdown,
                         {failed_to_start_child,webmachine_mochiweb_v6,
                             eprotonosupport}},
                     {zotonic_app,start,[normal,[]]}}
      in function  application_master:init/4 (application_master.erl, line 138)
    ancestors: [<0.290.0>]
    message_queue_len: 1
    messages: [{'EXIT',<0.292.0>,normal}]
    links: [<0.290.0>,<0.43.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 1598
    stack_size: 27
    reductions: 358
  neighbours:

=INFO REPORT==== 24-Nov-2019::18:36:42.046417 ===
    application: zotonic
    exited: {{shutdown,
                 {failed_to_start_child,webmachine_mochiweb_v6,
                     eprotonosupport}},
             {zotonic_app,start,[normal,[]]}}
    type: temporary
18:36:42.046 [error] zotonic:66 Zotonic start error: 
{{shutdown,{failed_to_start_child,webmachine_mochiweb_v6,eprotonosupport}},
 {zotonic_app,start,[normal,[]]}}
=SUPERVISOR REPORT==== 24-Nov-2019::18:36:42.331520 ===
    supervisor: {local,gr_counter_sup}
    errorContext: child_terminated
    reason: killed
    offender: [{pid,<0.171.0>},
               {id,gr_lager_default_tracer_counters},
               {mfargs,{gr_counter,start_link,
                                   [gr_lager_default_tracer_counters]}},
               {restart_type,transient},
               {shutdown,brutal_kill},
               {child_type,worker}]
=SUPERVISOR REPORT==== 24-Nov-2019::18:36:42.331558 ===
    supervisor: {local,gr_param_sup}
    errorContext: child_terminated
    reason: killed
    offender: [{pid,<0.170.0>},
               {id,gr_lager_default_tracer_params},
               {mfargs,{gr_param,start_link,[gr_lager_default_tracer_params]}},
               {restart_type,transient},
               {shutdown,brutal_kill},
               {child_type,worker}]


Kind Regards

Nikolas

-- 

--- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/zotonic-developers/03354cd1-7a3d-40a1-89b9-42da789407bd%40googlegroups.com.

Reply via email to