Re: [Zotonic-Dev] eqc in zotonic ?

2018-08-21 Thread 'Marc Worrell' via Zotonic developers
In the 0.x you can add extra dependencies by adding a ‘deps’ key to your zotonic config file. http://docs.zotonic.com/en/0.x/ref/configuration/zotonic-configuration.html?highlight=deps#deps

Re: [Zotonic-Dev] eqc in zotonic ?

2018-08-21 Thread 'Marc Worrell' via Zotonic developers
Ah, in that way. I believe QuickCheck is a commercial product. But there is a “mini” version that you can download from Quviq http://www.quviq.com/downloads/ - Marc > On 21 Aug 2018, at 12:46, heiheshang wrote: > > https://github.com/Quviq/webdrv

Re: [Zotonic-Dev] How to correctly set the cookie when the ztonic starts?

2018-08-22 Thread 'Marc Worrell' via Zotonic developers
The session cookie? There is a config for that. You can change the name by adding a configuration “site.session_cookie_name”. It defaults to “z_sid”. - Marc > On 22 Aug 2018, at 04:26, heiheshang wrote: > > in which file to register the name of the cookie? > > -- > > --- > You received

Re: [Zotonic-Dev] How to correctly set the cookie when the ztonic starts?

2018-08-22 Thread 'Marc Worrell' via Zotonic developers
In your home directory: ~/.erlang.cookie - Marc > On 22 Aug 2018, at 11:22, heiheshang wrote: > > no, cookie an erlang node > I want to start the debugger > > среда, 22 августа 2018 г., 17:41:03 UTC+9 пользователь Marc Worrell написал: > The session cookie? > > There is a config

Re: [Zotonic-Dev] zotonic CI deployment best practice for 2019

2019-01-14 Thread 'Marc Worrell' via Zotonic developers
Hi Eddie and Lloyd, “It depends” is indeed the correct answer... Most Zotonic installations fall in two categories: 1. Deployment via a Docker container, which is updated before deployment 2. Deployment via git (manual or automatic) Some follow (1), I follow (2). Nice thing of (2) is that it

Re: [Zotonic-Dev] zotonic CI deployment best practice for 2019

2019-01-15 Thread 'Marc Worrell' via Zotonic developers
; overwhelmed with confusing and oft contradictory info. > > I'd love to create a living-document tutorial and checklist for, at least, > the simplest deployments, but wouldn't know where to start. > > Thanks again, > > Lloyd > > > > -Original Messag

Re: [Zotonic-Dev] Zotonic fails to startup after make and bin/zotonic debug

2019-02-21 Thread 'Marc Worrell' via Zotonic developers
Hi Eddie, This error about the ‘port program’ is caused by running then beam.smp (erlang) as root user. There is an explanation here: https://github.com/aeternity/aeternity/wiki/Troubleshooting#node-wont-start-with-privileged-user

Re: [Zotonic-Dev] Make fails after installing zotonic on ubuntu 16.04.5

2019-03-06 Thread 'Marc Worrell' via Zotonic developers
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, layed...@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

Re: [Zotonic-Dev] Make fails after installing zotonic on ubuntu 16.04.5

2019-03-08 Thread 'Marc Worrell' via Zotonic developers
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, layed...@gmail.com 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

Re: [Zotonic-Dev] Make fails after installing zotonic on ubuntu 16.04.5

2019-03-21 Thread 'Marc Worrell' via Zotonic developers
Hei Ed, That is great news, good to hear that you got everything up and running! Cheers, Marc Sent from my iPhone > On 19 Mar 2019, at 17:19, layed...@gmail.com wrote: > > Hello Marc, > > Got it Working - at last. > > I had already installed erlang. > > I forgot to run > sudo apt-get

Re: [Zotonic-Dev] erl_child_setup closed

2019-02-12 Thread 'Marc Worrell' via Zotonic developers
Hi, I see "smp:1:1” in the system version. It might help to use more threads. For example, the dev env I am right now working in says: Erlang/OTP 19 [erts-8.3] [source] [64-bit] [smp:12:12] [async-threads:10] [hipe] [kernel-poll:false] Cheers, Marc > On 12 Feb 2019, at 13:38, heiheshang

Re: [Zotonic-Dev] erl_child_setup closed

2019-02-13 Thread 'Marc Worrell' via Zotonic developers
Hi, Can you try to start Erlang with the option: +S 4:4 This gives you 4 schedulers. See if that works. - M > On 13 Feb 2019, at 02:52, heiheshang wrote: > > I use a virtual machine, I have only one processor > > среда, 13 февраля 2019 г., 0:08:48 UTC+9 пользователь Marc Worrell написал: >

Re: [Zotonic-Dev] erl_child_setup closed

2019-02-13 Thread 'Marc Worrell' via Zotonic developers
Hi, Could it be that you are running out of memory? Seems that a Linux OOM could give such startup errors. http://erlang.2086793.n4.nabble.com/Causes-of-Slogan-erl-child-setup-closed-td4719785.html - Marc > On 13 Feb 2019, at 14:40, heiheshang wrote: > > =erl_crash_dump:0.5 > Wed Feb 13

Re: [Zotonic-Dev] Re: What kind of mistake I do not understand?

2019-02-06 Thread 'Marc Worrell' via Zotonic developers
OTP-20 should be ok. As this is master, could you try: rm -rf _build rm ./rebar3 make This forces a complete rebuild and a fresh install or rebar3. I once had a problem with a version of rebar3, that was resolved by removing it. The Makefile will fetch the newest

Re: [Zotonic-Dev] Re: What kind of mistake I do not understand?

2019-02-01 Thread 'Marc Worrell' via Zotonic developers
In which file was it? Then I can check the master. Still strange that it does compile on Travis-CI. Which Erlang version are you using? - Marc > On 1 Feb 2019, at 02:14, heiheshang wrote: > > if replace it > -include_lib("../zotonic_fileindexer/include/zotonic_fileindexer.hrl"). > > works

Re: [Zotonic-Dev] Re: What kind of mistake I do not understand?

2019-01-31 Thread 'Marc Worrell' via Zotonic developers
Seems like something is going wrong with Hex and fetching bcrypt. What you could try is to delete the ‘./rebar3’ application and let the Makefile fetch a new version. - Marc > On 31 Jan 2019, at 03:41, heiheshang wrote: > > /opt/zotonic $ make > ./rebar3 compile > Zotonic Config: > -

Re: [Zotonic-Dev] Re: What kind of mistake I do not understand?

2019-01-31 Thread 'Marc Worrell' via Zotonic developers
This is the tip of the master? I just tried a clean build on my machine (macOS 10.13, Erlang OTP-19 via kerl) and everything compiled. Also the Travis-CI builds work. So I am wondering what the difference could be with your setup. You are also in the “zotonic” directory when running ‘make’? -

Re: [Zotonic-Dev] Get SSL Lets encrypt working on Zotonic

2019-04-11 Thread 'Marc Worrell' via Zotonic developers
Hi Eddie, This is the Zotonic master LetsEncrypt module? If so, then I will need to check it, as I didn’t use it for a while. (We are working on the last bits of the MQTT/Cotonic integration) - Marc > On 11 Apr 2019, at 17:27, layed...@gmail.com wrote: > > Hi Marc, > > I am trying to get a

Re: [Zotonic-Dev] Get SSL Lets encrypt working on Zotonic

2019-04-12 Thread 'Marc Worrell' via Zotonic developers
update that change without doing a full > re-install. > > I installed using git clone https://github.com/zotonic/zotonic.git > <https://github.com/zotonic/zotonic.git> > I could do a fresh install on another machine maybe. > > Eddie > > > > On 11

Re: [Zotonic-Dev] Get SSL Lets encrypt working on Zotonic

2019-04-11 Thread 'Marc Worrell' via Zotonic developers
; > Yes its on the Zotonic / System / modules page. > > thanks > Eddie > > On Thu, 11 Apr 2019 at 16:36, 'Marc Worrell' via Zotonic developers > <mailto:zotonic-developers@googlegroups.com>> wrote: > Hi Eddie, > > This is the Zotonic master LetsEncrypt module? >

Re: [Zotonic-Dev] Get SSL Lets encrypt working on Zotonic

2019-04-11 Thread 'Marc Worrell' via Zotonic developers
e didn’t start > > > >> On 11 Apr 2019, at 17:42, el > <mailto:layed...@gmail.com>> wrote: >> >> Hi Marc, >> >> Yes its on the Zotonic / System / modules page. >> >> thanks >> Eddie >> >> On Thu, 11 Apr 2019 a

Re: [Zotonic-Dev] Any sample example for REST API example

2019-09-09 Thread 'Marc Worrell' via Zotonic developers
Hi Kulveer, The master (1.0-dev) has a new implementation for the API methods. Previously you would make a service module. This has been replaced with direct access to the models. The API calls get mapped on m_get. m_post, and m_delete. The url for a model is:

Re: [Zotonic-Dev] installing zotonic on Freebsd jail

2019-11-25 Thread 'Marc Worrell' via Zotonic developers
Hi, Looks like the ipv6 listener can’t start. > =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}, >

Re: [Zotonic-Dev] installing zotonic on Freebsd jail

2019-11-27 Thread 'Marc Worrell' via Zotonic developers
Hi, Do you also see some messages on the Erlang command line? Did you try to connect with http to :8000 and see if there is a redirect to https :8443? If so then Zotonic is listening and responding. If there are errors on the erlang command line and you are on OTP21, then you might need to

Re: [Zotonic-Dev] installing zotonic on Freebsd jail

2019-11-25 Thread 'Marc Worrell' via Zotonic developers
Hi Nikolas, Try: ~/.zotonic/0/zotonic.config It should have been installed there by the bin/zotonic script. Cheers, Marc > On 25 Nov 2019, at 20:03, Java House wrote: > > Hi Marc > > where do I find the zotonic.config file? > I searched and there is nowhere bellow the zotonic

Re: [Zotonic-Dev] Zotonic 0.57.0 - ssl Inssuficient Security - no_suitable_cipher error

2020-05-15 Thread 'Marc Worrell' via Zotonic developers
gt; -- > Álvaro Gianni Pagliari > alvaropag [at] gmail [dot] com > > > Em ter., 12 de mai. de 2020 às 15:13, 'Marc Worrell' via Zotonic developers > <mailto:zotonic-developers@googlegroups.com>> escreveu: > A quick search gave me this: > > https://bugs.erl

Re: [Zotonic-Dev] Zotonic 0.57.0 - ssl Inssuficient Security - no_suitable_cipher error

2020-05-18 Thread 'Marc Worrell' via Zotonic developers
kerl. > > Cheers, > > -- > Álvaro Gianni Pagliari > alvaropag [at] gmail [dot] com > > > Em sex., 15 de mai. de 2020 às 12:39, 'Marc Worrell' via Zotonic developers > <mailto:zotonic-developers@googlegroups.com>> escreveu: > Hi Alvaro, > > Cou

Re: [Zotonic-Dev] Zotonic 0.57.0 - ssl Inssuficient Security - no_suitable_cipher error

2020-05-19 Thread 'Marc Worrell' via Zotonic developers
> My rebar version is the same as yours. > > There are some compilation warnings, how is the policy for erlang version x > zotonic version? > > Cheers, > > -- > Álvaro Gianni Pagliari > alvaropag [at] gmail [dot] com > > > Em seg., 18 de mai. de 2020

Re: [Zotonic-Dev] Zotonic 0.57.0 - ssl Inssuficient Security - no_suitable_cipher error

2020-05-12 Thread 'Marc Worrell' via Zotonic developers
A quick search gave me this: https://bugs.erlang.org/plugins/servlet/mobile#issue/ERL-826 Is your server up to date with the ciphers? Tomorrow I can check my local install against OTP-22. Cheers, Marc Sent from my iPhone > On 12 May 2020, at 19:35, Alvaro Pagliari wrote: > >  > Hello, >

Re: [Zotonic-Dev] stdint.h not found on first compile under FreeBSD

2020-03-19 Thread 'Marc Worrell' via Zotonic developers
Hi Nikolas, > On 19 Mar 2020, at 12:29, Nikolas Nikou wrote: > > in zotonic you must use IPv4 and need to set the ip in the configuration > otherwise zotonic crashes. Interesting, how & where do we crash on IPv6 addresses? Maybe there is a difference between Linux and BSD here. - Marc --

Re: [Zotonic-Dev] Lost access to website admin panel

2020-08-31 Thread 'Marc Worrell' via Zotonic developers
Hi Rishit, Sorry for that email - something went wrong there. You can find the passwords for the admin users in two different files. Is it a 0.x version? For now I assume it is. The admin password for the zotonic status site can be found in: ~/.zotonic/0/zotonic.config The admin

Re: [Zotonic-Dev] Just some information for a novice

2023-03-21 Thread 'Marc Worrell' via Zotonic developers
Hi Carlo, Welcome! > On 21 Mar 2023, at 06:55, Carlo Ascani wrote: > > Greetings, > > I would like to explore alternative to Elixir/Phoenix and Python/Django to > develop CRUD admin interfaces. > > My goal is to: > - Render a data table which displays all the records of a specific Resource

Re: [Zotonic-Dev] Content Blocks

2024-01-14 Thread 'Marc Worrell' via Zotonic developers
You can use:id.blocks.name.titleWhere “title” is a property of the block. And name is the name of your block.If your name includes spaces:id.blocks[“name of block”].titleCheers, MarcSent from my iPhoneOn 14 Jan 2024, at 09:32, 'Seann Aswell' via Zotonic developers wrote:Very interesting...So, if

Re: [Zotonic-Dev] Content Blocks

2024-01-15 Thread 'Marc Worrell' via Zotonic developers
Hi Seann, I would expect it to be: > {% for blk in id.blocks %} > {% include "blocks/_block_view_text.tpl" %} > {% endfor %} But that renders only blocks of the type ’text’. The suffix _text is the type of the block, we added different templates for the different types. You can see

Re: [Zotonic-Dev] Dmain Name Change

2024-01-09 Thread 'Marc Worrell' via Zotonic developers
Hi, You can just change the hostname in your config. We mostly add the old hostnames to the hostalias, so that previous domain names still redirect to the new one. No need to change databases. Don’t forget to request a new SSL certificate. Cheers, Marc > On 9 Jan 2024, at 05:11, 'Seann

Re: [Zotonic-Dev] How to start a new Zotonic based project?

2024-01-04 Thread 'Marc Worrell' via Zotonic developers
Hi, We have a init file that can be used for Hetzner instances. https://github.com/zotonic/zotonic/blob/master/cloud-init/zotonic-cloudinit.yml We have still to update it for Ubuntu 22 - currently you can do an upgrade after installation. What we often do is: - The above script - Checkout

Re: [Zotonic-Dev] Sending emails

2023-12-05 Thread 'Marc Worrell' via Zotonic developers
Hi, In the zotonic.config there are these settings: %%% SMTP outbound relay configuration. %%% Zotonic will send email itself, enable a relay if outgoing port 25 traffic is blocked. %% {smtp_relay, false}, %% {smtp_host, "localhost"}, %% {smtp_port, 25}, %% {smtp_ssl, false}, %%

Re: [Zotonic-Dev] bin/zotonic config | grep password

2023-12-03 Thread 'Marc Worrell' via Zotonic developers
Did you use the username wwwadmin?For sites it is admin, for the Zotonic status site it is wwwadmin.Cheers, MarcSent from my iPhoneOn 3 Dec 2023, at 13:42, carnel yve wrote:I have just installed zotonic and wanted to take it for a ride. I can't seem to get past the first screen, because the

Re: [Zotonic-Dev] Testing mod_signup

2023-12-04 Thread 'Marc Worrell' via Zotonic developers
Hi, Any example templates we provide are very simple, so they don’t provide signup links etc. Having said that, the signup module should add a link in the login screen to signup. Cheers, Marc > On 4 Dec 2023, at 00:16, carnel yve wrote: > > I am trying the user registration module. I

Re: [Zotonic-Dev] bin/zotonic config | grep password

2023-12-04 Thread 'Marc Worrell' via Zotonic developers
Maybe we should just remove (or discourage to use) those docker images - we don’t use them ourselves as running native is much faster and easier for development. Cheers, Marc > On 3 Dec 2023, at 23:31, carnel yve wrote: > > I ended up compiling the project myself and not using docker. I am

Re: [Zotonic-Dev] To Proxy or not to Proxy...

2024-03-26 Thread 'Marc Worrell' via Zotonic developers
Hi Seann, We are generally running Zotonic directly on port 80/443 or just with firewall redirect rules. In our cloud-init file we are now using the direct approach, as Maas-Maarten found that there is a problem with the firewall-redirecting taking up too many resources and not being able to

Re: [Zotonic-Dev] mod_payment(_stripe)

2024-04-19 Thread 'Marc Worrell' via Zotonic developers
Hi! Indeed paysub is in active development at the moment. And it is geared for paid subscriptions. The mod_payment (and friends) is more for one-off payments and simple recurring payments. I think Driebit is using it - at least the 0.x version of the module(s). As they are moving sites over to

Re: [Zotonic-Dev] SSL

2024-04-23 Thread 'Marc Worrell' via Zotonic developers
We are using the library: https://github.com/zotonic/zotonic_ssl For the SSL certificate inspection. Could you file an issue there? If you want to use Let’s Encrypt with Zotonic 1.x (master), then you can also just enable mod_ssl_letsencrypt. It will handle requesting certificates and also

Re: [Zotonic-Dev] mod_payment(_stripe)

2024-04-23 Thread 'Marc Worrell' via Zotonic developers
Hi, Actually, that sounds like a kind of “eternal” membership :-) Maybe Stripe has a type of one-time-payment subscriptions? The paysub module can dynamically assign a user group depending on the subscriptions. The user group could then allow access to the content groups of your paid content.