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

help-circle







  • skariko@lemmy.mlOPtoLemmy Support@lemmy.mlError when upgrade to 0.18
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year 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’” }






  • I understand doubts, especially if there is a lot of work to do I think it is right to ask as many questions as possible.

    Personally I think of at least two other reasons for changing the instance:

    the first is a possible problem with the moderators / admin. For example in case they did questionable operations.

    The second concerns me more personally: I opened a community here because there are no Italian instances. It took me a few months to convince people to sign up here, it would be ironic to tell them “no, now re-sign up somewhere else”.

    Since in this thread we talked about how to invite people to subscribe and / or how to create more instances for me this is one of the reasons that pushes me not to try.

    In the meantime, thanks for the discussion and listening


  • People are often lazy, especially if I convinced them to join the “xxx instead of reddit” site to follow me. It would definitely be counterproductive to tell them again “ah no now you have to follow me on yyy, not xxx anymore”.

    Obviously it is right to consider the work to be done and the right priorities. Personally I love Lemmy, I would be a little sorry to be somehow linked to this instance “forever”, I think the idea of ​​decentralization and faithful universe is a little less.

    just my thoughts :)