• 11 Posts
  • 28 Comments
Joined 5 years ago
cake
Cake day: August 18th, 2020

help-circle


  • Ok perfect, now everything is clear to me then :)

    What you did is the actual federation of the site, so every time you create a post you don’t mention a community where it should appear, but it gets federated automatically and displayed within dbzer0 not as a real community but must necessarily be searched for.

    What I’m trying to do is slightly different.

    Currently, I have the first setting active, that is, only federated authors. An author when posting content can mention a community, in this case @lealternative@feddit.it, and the post will automatically be posted in that community (which is a real community of feddit.it, in the sense that it is actually present in the list of communities and anyone can write there).

    For this reason, the bug “persists,” meaning that only the first responses are displayed on the site while the responses to the responses are not.

    If instead I change the type of federation and use yours, I can also see the responses.


  • Thank you very much, this is very interesting. Being both the admin of the WordPress blog and the Lemmy instance, I now need to understand which of the two is having issues.

    The ActivityPub plugin seems to work well; I also recently resolved some problems that were solely due to a third-party caching plugin.

    I read your article; is it possible to know, if publicly discussable, what changes were made to the plugin that allowed you to resolve the issues? This way, I can compare them with mine and understand what the problem might be.

    Thanks!










  • skariko@lemmy.mlOPtoLemmy Support@lemmy.mlError when upgrade to 0.18
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    2 years ago

    I actually only used Ansible for the first installation, all subsequent ones I manually updated only the docker file and following the various instructions that were given only in this update it didn’t work.

    If it helps I can post my current configuration file docker-compose.yml

    edit:

    maybe I need to try again to do an update through Ansible now?

    Since it had always worked to update the docker-compose.yml file it seemed easier and more functional to do it this way but I don’t want to think that maybe the installation is now “tied” to Ansible.







  • Found out just now what the problem was.

    I am writing this to help others: the federation was active in that instance but it was also marked as a private instance. This gave no problems in using it until the update (probably because it is restarted and re-run Docker).

    I removed the federation from the config file leaving only the private instance and it restarted immediately.







  • It is the same thing that I thought. Unfortunately, if I try to manually force the port by writing smtps.aruba.it:465 as I said the server freezes for several minutes, goes to 504 and does not send any email.

    So I can not understand if the port must be entered in another way (?) or if I have to install something on the server first to be able to send an email through an external SMTP as in this case?



  • I was able to get it started/running with this command: ansible-playbook -vvv -u USER -k -K -i inventory/hosts lemmy.yml

    Anyway now it ends with an error (it’s Debian 11):

    if \“driver failed programming external connectivity\” in ex.explanation:\n", “invocation”: {“module_args”: {“project_src”: “/srv/lemmy/social.lealternative.net”, “state”: “present”, “pull”: true, “remove_orphans”: true, “docker_host”: “unix://var/run/docker.sock”, “tls_hostname”: “localhost”, “api_version”: “auto”, “timeout”: 10, “tls”: false, “validate_certs”: false, “debug”: false, “hostname_check”: false, “recreate”: “smart”, “build”: false, “remove_volumes”: false, “stopped”: false, “restarted”: false, “dependencies”: true, “nocache”: false, “ca_cert”: null, “client_cert”: null, “client_key”: null, “ssl_version”: null, “project_name”: null, “files”: null, “definition”: null, “remove_images”: null, “scale”: null, “services”: null}}}\n’, b"<stdin>:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module’s documentation for alternative uses\n") myuser@myip Failed to connect to the host via ssh: <stdin>:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module’s documentation for alternative uses The full traceback is: File “/tmp/ansible_docker_compose_payload_mgoivh5q/main.py”, line 777, in cmd_up self.project.up( File “/usr/lib/python3/dist-packages/compose/project.py”, line 565, in up results, errors = parallel.parallel_execute( File “/usr/lib/python3/dist-packages/compose/parallel.py”, line 112, in parallel_execute raise error_to_reraise File “/usr/lib/python3/dist-packages/compose/parallel.py”, line 210, in producer result = func(obj) File “/usr/lib/python3/dist-packages/compose/project.py”, line 548, in do return service.execute_convergence_plan( File “/usr/lib/python3/dist-packages/compose/service.py”, line 545, in execute_convergence_plan return self._execute_convergence_create( File “/usr/lib/python3/dist-packages/compose/service.py”, line 460, in _execute_convergence_create containers, errors = parallel_execute( File “/usr/lib/python3/dist-packages/compose/parallel.py”, line 112, in parallel_execute raise error_to_reraise File “/usr/lib/python3/dist-packages/compose/parallel.py”, line 210, in producer result = func(obj) File “/usr/lib/python3/dist-packages/compose/service.py”, line 465, in <lambda> lambda service_name: create_and_start(self, service_name.number), File “/usr/lib/python3/dist-packages/compose/service.py”, line 457, in create_and_start self.start_container(container) File “/usr/lib/python3/dist-packages/compose/service.py”, line 627, in start_container if “driver failed programming external connectivity” in ex.explanation:

    fatal: [myuser@myip]: FAILED! => { “changed”: false, “errors”: [], “invocation”: { “module_args”: { “api_version”: “auto”, “build”: false, “ca_cert”: null, “client_cert”: null, “client_key”: null, “debug”: false, “definition”: null, “dependencies”: true, “docker_host”: “unix://var/run/docker.sock”, “files”: null, “hostname_check”: false, “nocache”: false, “project_name”: null, “project_src”: “/srv/lemmy/social.lealternative.net”, “pull”: true, “recreate”: “smart”, “remove_images”: null, “remove_orphans”: true, “remove_volumes”: false, “restarted”: false, “scale”: null, “services”: null, “ssl_version”: null, “state”: “present”, “stopped”: false, “timeout”: 10, “tls”: false, “tls_hostname”: “localhost”, “validate_certs”: false } }, “module_stderr”: “Creating sociallealternativenet_postgres_1 … \nCreating sociallealternativenet_postfix_1 … \nCreating sociallealternativenet_pictrs_1 … \n\u001b[3A\u001b[2K\nCreating sociallealternativenet_postgres_1 … \n\u001b[3B\u001b[1A\u001b[2K\nCreating sociallealternativenet_pictrs_1 … \ny_1 … \n\u001b[3A\u001b[2K\nCreating sociallealternativenet_postfix_1 … \n\u001b[3B”, “module_stdout”: “”, “msg”: “Error starting project a bytes-like object is required, not ‘str’” }