YunoHost-Apps / snweb_ynh

Standard Notes Web App
https://standardnotes.org/
GNU Affero General Public License v3.0
5 stars 4 forks source link

SNWeb Keeps Failing due to Puma #2

Closed brimwats1 closed 3 years ago

brimwats1 commented 3 years ago

Logs https://paste.yunohost.org/fuqebikaca

FabianWilkens commented 3 years ago

Hi @brimwats,

did you just installed snweb or was it working before and the failure is new? Did you installed or removed any yunohost apps after installing snweb?

brimwats1 commented 3 years ago

I have never managed to get it to work, it always failed. I just recently discovered the logs. should i try deleteing and reinstalling?

FabianWilkens commented 3 years ago

I installed a new app instance on my server without a problem. And also the CI finds no problems.

So I am curious where the problem is.

On which system is Yunohost installed?

brimwats1 commented 3 years ago

I have it on a Dell PowerEdge R710 with 64gb of ram and Xeon 5650. I'll try deleting and reinstalling!

FabianWilkens commented 3 years ago

Any luck with the new installation. Or do you have still the same problem?

brimwats1 commented 3 years ago

Okay my understanding is that if I have a SN notes server i should use it

So i set up SN on notes.domain.tld and SN server on notessync.util.tld. The latter tells me {"message":"Hi! You're not supposed to be here."} if I visit it.

In setup I use

Standard Notes notes.domain.tld check yes to public notessync.domain.tld

should i instead be using the default SN sync server?

brimwats1 commented 3 years ago

using the above I get a 502 error

vReloading nginx web server...
Configuring SSOwat...
Starting a systemd service...
Integrating service in YunoHost...
Configuring log rotation...
Securing files and directories...
Storing the config file checksum...
Configuring a systemd service...
I, [2021-03-09T16:35:40.796516 #17919] INFO -- : Writing /opt/yunohost/snweb/live/public/assets/javascripts/app-e64ef43666dafd9c6a4c8163661d0ad2b7fbf51d237caf94a231f7122cdba771.js.gz

I, [2021-03-09T16:35:40.796293 #17919] INFO -- : Writing /opt/yunohost/snweb/live/public/assets/javascripts/app-e64ef43666dafd9c6a4c8163661d0ad2b7fbf51d237caf94a231f7122cdba771.js

I, [2021-03-09T16:35:40.796084 #17919] INFO -- : Writing /opt/yunohost/snweb/live/public/assets/zip/deflate-648bf305dc4632843bd02954a394f1e18ea66773c18207f8838edfa0198c537e.js.gz

I, [2021-03-09T16:35:40.795875 #17919] INFO -- : Writing /opt/yunohost/snweb/live/public/assets/zip/deflate-648bf305dc4632843bd02954a394f1e18ea66773c18207f8838edfa0198c537e.js

I, [2021-03-09T16:35:40.795659 #17919] INFO -- : Writing /opt/yunohost/snweb/live/public/assets/zip/inflate-42eb3feb92478673bf1a10b333883ca2a23b95a6658d78711e7e25128e55d2c0.js.gz

I, [2021-03-09T16:35:40.795449 #17919] INFO -- : Writing /opt/yunohost/snweb/live/public/assets/zip/inflate-42eb3feb92478673bf1a10b333883ca2a23b95a6658d78711e7e25128e55d2c0.js

I, [2021-03-09T16:35:40.795255 #17919] INFO -- : Writing /opt/yunohost/snweb/live/public/assets/zip/z-worker-940d4f3448a279d1be60738b39c32fc59fc41824c94ca56a91f95d63c38e8661.js.gz

I, [2021-03-09T16:35:40.795029 #17919] INFO -- : Writing /opt/yunohost/snweb/live/public/assets/zip/z-worker-940d4f3448a279d1be60738b39c32fc59fc41824c94ca56a91f95d63c38e8661.js

I, [2021-03-09T16:35:40.794791 #17919] INFO -- : Writing /opt/yunohost/snweb/live/public/assets/stylesheets/app-a3bb4f2b199792e0d62fe9f15c1078b3e563d821b750574a2040e7b8e51a5220.css.gz

I, [2021-03-09T16:35:40.794566 #17919] INFO -- : Writing /opt/yunohost/snweb/live/public/assets/stylesheets/app-a3bb4f2b199792e0d62fe9f15c1078b3e563d821b750574a2040e7b8e51a5220.css

I, [2021-03-09T16:35:40.794345 #17919] INFO -- : Writing /opt/yunohost/snweb/live/public/assets/zip/zip-854b55c6b9b0231b8719a99fb99a1abb526d56075da0d1b9ba4a764f7e16e3d0.js.gz

I, [2021-03-09T16:35:40.794103 #17919] INFO -- : Writing /opt/yunohost/snweb/live/public/assets/zip/zip-854b55c6b9b0231b8719a99fb99a1abb526d56075da0d1b9ba4a764f7e16e3d0.js

I, [2021-03-09T16:35:40.793851 #17919] INFO -- : Writing /opt/yunohost/snweb/live/public/assets/fonts/ionicons-30fb55bed4c43847209b7aa771be7aeb0648e9705e54ef9ff987c9d13d3ff76e.eot.gz

I, [2021-03-09T16:35:40.792687 #17919] INFO -- : Writing /opt/yunohost/snweb/live/public/assets/fonts/ionicons-30fb55bed4c43847209b7aa771be7aeb0648e9705e54ef9ff987c9d13d3ff76e.eot

I, [2021-03-09T16:35:40.792465 #17919] INFO -- : Writing /opt/yunohost/snweb/live/public/assets/manifest-d0ff5974b6aa52cf562bea5921840c032a860a91a3512f7fe8f768f6bbe005f6.js.gz

I, [2021-03-09T16:35:40.792237 #17919] INFO -- : Writing /opt/yunohost/snweb/live/public/assets/manifest-d0ff5974b6aa52cf562bea5921840c032a860a91a3512f7fe8f768f6bbe005f6.js

I, [2021-03-09T16:35:40.791844 #17919] INFO -- : Writing /opt/yunohost/snweb/live/public/assets/fonts/ionicons-a71c4f6be2c473b7af8899a36cc7f035d37c5eceaceeeff1323032ff4c788057.woff

I, [2021-03-09T16:35:40.791415 #17919] INFO -- : Writing /opt/yunohost/snweb/live/public/assets/fonts/ionicons-07761c84dba4f9b0161f8a27b9ebb2ab65282103d56d46e8e001e63de4976cce.ttf.gz

I, [2021-03-09T16:35:40.790860 #17919] INFO -- : Writing /opt/yunohost/snweb/live/public/assets/fonts/ionicons-07761c84dba4f9b0161f8a27b9ebb2ab65282103d56d46e8e001e63de4976cce.ttf

I, [2021-03-09T16:35:40.790359 #17919] INFO -- : Writing /opt/yunohost/snweb/live/public/assets/fonts/ionicons-7acb7f66035763f484ce73430e515760f7b1f76861623a7852c2ccea93aca37f.svg.gz

I, [2021-03-09T16:35:40.789940 #17919] INFO -- : Writing /opt/yunohost/snweb/live/public/assets/fonts/ionicons-7acb7f66035763f484ce73430e515760f7b1f76861623a7852c2ccea93aca37f.svg

npx browserslist@latest --update-db

Browserslist: caniuse-lite is outdated. Please run:

Building... ( This may take a while... )
Modifying a config file...
Installing Ruby... ( This may take a while... )
Configuring system user...
Configuring nginx web server...
Setting up source files...
'/etc/apt/trusted.gpg.d/snweb.asc' wasn't deleted because it doesn't exist.

Installing dependencies...
Configuring firewall...
Storing installation settings...
Validating installation parameters...
Installing snweb...
FabianWilkens commented 3 years ago

Okay my understanding is that if I have a SN notes server i should use it

So i set up SN on notes.domain.tld and SN server on notessync.util.tld. The latter tells me {"message":"Hi! You're not supposed to be here."} if I visit it.

In setup I use

Standard Notes notes.domain.tld check yes to public notessync.domain.tld

should i instead be using the default SN sync server?

Yes that is right. If you visit the url of the server you get this message, because you are not supposed to visit this site. Only the StandardNotes clients should connect to this url.

It is okay to use only the server and then use the desktop or mobile app or the offical standardnortes web app. But you can install the standardnotes web app on your server as well.

So the server should be ok. And the install log from the web app looks also good.

Can you install the web app completly?

brimwats1 commented 3 years ago

If you visit the url of the server you get this message, because you are not supposed to visit this site.

Right good, so we both agree that's good.

But you can install the standardnotes web app on your server as well.

This is the part that fails due to nginix.

And the install log from the web app looks also good.

And still I am getting a 502 error. I'm not sure. I'll try again

FabianWilkens commented 3 years ago

As I understand it is possible to install the snweb app. But you are not able to open snweb in you browser and you get a 502 error.

I am not sure why this is happening. All test until now were ok.

In your first message you had the problem that rake could not be found. Is it still the same? And do you have rake in this directory /opt/rbenv/versions/2.7.2/bin/

I think in the following logs and config files we will find the problem. Maybe a false domain, or port in the config files.

Can you give me the logs, if you want. Install log: sudo yunohost log list sudo yunohost log display LOG_NAME --share

SNWeb log: cat /var/log/snweb/snweb.log sudo systemctl status snweb.service

Config Data sudo cat /etc/nginx/conf.d/notes.domain.tld.d/snweb.conf sudo cat /etc/yunohost/apps/snweb/settings.yml sudo cat /opt/yunohost/snweb/live/.env sudo cat /etc/systemd/system/snweb.service

curl -L notes.domain.tld

brimwats1 commented 3 years ago

sudo yunohost log display LOG_NAME --share

https://paste.yunohost.org/raw/kopozaxogi

cat /var/log/snweb/snweb.log

cat /var/log/snweb/snweb.log cat: /var/log/snweb/snweb.log: No such file or directory

I deleted it following, so perhaps that is why. I am reinstalling it and will re-run but if you see any time conflicts that is why.

cat /var/log/snweb/snweb.log

 cat /var/log/snweb/snweb.log
/opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:89:in `block in materialize': Could not find rake-13.0.1 in any of the sources (Bundler::GemNotFound)
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:82:in `map!'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:82:in `materialize'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:185:in `specs'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:255:in `specs_for'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:237:in `requested_specs'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/runtime.rb:91:in `block in definition_method'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/runtime.rb:20:in `setup'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler.rb:148:in `setup'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/setup.rb:20:in `block in <top (required)>'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/ui/shell.rb:136:in `with_level'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/ui/shell.rb:88:in `silence'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/setup.rb:20:in `<top (required)>'
        from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
        from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:89:in `block in materialize': Could not find rake-13.0.1 in any of the sources (Bundler::GemNotFound)
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:82:in `map!'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:82:in `materialize'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:185:in `specs'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:255:in `specs_for'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:237:in `requested_specs'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/runtime.rb:91:in `block in definition_method'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/runtime.rb:20:in `setup'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler.rb:148:in `setup'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/setup.rb:20:in `block in <top (required)>'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/ui/shell.rb:136:in `with_level'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/ui/shell.rb:88:in `silence'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/setup.rb:20:in `<top (required)>'
        from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
        from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:89:in `block in materialize': Could not find rake-13.0.1 in any of the sources (Bundler::GemNotFound)
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:82:in `map!'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:82:in `materialize'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:185:in `specs'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:255:in `specs_for'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:237:in `requested_specs'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/runtime.rb:91:in `block in definition_method'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/runtime.rb:20:in `setup'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler.rb:148:in `setup'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/setup.rb:20:in `block in <top (required)>'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/ui/shell.rb:136:in `with_level'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/ui/shell.rb:88:in `silence'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/setup.rb:20:in `<top (required)>'
        from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
        from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:89:in `block in materialize': Could not find rake-13.0.1 in any of the sources (Bundler::GemNotFound)
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:82:in `map!'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:82:in `materialize'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:185:in `specs'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:255:in `specs_for'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:237:in `requested_specs'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/runtime.rb:91:in `block in definition_method'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/runtime.rb:20:in `setup'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler.rb:148:in `setup'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/setup.rb:20:in `block in <top (required)>'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/ui/shell.rb:136:in `with_level'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/ui/shell.rb:88:in `silence'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/setup.rb:20:in `<top (required)>'
        from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
        from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:89:in `block in materialize': Could not find rake-13.0.1 in any of the sources (Bundler::GemNotFound)
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:82:in `map!'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:82:in `materialize'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:185:in `specs'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:255:in `specs_for'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:237:in `requested_specs'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/runtime.rb:91:in `block in definition_method'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/runtime.rb:20:in `setup'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler.rb:148:in `setup'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/setup.rb:20:in `block in <top (required)>'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/ui/shell.rb:136:in `with_level'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/ui/shell.rb:88:in `silence'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/setup.rb:20:in `<top (required)>'
        from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
        from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'

sudo systemctl status snweb.service


● snweb.service - snweb
Loaded: loaded (/etc/systemd/system/snweb.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2021-03-10 13:51:59 EST; 38s ago
Process: 21782 ExecStart=/opt/rbenv/versions/2.7.2/bin/bundle exec puma -C config/puma.rb -p 3002 -e production (code=
Main PID: 21782 (code=exited, status=1/FAILURE)

Mar 10 13:51:59 DOMAIN.TLD systemd[1]: snweb.service: Service RestartSec=100ms expired, scheduling restart. Mar 10 13:51:59 DOMAIN.TLD systemd[1]: snweb.service: Scheduled restart job, restart counter is at 5. Mar 10 13:51:59 DOMAIN.TLDsystemd[1]: Stopped snweb. Mar 10 13:51:59 DOMAIN.TLD systemd[1]: snweb.service: Start request repeated too quickly. Mar 10 13:51:59DOMAIN.TLDsystemd[1]: snweb.service: Failed with result 'exit-code'. Mar 10 13:51:59 DOMAIN.TLDsystemd[1]: Failed to start snweb. lines 1-12/12 (END)


> sudo systemctl status snweb.service

location / { alias /opt/yunohost/snweb/live/public ;

if ($scheme = http) {
    rewrite ^ https://$server_name$request_uri? permanent;
}

proxy_pass http://127.0.0.1:3002/;
proxy_http_version 1.1;
proxy_set_header Host $http_host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_buffering off;

# upload max size
client_max_body_size 25M;

# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
more_clear_input_headers 'Accept-Encoding';

}


> sudo cat /etc/yunohost/apps/snweb/settings.yml

sudo cat /etc/yunohost/apps/snweb/settings.yml apt_dependencies: zlib1g-dev,, libssl-dev,, libjemalloc-dev,, git, yarn checksumetc_nginx_conf.d_notes.domain.tld.d_snweb.conf: 17c7011286fc3f288f482cfbf3344206 checksumetc_systemd_system_snweb.service: 13e7eebfb2465439ca262f9b01dd5ab1 checksum__opt_yunohost_snweblive.env: 4409a09f80a7e60e20de4d9178b195d5 current_revision: 2c82b25537bc09b99c1daeced8ca38fe9b1bae8b domain: notes.domain.tld final_path: /opt/yunohost/snweb id: snweb install_time: 1615402096 is_public: '1' nodejs_version: '10' path: / port: '3002' ruby_version: 2.7.2 snserver_domain: notes.domain.tld


> sudo cat /opt/yunohost/snweb/live/.env

sudo cat /opt/yunohost/snweb/live/.env RAILS_ENV=production PORT=3002 WEB_CONCURRENCY=0 RAILS_LOG_TO_STDOUT=true RAILS_SERVE_STATIC_FILES=true SECRET_KEY_BASE=######################## APP_HOST=https://notes.domain.tld

EXTENSIONS_MANAGER_LOCATION=extensions/extensions-manager/dist/index.html BATCH_MANAGER_LOCATION=extensions/batch-manager/dist/index.min.html SF_DEFAULT_SERVER=https://notessync.domail.tld

Datadog

DATADOG_ENABLED=false

Development options

DEV_DEFAULT_SYNC_SERVER=https://sync.standardnotes.org DEV_EXTENSIONS_MANAGER_LOCATION=public/extensions/extensions-manager/dist/index.html DEV_BATCH_MANAGER_LOCATION=public/extensions/batch-manager/dist/index.min.html

> sudo cat /etc/systemd/system/snweb.service

sudo cat /etc/systemd/system/snweb.service [Unit] Description=snweb After=network.target

[Service] Type=simple User=snweb Group=snweb EnvironmentFile=/opt/yunohost/snweb/live/.env Environment=PATH=/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/rbenv/versions/2.7.2/bin WorkingDirectory=/opt/yunohost/snweb/live/ ExecStart=/opt/rbenv/versions/2.7.2/bin/bundle exec puma -C config/puma.rb -p 3002 -e production StandardOutput=append:/var/log/snweb/snweb.log StandardError=append:/var/log/snweb/snweb.log SyslogIdentifier=snweb Restart=always

[Install] WantedBy=multi-user.target

>curl -L notes.domain.tld
502 Bad Gateway

502 Bad Gateway


nginx
brimwats1 commented 3 years ago

Ignore any typos with domail.tld I may have done above

FabianWilkens commented 3 years ago

Ok the config files look good.

You will get the 502 error because the service is not running. In sudo systemctl status snweb.service the service is failing to start. In cat /var/log/snweb/snweb.log rake could not be found.

You reinstalled it right. Is there cat /var/log/snweb/snweb.log still the same fault? I tried to reproduct this fault without lock.

brimwats1 commented 3 years ago

You reinstalled it right.

yes

Same log

:~$ cat /var/log/snweb/snweb.log
/opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:89:in `block in materialize': Could not find rake-13.0.1 in any of the sources (Bundler::GemNotFound)
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:82:in `map!'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:82:in `materialize'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:185:in `specs'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:255:in `specs_for'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:237:in `requested_specs'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/runtime.rb:91:in `block in definition_method'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/runtime.rb:20:in `setup'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler.rb:148:in `setup'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/setup.rb:20:in `block in <top (required)>'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/ui/shell.rb:136:in `with_level'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/ui/shell.rb:88:in `silence'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/setup.rb:20:in `<top (required)>'
        from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
        from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:89:in `block in materialize': Could not find rake-13.0.1 in any of the sources (Bundler::GemNotFound)
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:82:in `map!'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:82:in `materialize'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:185:in `specs'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:255:in `specs_for'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:237:in `requested_specs'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/runtime.rb:91:in `block in definition_method'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/runtime.rb:20:in `setup'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler.rb:148:in `setup'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/setup.rb:20:in `block in <top (required)>'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/ui/shell.rb:136:in `with_level'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/ui/shell.rb:88:in `silence'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/setup.rb:20:in `<top (required)>'
        from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
        from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:89:in `block in materialize': Could not find rake-13.0.1 in any of the sources (Bundler::GemNotFound)
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:82:in `map!'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:82:in `materialize'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:185:in `specs'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:255:in `specs_for'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:237:in `requested_specs'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/runtime.rb:91:in `block in definition_method'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/runtime.rb:20:in `setup'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler.rb:148:in `setup'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/setup.rb:20:in `block in <top (required)>'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/ui/shell.rb:136:in `with_level'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/ui/shell.rb:88:in `silence'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/setup.rb:20:in `<top (required)>'
        from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
        from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:89:in `block in materialize': Could not find rake-13.0.1 in any of the sources (Bundler::GemNotFound)
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:82:in `map!'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:82:in `materialize'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:185:in `specs'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:255:in `specs_for'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:237:in `requested_specs'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/runtime.rb:91:in `block in definition_method'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/runtime.rb:20:in `setup'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler.rb:148:in `setup'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/setup.rb:20:in `block in <top (required)>'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/ui/shell.rb:136:in `with_level'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/ui/shell.rb:88:in `silence'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/setup.rb:20:in `<top (required)>'
        from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
        from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:89:in `block in materialize': Could not find rake-13.0.1 in any of the sources (Bundler::GemNotFound)
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:82:in `map!'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/spec_set.rb:82:in `materialize'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:185:in `specs'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:255:in `specs_for'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/definition.rb:237:in `requested_specs'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/runtime.rb:91:in `block in definition_method'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/runtime.rb:20:in `setup'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler.rb:148:in `setup'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/setup.rb:20:in `block in <top (required)>'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/ui/shell.rb:136:in `with_level'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/ui/shell.rb:88:in `silence'
        from /opt/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.14/lib/bundler/setup.rb:20:in `<top (required)>'
        from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
        from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
FabianWilkens commented 3 years ago

Its wierd that nobody else reported problems.

I will update the package to a newer version. Maybe this will fix it.

I think I can do this at the weekend.

FabianWilkens commented 3 years ago

I did an upgrade of the app to a newer version.

You can install it with this command. sudo yunohost app install https://github.com/YunoHost-Apps/snweb_ynh/tree/testing

I still can't explain where the fault is coming from. Today I got the idea that the error might appear in connection with another app. If the error persists, could you give me a list of the other installed apps? Then I can see if they have anything in common.

brimwats1 commented 3 years ago

It works!

There were some errors reported in the install. Here you go:

sudo yunohost app install https://github.com/FabianWilkens/snweb_ynh/tree/testing
DANGER! This app is not part of Yunohost's app catalog. Installing third-party apps may compromise the integrity and security of your system. You should probably NOT install it unless you know what you are doing. NO SUPPORT will be provided if this app doesn't work or breaks your system… If you are willing to take that risk anyway, type 'Yes, I understand': Yes, I understand
Choose the domain where this app should be installed[.........................] notes.domain.tld
Should this app be exposed to anonymous visitors? [yes | no] (default: no):
Choose the default Standard Notes Syncing Server (default: sync.standardnotes.org): notessync.domain.tld
Info: Installing snweb...
Info: [....................] > Validating installation parameters...
Info: [....................] > Storing installation settings...
Info: [....................] > Finding an available port...
Info: [++..................] > Installing dependencies...
Info: '/etc/apt/trusted.gpg.d/snweb.asc' wasn't deleted because it doesn't exist.
Info: [##+.................] > Setting up source files...
Info: [###+................] > Configuring nginx web server...
Info: [####................] > Configuring system user...
Info: [####+++++++.........] > Installing Ruby... ( This may take a while... )
Info: [###########.........] > Modifying a config file...
Info: [###########+++++++..] > Building... ( This may take a while... )
Warning: warning " > @reach/alert@0.13.0" has unmet peer dependency "react@^16.8.0 || 17.x".
Warning: warning " > @reach/alert@0.13.0" has unmet peer dependency "react-dom@^16.8.0 || 17.x".
Warning: warning "@reach/alert > @reach/utils@0.13.0" has unmet peer dependency "react@^16.8.0 || 17.x".
Warning: warning "@reach/alert > @reach/utils@0.13.0" has unmet peer dependency "react-dom@^16.8.0 || 17.x".
Warning: warning "@reach/alert > @reach/visually-hidden@0.13.0" has unmet peer dependency "react@^16.8.0 || 17.x".
Warning: warning "@reach/alert > @reach/visually-hidden@0.13.0" has unmet peer dependency "react-dom@^16.8.0 || 17.x".
Warning: warning " > @reach/alert-dialog@0.13.0" has unmet peer dependency "react@^16.8.0 || 17.x".
Warning: warning " > @reach/alert-dialog@0.13.0" has unmet peer dependency "react-dom@^16.8.0 || 17.x".
Warning: warning "@reach/alert-dialog > @reach/auto-id@0.13.0" has unmet peer dependency "react@^16.8.0 || 17.x".
Warning: warning "@reach/alert-dialog > @reach/auto-id@0.13.0" has unmet peer dependency "react-dom@^16.8.0 || 17.x".
Warning: warning " > @reach/dialog@0.13.0" has unmet peer dependency "react@^16.8.0 || 17.x".
Warning: warning " > @reach/dialog@0.13.0" has unmet peer dependency "react-dom@^16.8.0 || 17.x".
Warning: warning "@reach/alert-dialog > @reach/dialog > @reach/portal@0.13.0" has unmet peer dependency "react@^16.8.0 || 17.x".
Warning: warning "@reach/alert-dialog > @reach/dialog > @reach/portal@0.13.0" has unmet peer dependency "react-dom@^16.8.0 || 17.x".
Warning: warning "@reach/alert-dialog > @reach/dialog > react-focus-lock@2.5.0" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
Warning: warning "@reach/alert-dialog > @reach/dialog > react-remove-scroll@2.4.1" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
Warning: warning "@reach/alert-dialog > @reach/dialog > react-focus-lock > react-clientside-effect@1.2.2" has unmet peer dependency "react@^15.3.0 || ^16.0.0".
Warning: warning "@reach/alert-dialog > @reach/dialog > react-focus-lock > use-callback-ref@1.2.4" has unmet peer dependency "react@^16.8.0".
Warning: warning "@reach/alert-dialog > @reach/dialog > react-focus-lock > use-sidecar@1.0.3" has unmet peer dependency "react@^16.8.0".
Warning: warning "@reach/alert-dialog > @reach/dialog > react-remove-scroll > react-remove-scroll-bar@2.1.1" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
Warning: warning "@reach/alert-dialog > @reach/dialog > react-remove-scroll > react-style-singleton@2.1.1" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
Warning: I, [2021-03-14T21:33:36.985810 #20903]  INFO -- : Writing /opt/yunohost/snweb/live/public/assets/fonts/ionicons-a71c4f6be2c473b7af8899a36cc7f035d37c5eceaceeeff1323032ff4c788057.woff
Warning: I, [2021-03-14T21:33:36.986535 #20903]  INFO -- : Writing /opt/yunohost/snweb/live/public/assets/fonts/ionicons-07761c84dba4f9b0161f8a27b9ebb2ab65282103d56d46e8e001e63de4976cce.ttf
Warning: I, [2021-03-14T21:33:36.987039 #20903]  INFO -- : Writing /opt/yunohost/snweb/live/public/assets/fonts/ionicons-07761c84dba4f9b0161f8a27b9ebb2ab65282103d56d46e8e001e63de4976cce.ttf.gz
Warning: I, [2021-03-14T21:33:36.987578 #20903]  INFO -- : Writing /opt/yunohost/snweb/live/public/assets/fonts/ionicons-30fb55bed4c43847209b7aa771be7aeb0648e9705e54ef9ff987c9d13d3ff76e.eot
Warning: I, [2021-03-14T21:33:36.988141 #20903]  INFO -- : Writing /opt/yunohost/snweb/live/public/assets/fonts/ionicons-30fb55bed4c43847209b7aa771be7aeb0648e9705e54ef9ff987c9d13d3ff76e.eot.gz
Warning: I, [2021-03-14T21:33:36.988884 #20903]  INFO -- : Writing /opt/yunohost/snweb/live/public/assets/manifest-d0ff5974b6aa52cf562bea5921840c032a860a91a3512f7fe8f768f6bbe005f6.js
Warning: I, [2021-03-14T21:33:36.989925 #20903]  INFO -- : Writing /opt/yunohost/snweb/live/public/assets/manifest-d0ff5974b6aa52cf562bea5921840c032a860a91a3512f7fe8f768f6bbe005f6.js.gz
Warning: I, [2021-03-14T21:33:36.990296 #20903]  INFO -- : Writing /opt/yunohost/snweb/live/public/assets/zip/inflate-42eb3feb92478673bf1a10b333883ca2a23b95a6658d78711e7e25128e55d2c0.js
Warning: I, [2021-03-14T21:33:36.991184 #20903]  INFO -- : Writing /opt/yunohost/snweb/live/public/assets/zip/inflate-42eb3feb92478673bf1a10b333883ca2a23b95a6658d78711e7e25128e55d2c0.js.gz
Warning: I, [2021-03-14T21:33:36.991480 #20903]  INFO -- : Writing /opt/yunohost/snweb/live/public/assets/zip/z-worker-940d4f3448a279d1be60738b39c32fc59fc41824c94ca56a91f95d63c38e8661.js
Warning: I, [2021-03-14T21:33:36.992714 #20903]  INFO -- : Writing /opt/yunohost/snweb/live/public/assets/zip/z-worker-940d4f3448a279d1be60738b39c32fc59fc41824c94ca56a91f95d63c38e8661.js.gz
Warning: I, [2021-03-14T21:33:36.994565 #20903]  INFO -- : Writing /opt/yunohost/snweb/live/public/assets/stylesheets/app-3fd9509d77cbb271700b9b3c6b084f0a35b5e3e49538415385c430d8ca2442aa.css
Warning: I, [2021-03-14T21:33:36.994851 #20903]  INFO -- : Writing /opt/yunohost/snweb/live/public/assets/stylesheets/app-3fd9509d77cbb271700b9b3c6b084f0a35b5e3e49538415385c430d8ca2442aa.css.gz
Warning: I, [2021-03-14T21:33:36.995227 #20903]  INFO -- : Writing /opt/yunohost/snweb/live/public/assets/zip/zip-854b55c6b9b0231b8719a99fb99a1abb526d56075da0d1b9ba4a764f7e16e3d0.js
Warning: I, [2021-03-14T21:33:36.995513 #20903]  INFO -- : Writing /opt/yunohost/snweb/live/public/assets/zip/zip-854b55c6b9b0231b8719a99fb99a1abb526d56075da0d1b9ba4a764f7e16e3d0.js.gz
Warning: I, [2021-03-14T21:33:36.997250 #20903]  INFO -- : Writing /opt/yunohost/snweb/live/public/assets/zip/deflate-648bf305dc4632843bd02954a394f1e18ea66773c18207f8838edfa0198c537e.js
Warning: I, [2021-03-14T21:33:36.997479 #20903]  INFO -- : Writing /opt/yunohost/snweb/live/public/assets/zip/deflate-648bf305dc4632843bd02954a394f1e18ea66773c18207f8838edfa0198c537e.js.gz
Warning: I, [2021-03-14T21:33:36.997734 #20903]  INFO -- : Writing /opt/yunohost/snweb/live/public/assets/javascripts/app-343e8f8859a534c51812291dba3bfdf8a9c5b74d3ac37ea58364a3e822094417.js
Warning: I, [2021-03-14T21:33:36.997945 #20903]  INFO -- : Writing /opt/yunohost/snweb/live/public/assets/javascripts/app-343e8f8859a534c51812291dba3bfdf8a9c5b74d3ac37ea58364a3e822094417.js.gz
Info: [##################+.] > Configuring a systemd service...
Info: [###################.] > Storing the config file checksum...
Info: [###################.] > Securing files and directories...
Info: [###################.] > Configuring log rotation...
Info: [###################.] > Integrating service in YunoHost...
Info: [###################.] > Starting a systemd service...
Info: [###################.] > Configuring SSOwat...
Info: [###################.] > Reloading nginx web server...
Success! Installation completed

Here are all the apps I have:

AllTube AllTube
Web interface for Youtube-dl

Archivist Archivist
Automatic backups.

beehive beehive
A flexible event/agent & automation system

BookStack BookStack
Platform to create documentation/wiki content

Couchdb Couchdb
An open-source document-oriented NoSQL database.

Dato Dato
Store all kinds of data with an extremely customizable interface.

Diagrams.net Diagrams.net
Online diagram software for making flowcharts, process diagrams, org charts, UML, ER and network diagrams.

Dokuwiki Dokuwiki
A lightweight, simple to use and highly versatile wiki

Dolibarr Dolibarr
Manage the various aspects of your business or association (contacts, invoices, orders, stocks, agenda, etc...).

Domoticz Domoticz
Very light weight open sources home automation system that lets you monitor and configure miscellaneous devices

Drupal Drupal
A content management framework written in PHP

Etherpad Mypads Etherpad Mypads
Online editor providing collaborative editing in real-time.

Flarum Flarum
Next-generation forum made simple.

Ghost Ghost
Just a blogging platform

Gitea Gitea
Lightweight Git forge

Grav Grav
A modern open source flat-file CMS

HedgeDoc HedgeDoc
Collaborative editor to work on notes written in Markdown

Home Assistant Home Assistant
Home automation platform

Jellyfin Jellyfin
Media System that manage and stream your media.

Kanboard Kanboard
Kanban project management software

Leed Leed
Minimalistic RSS feed aggregator which allows quick and non-intrusive reading of feeds.

Lufi Lufi
Self hosting files and sharing anonymous application

Mattermost Mattermost
Open source collaboration platform built for developers

Monica Monica
Personal Relationship Manager - a new kind of CRM to organize interactions with your friends and family.

Nextcloud Nextcloud
Online storage, file sharing platform and various other applications

Node-RED Node-RED
Flow-based programming for the Internet of Things

osada osada
Osada is a decentralized publication platform and social network.

phpMyAdmin phpMyAdmin
Manage MySQL databases over the web

PhpSysInfo PhpSysInfo
A customizable PHP script that displays information about your system nicely.

Piwigo Piwigo
Open source photo gallery for the web

Portainer Portainer
A web interface for the Docker engine management

RSS-Bridge RSS-Bridge
RSS and Atom feed generator for websites that don't have one.

Shell In A Box Shell In A Box
Web based AJAX terminal emulator

Standard Notes Server Standard Notes Server
The Standard Notes syncing server. An end-to-end encrypted note-taking app.

Syncthing Syncthing
Continuous file synchronization program.

Tiny Tiny RSS Tiny Tiny RSS
News feed (RSS/Atom) reader and aggregator.

VPN Client VPN Client
Tunnel the internet traffic through a VPN

Wallabag Wallabag
A self hostable read-it-later app

Wiki.js Wiki.js
An open source, modern and powerful wiki app built on Node.js, Git and Markdown.
brimwats1 commented 3 years ago

A few small questions:

  1. How do I add myself as a user? Is that here? The config-file is stored under "/opt/yunohost/$app/live/.env"

When I go to the registration place and put my server email and password in I get

image

My server does not have email (port 25) capability by the way.

  1. How do I switch to the main branch from the testing when that is updated?
FabianWilkens commented 3 years ago

It works!

Great

  1. How do I add myself as a user? Is that here? The config-file is stored under "/opt/yunohost/$app/live/.env"

What you did was the right way. Via the snweb, desktop or mobile app. The error window with "Unkown error" is normally when you have no connection to the server. In the most other cases you will get an error message with the description. Somethink like "Email already used" or "Password incorrect." When you click on "Advanced Options" under the password fields, is there the right server url?

I just tested it. The new version of snweb is compatible with the old version of snserver. You can also run the healthcheck. notes.domain.tld/healthcheck notessync.domain.tld/healthcheck If you see OK, the internal check of the app was successful.

My server does not have email (port 25) capability by the way.

As long as the your registration email is on the same server, it shouldn't be a problem.

  1. How do I switch to the main branch from the testing when that is updated?

As soon as the app version is higher as the version of the testing branch. (In this case 3.6.2~ynh1) you can update from master. Or i belive even if it is a newer commit.

brimwats1 commented 3 years ago

When you click on "Advanced Options" under the password fields, is there the right server url?

yes image

I have the same problem with the mobile app

notes/sync.domain.tld/healthcheck

Both just say "OK"

FabianWilkens commented 3 years ago

Can you see errors in the log files when you try to register a new account. /var/log/snserver/snserver.log /var/log/snweb/snweb.log

notessync.domain.tld/ and notessync.domain.tld/healthcheck are both returning that was i was expecting. From there it looks good.

Is the server still public reachable or did you chaged the permission?

brimwats1 commented 3 years ago

The SN Server is reporting issues due to Puma now

journalctl

-- Logs begin at Tue 2021-03-16 05:09:37 EDT, end at Tue 2021-03-16 20:09:40 EDT. --
Mar 16 20:07:24 systemd[1]: snserver.service: Main process exited, code=exited, status=1/FAILURE
Mar 16 20:07:24 systemd[1]: snserver.service: Failed with result 'exit-code'.
Mar 16 20:07:39 systemd[1]: snserver.service: Service RestartSec=15s expired, scheduling restart.
Mar 16 20:07:39 systemd[1]: snserver.service: Scheduled restart job, restart counter is at 3163.
Mar 16 20:07:39 systemd[1]: Stopped snserver service.
Mar 16 20:07:39 systemd[1]: Started snserver service.
Mar 16 20:07:41 systemd[1]: snserver.service: Main process exited, code=exited, status=1/FAILURE
Mar 16 20:07:41 systemd[1]: snserver.service: Failed with result 'exit-code'.
Mar 16 20:07:56 systemd[1]: snserver.service: Service RestartSec=15s expired, scheduling restart.
Mar 16 20:07:56 systemd[1]: snserver.service: Scheduled restart job, restart counter is at 3164.
Mar 16 20:07:56 systemd[1]: Stopped snserver service.
Mar 16 20:07:56 systemd[1]: Started snserver service.
Mar 16 20:07:58 systemd[1]: snserver.service: Main process exited, code=exited, status=1/FAILURE
Mar 16 20:07:58 systemd[1]: snserver.service: Failed with result 'exit-code'.
Mar 16 20:08:13 systemd[1]: snserver.service: Service RestartSec=15s expired, scheduling restart.
Mar 16 20:08:13 systemd[1]: snserver.service: Scheduled restart job, restart counter is at 3165.
Mar 16 20:08:13 systemd[1]: Stopped snserver service.
Mar 16 20:08:13 systemd[1]: Started snserver service.
Mar 16 20:08:15 systemd[1]: snserver.service: Main process exited, code=exited, status=1/FAILURE
Mar 16 20:08:15 systemd[1]: snserver.service: Failed with result 'exit-code'.
Mar 16 20:08:30 systemd[1]: snserver.service: Service RestartSec=15s expired, scheduling restart.
Mar 16 20:08:30 systemd[1]: snserver.service: Scheduled restart job, restart counter is at 3166.
Mar 16 20:08:30 systemd[1]: Stopped snserver service.
Mar 16 20:08:30 systemd[1]: Started snserver service.
Mar 16 20:08:32 systemd[1]: snserver.service: Main process exited, code=exited, status=1/FAILURE
Mar 16 20:08:32 systemd[1]: snserver.service: Failed with result 'exit-code'.
Mar 16 20:08:47 systemd[1]: snserver.service: Service RestartSec=15s expired, scheduling restart.
Mar 16 20:08:47 systemd[1]: snserver.service: Scheduled restart job, restart counter is at 3167.
Mar 16 20:08:47 systemd[1]: Stopped snserver service.
Mar 16 20:08:47 systemd[1]: Started snserver service.
Mar 16 20:08:49 systemd[1]: snserver.service: Main process exited, code=exited, status=1/FAILURE
Mar 16 20:08:49 systemd[1]: snserver.service: Failed with result 'exit-code'.
Mar 16 20:09:04 systemd[1]: snserver.service: Service RestartSec=15s expired, scheduling restart.
Mar 16 20:09:04 systemd[1]: snserver.service: Scheduled restart job, restart counter is at 3168.
Mar 16 20:09:04 systemd[1]: Stopped snserver service.
Mar 16 20:09:04 systemd[1]: Started snserver service.
Mar 16 20:09:06 systemd[1]: snserver.service: Main process exited, code=exited, status=1/FAILURE
Mar 16 20:09:06 systemd[1]: snserver.service: Failed with result 'exit-code'.
Mar 16 20:09:21 systemd[1]: snserver.service: Service RestartSec=15s expired, scheduling restart.
Mar 16 20:09:21 systemd[1]: snserver.service: Scheduled restart job, restart counter is at 3169.
Mar 16 20:09:21 systemd[1]: Stopped snserver service.
Mar 16 20:09:21 systemd[1]: Started snserver service.
Mar 16 20:09:23 systemd[1]: snserver.service: Main process exited, code=exited, status=1/FAILURE
Mar 16 20:09:23 systemd[1]: snserver.service: Failed with result 'exit-code'.
Mar 16 20:09:38 systemd[1]: snserver.service: Service RestartSec=15s expired, scheduling restart.
Mar 16 20:09:38 systemd[1]: snserver.service: Scheduled restart job, restart counter is at 3170.
Mar 16 20:09:38 systemd[1]: Stopped snserver service.
Mar 16 20:09:38 systemd[1]: Started snserver service.
Mar 16 20:09:40 systemd[1]: snserver.service: Main process exited, code=exited, status=1/FAILURE
Mar 16 20:09:40 systemd[1]: snserver.service: Failed with result 'exit-code'.

/var/log/snserver/snserver.log

rver/live/vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:291:in `block in require'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:257:in `load_dependency'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:291:in `require'
    from bin/rails:4:in `<main>'
=> Booting Puma
=> Rails 5.2.4.4 application starting in production 
=> Run `rails server -h` for more startup options
Puma starting in single mode...
* Version 5.0.2 (ruby 2.7.2-p137), codename: Spoony Bard
* Min threads: 5, max threads: 5
* Environment: production
Exiting
/opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/puma/binder.rb:243:in `initialize': Address already in use - bind(2) for "0.0.0.0" port 3001 (Errno::EADDRINUSE)
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/puma/binder.rb:243:in `new'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/puma/binder.rb:243:in `add_tcp_listener'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/puma/binder.rb:123:in `block in parse'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/puma/binder.rb:107:in `each'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/puma/binder.rb:107:in `parse'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/puma/runner.rb:137:in `load_and_bind'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/puma/single.rb:44:in `run'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/puma/launcher.rb:171:in `run'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/rack/handler/puma.rb:71:in `run'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/server.rb:327:in `start'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/railties-5.2.4.4/lib/rails/commands/server/server_command.rb:53:in `start'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/railties-5.2.4.4/lib/rails/commands/server/server_command.rb:147:in `block in perform'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/railties-5.2.4.4/lib/rails/commands/server/server_command.rb:142:in `tap'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/railties-5.2.4.4/lib/rails/commands/server/server_command.rb:142:in `perform'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/command.rb:27:in `run'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/railties-5.2.4.4/lib/rails/command/base.rb:69:in `perform'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/railties-5.2.4.4/lib/rails/command.rb:46:in `invoke'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/railties-5.2.4.4/lib/rails/commands.rb:18:in `<main>'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:291:in `block in require'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:257:in `load_dependency'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:291:in `require'
    from bin/rails:4:in `<main>'
=> Booting Puma
=> Rails 5.2.4.4 application starting in production 
=> Run `rails server -h` for more startup options
Puma starting in single mode...
* Version 5.0.2 (ruby 2.7.2-p137), codename: Spoony Bard
* Min threads: 5, max threads: 5
* Environment: production
Exiting
brimwats1 commented 3 years ago

the SN Web logs seem to report just that Sync is down:

Puma starting in single mode...
* Version 4.3.5 (ruby 2.7.2-p137), codename: Mysterious Traveller
* Min threads: 5, max threads: 5
* Environment: production
/opt/yunohost/snweb/live/vendor/bundle/ruby/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
* Listening on tcp://0.0.0.0:3001
Use Ctrl-C to stop
{"level":"INFO","time":"2021-03-14T21:34:51.478-04:00","message":"{\"method\":\"GET\",\"path\":\"/\",\"format\":\"html\",\"controller\":\"ApplicationController\",\"action\":\"app\",\"status\":200,\"duration\":11.54,\"view\":3.9,\"dd\":{\"trace_id\":\"0\",\"span_id\":\"0\",\"env\":\"\",\"service\":\"\",\"version\":\"\"},\"ddsource\":[\"ruby\"],\"time\":\"2021-03-14 21:34:51 -0400\",\"params\":{\"controller\":\"application\",\"action\":\"app\"},\"level\":\"INFO\"}","ddsource":["ruby"]}
{"level":"INFO","time":"2021-03-14T21:36:05.905-04:00","message":"{\"method\":\"GET\",\"path\":\"/auth/params\",\"format\":\"*/*\",\"controller\":\"ApplicationController\",\"action\":\"route_not_found\",\"status\":404,\"duration\":0.74,\"view\":0.32,\"dd\":{\"trace_id\":\"0\",\"span_id\":\"0\",\"env\":\"\",\"service\":\"\",\"version\":\"\"},\"ddsource\":[\"ruby\"],\"time\":\"2021-03-14 21:36:05 -0400\",\"params\":{\"email\":\"briwats@domain.tld\",\"api\":\"20200115\",\"controller\":\"application\",\"action\":\"route_not_found\",\"unmatched_route\":\"auth/params\",\"application\":{}},\"level\":\"WARN\"}","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-14T21:38:09.617-04:00","message":"  ","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-14T21:38:09.617-04:00","message":"ActionController::RoutingError (No route matches [POST] \"/auth\"):","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-14T21:38:09.617-04:00","message":"  ","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-14T21:38:09.618-04:00","message":"vendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'\nvendor/bundle/ruby/2.7.0/gems/lograge-0.11.2/lib/lograge/rails_ext/rack/logger.rb:15:in `call_app'\nvendor/bundle/ruby/2.7.0/gems/railties-5.1.7/lib/rails/rack/logger.rb:26:in `call'\nvendor/bundle/ruby/2.7.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/quiet_assets.rb:13:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/remote_ip.rb:79:in `call'\nvendor/bundle/ruby/2.7.0/gems/request_store-1.5.0/lib/request_store/middleware.rb:19:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/request_id.rb:25:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/method_override.rb:24:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/runtime.rb:22:in `call'\nvendor/bundle/ruby/2.7.0/gems/activesupport-5.1.7/lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/executor.rb:12:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/static.rb:125:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/deflater.rb:44:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-cors-1.1.1/lib/rack/cors.rb:100:in `call'\nvendor/bundle/ruby/2.7.0/gems/secure_headers-6.3.0/lib/secure_headers/middleware.rb:11:in `call'\nvendor/bundle/ruby/2.7.0/gems/railties-5.1.7/lib/rails/engine.rb:522:in `call'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/configuration.rb:228:in `call'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/server.rb:713:in `handle_request'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/server.rb:472:in `process_client'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/server.rb:328:in `block in run'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/thread_pool.rb:134:in `block in spawn_thread'","ddsource":["ruby"]}
/opt/yunohost/snweb/live/vendor/bundle/ruby/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
{"level":"INFO","time":"2021-03-15T06:21:46.371-04:00","message":"{\"method\":\"GET\",\"path\":\"/auth/params\",\"format\":\"html\",\"controller\":\"ApplicationController\",\"action\":\"route_not_found\",\"status\":404,\"duration\":1.46,\"view\":0.51,\"dd\":{\"trace_id\":\"0\",\"span_id\":\"0\",\"env\":\"\",\"service\":\"\",\"version\":\"\"},\"ddsource\":[\"ruby\"],\"time\":\"2021-03-15 06:21:46 -0400\",\"params\":{\"email\":\"bmwatson1989@gmail.com\",\"api\":\"20200115\",\"controller\":\"application\",\"action\":\"route_not_found\",\"unmatched_route\":\"auth/params\",\"application\":{}},\"level\":\"WARN\"}","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-15T06:22:33.599-04:00","message":"  ","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-15T06:22:33.600-04:00","message":"ActionController::RoutingError (No route matches [POST] \"/auth\"):","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-15T06:22:33.600-04:00","message":"  ","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-15T06:22:33.600-04:00","message":"vendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'\nvendor/bundle/ruby/2.7.0/gems/lograge-0.11.2/lib/lograge/rails_ext/rack/logger.rb:15:in `call_app'\nvendor/bundle/ruby/2.7.0/gems/railties-5.1.7/lib/rails/rack/logger.rb:26:in `call'\nvendor/bundle/ruby/2.7.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/quiet_assets.rb:13:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/remote_ip.rb:79:in `call'\nvendor/bundle/ruby/2.7.0/gems/request_store-1.5.0/lib/request_store/middleware.rb:19:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/request_id.rb:25:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/method_override.rb:24:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/runtime.rb:22:in `call'\nvendor/bundle/ruby/2.7.0/gems/activesupport-5.1.7/lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/executor.rb:12:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/static.rb:125:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/deflater.rb:44:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-cors-1.1.1/lib/rack/cors.rb:100:in `call'\nvendor/bundle/ruby/2.7.0/gems/secure_headers-6.3.0/lib/secure_headers/middleware.rb:11:in `call'\nvendor/bundle/ruby/2.7.0/gems/railties-5.1.7/lib/rails/engine.rb:522:in `call'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/configuration.rb:228:in `call'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/server.rb:713:in `handle_request'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/server.rb:472:in `process_client'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/server.rb:328:in `block in run'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/thread_pool.rb:134:in `block in spawn_thread'","ddsource":["ruby"]}
/opt/yunohost/snweb/live/vendor/bundle/ruby/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
{"level":"INFO","time":"2021-03-15T23:49:23.097-04:00","message":"{\"method\":\"GET\",\"path\":\"/\",\"format\":\"html\",\"controller\":\"ApplicationController\",\"action\":\"app\",\"status\":200,\"duration\":2.32,\"view\":1.38,\"dd\":{\"trace_id\":\"0\",\"span_id\":\"0\",\"env\":\"\",\"service\":\"\",\"version\":\"\"},\"ddsource\":[\"ruby\"],\"time\":\"2021-03-15 23:49:23 -0400\",\"params\":{\"controller\":\"application\",\"action\":\"app\"},\"level\":\"INFO\"}","ddsource":["ruby"]}
/opt/yunohost/snweb/live/vendor/bundle/ruby/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
{"level":"INFO","time":"2021-03-15T23:50:45.186-04:00","message":"{\"method\":\"GET\",\"path\":\"/favicon.ico\",\"format\":null,\"controller\":\"ApplicationController\",\"action\":\"route_not_found\",\"status\":404,\"duration\":0.95,\"view\":0.21,\"dd\":{\"trace_id\":\"0\",\"span_id\":\"0\",\"env\":\"\",\"service\":\"\",\"version\":\"\"},\"ddsource\":[\"ruby\"],\"time\":\"2021-03-15 23:50:45 -0400\",\"params\":{\"controller\":\"application\",\"action\":\"route_not_found\",\"unmatched_route\":\"favicon\",\"format\":\"ico\"},\"level\":\"WARN\"}","ddsource":["ruby"]}
/opt/yunohost/snweb/live/vendor/bundle/ruby/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
/opt/yunohost/snweb/live/vendor/bundle/ruby/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
{"level":"INFO","time":"2021-03-15T23:50:59.137-04:00","message":"{\"method\":\"GET\",\"path\":\"/favicon.ico\",\"format\":null,\"controller\":\"ApplicationController\",\"action\":\"route_not_found\",\"status\":404,\"duration\":0.72,\"view\":0.19,\"dd\":{\"trace_id\":\"0\",\"span_id\":\"0\",\"env\":\"\",\"service\":\"\",\"version\":\"\"},\"ddsource\":[\"ruby\"],\"time\":\"2021-03-15 23:50:59 -0400\",\"params\":{\"controller\":\"application\",\"action\":\"route_not_found\",\"unmatched_route\":\"favicon\",\"format\":\"ico\"},\"level\":\"WARN\"}","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-15T23:52:00.126-04:00","message":"  ","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-15T23:52:00.126-04:00","message":"ActionController::RoutingError (No route matches [POST] \"/auth\"):","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-15T23:52:00.126-04:00","message":"  ","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-15T23:52:00.126-04:00","message":"vendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'\nvendor/bundle/ruby/2.7.0/gems/lograge-0.11.2/lib/lograge/rails_ext/rack/logger.rb:15:in `call_app'\nvendor/bundle/ruby/2.7.0/gems/railties-5.1.7/lib/rails/rack/logger.rb:26:in `call'\nvendor/bundle/ruby/2.7.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/quiet_assets.rb:13:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/remote_ip.rb:79:in `call'\nvendor/bundle/ruby/2.7.0/gems/request_store-1.5.0/lib/request_store/middleware.rb:19:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/request_id.rb:25:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/method_override.rb:24:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/runtime.rb:22:in `call'\nvendor/bundle/ruby/2.7.0/gems/activesupport-5.1.7/lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/executor.rb:12:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/static.rb:125:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/deflater.rb:44:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-cors-1.1.1/lib/rack/cors.rb:100:in `call'\nvendor/bundle/ruby/2.7.0/gems/secure_headers-6.3.0/lib/secure_headers/middleware.rb:11:in `call'\nvendor/bundle/ruby/2.7.0/gems/railties-5.1.7/lib/rails/engine.rb:522:in `call'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/configuration.rb:228:in `call'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/server.rb:713:in `handle_request'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/server.rb:472:in `process_client'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/server.rb:328:in `block in run'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/thread_pool.rb:134:in `block in spawn_thread'","ddsource":["ruby"]}
/opt/yunohost/snweb/live/vendor/bundle/ruby/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
Puma starting in single mode...
* Version 4.3.5 (ruby 2.7.2-p137), codename: Mysterious Traveller
* Min threads: 5, max threads: 5
* Environment: production
/opt/yunohost/snweb/live/vendor/bundle/ruby/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
* Listening on tcp://0.0.0.0:3001
Use Ctrl-C to stop
FabianWilkens commented 3 years ago

Hi,

somehow both yunohost apps want to use the same port.

You can change it by hand or reinstall one app. This shouldn't happened. Unsure why this happened on your server.

You can change the port in /opt/yunohost/$app/live/.env /etc/systemd/system/$app.service /etc/nginx/conf.d/domain.d/$app.conf /etc/yunohost/apps/$app/settings.yml

In all this files you have to change the port to the next free port.

brimwats1 commented 3 years ago

There's no rush! We can work on it as the time comes up for both of us! I tried installing it clean on a totally different computer and I ran into the same issues so it's more than one sever I think.

FabianWilkens commented 3 years ago

I updatet my last comment. If you change the port for snserver or snweb in all four files and restrart the service it is hopefully working.

I also tried to install on an clean Yunohost server on a VirtualMaschine with all updates installed.

I installed snserver_ynh - master snweb_ynh - testing both two times https://paste.yunohost.org/moporihoja.js

I think this is strange. If we know where the differences between the systems are, we could maybe find the problem. Just want to fix this issue, which I can't reproduce.

brimwats1 commented 3 years ago

I think it may be because your server has all ports exposed? Mine does not. Anyhow I opened 3001 and 3002 and then changed

snserver's port to 3002 in

/opt/yunohost/$app/live/.env /etc/systemd/system/$app.service /etc/nginx/conf.d/domain.d/$app.conf /etc/yunohost/apps/$app/settings.yml

I am still getting the "unknown error" when trying to register.

/var/log/snweb/snweb.log

Puma starting in single mode...
* Version 4.3.5 (ruby 2.7.2-p137), codename: Mysterious Traveller
* Min threads: 5, max threads: 5
* Environment: production
/opt/yunohost/snweb/live/vendor/bundle/ruby/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
* Listening on tcp://0.0.0.0:3001
Use Ctrl-C to stop
{"level":"INFO","time":"2021-03-14T21:34:51.478-04:00","message":"{\"method\":\"GET\",\"path\":\"/\",\"format\":\"html\",\"controller\":\"ApplicationController\",\"action\":\"app\",\"status\":200,\"duration\":11.54,\"view\":3.9,\"dd\":{\"trace_id\":\"0\",\"span_id\":\"0\",\"env\":\"\",\"service\":\"\",\"version\":\"\"},\"ddsource\":[\"ruby\"],\"time\":\"2021-03-14 21:34:51 -0400\",\"params\":{\"controller\":\"application\",\"action\":\"app\"},\"level\":\"INFO\"}","ddsource":["ruby"]}
{"level":"INFO","time":"2021-03-14T21:36:05.905-04:00","message":"{\"method\":\"GET\",\"path\":\"/auth/params\",\"format\":\"*/*\",\"controller\":\"ApplicationController\",\"action\":\"route_not_found\",\"status\":404,\"duration\":0.74,\"view\":0.32,\"dd\":{\"trace_id\":\"0\",\"span_id\":\"0\",\"env\":\"\",\"service\":\"\",\"version\":\"\"},\"ddsource\":[\"ruby\"],\"time\":\"2021-03-14 21:36:05 -0400\",\"params\":{\"email\":\"me@domain.tld\",\"api\":\"20200115\",\"controller\":\"application\",\"action\":\"route_not_found\",\"unmatched_route\":\"auth/params\",\"application\":{}},\"level\":\"WARN\"}","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-14T21:38:09.617-04:00","message":"  ","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-14T21:38:09.617-04:00","message":"ActionController::RoutingError (No route matches [POST] \"/auth\"):","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-14T21:38:09.617-04:00","message":"  ","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-14T21:38:09.618-04:00","message":"vendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'\nvendor/bundle/ruby/2.7.0/gems/lograge-0.11.2/lib/lograge/rails_ext/rack/logger.rb:15:in `call_app'\nvendor/bundle/ruby/2.7.0/gems/railties-5.1.7/lib/rails/rack/logger.rb:26:in `call'\nvendor/bundle/ruby/2.7.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/quiet_assets.rb:13:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/remote_ip.rb:79:in `call'\nvendor/bundle/ruby/2.7.0/gems/request_store-1.5.0/lib/request_store/middleware.rb:19:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/request_id.rb:25:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/method_override.rb:24:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/runtime.rb:22:in `call'\nvendor/bundle/ruby/2.7.0/gems/activesupport-5.1.7/lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/executor.rb:12:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/static.rb:125:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/deflater.rb:44:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-cors-1.1.1/lib/rack/cors.rb:100:in `call'\nvendor/bundle/ruby/2.7.0/gems/secure_headers-6.3.0/lib/secure_headers/middleware.rb:11:in `call'\nvendor/bundle/ruby/2.7.0/gems/railties-5.1.7/lib/rails/engine.rb:522:in `call'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/configuration.rb:228:in `call'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/server.rb:713:in `handle_request'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/server.rb:472:in `process_client'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/server.rb:328:in `block in run'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/thread_pool.rb:134:in `block in spawn_thread'","ddsource":["ruby"]}
/opt/yunohost/snweb/live/vendor/bundle/ruby/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
{"level":"INFO","time":"2021-03-15T06:21:46.371-04:00","message":"{\"method\":\"GET\",\"path\":\"/auth/params\",\"format\":\"html\",\"controller\":\"ApplicationController\",\"action\":\"route_not_found\",\"status\":404,\"duration\":1.46,\"view\":0.51,\"dd\":{\"trace_id\":\"0\",\"span_id\":\"0\",\"env\":\"\",\"service\":\"\",\"version\":\"\"},\"ddsource\":[\"ruby\"],\"time\":\"2021-03-15 06:21:46 -0400\",\"params\":{\"email\":\"bmwatson1989@gmail.com\",\"api\":\"20200115\",\"controller\":\"application\",\"action\":\"route_not_found\",\"unmatched_route\":\"auth/params\",\"application\":{}},\"level\":\"WARN\"}","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-15T06:22:33.599-04:00","message":"  ","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-15T06:22:33.600-04:00","message":"ActionController::RoutingError (No route matches [POST] \"/auth\"):","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-15T06:22:33.600-04:00","message":"  ","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-15T06:22:33.600-04:00","message":"vendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'\nvendor/bundle/ruby/2.7.0/gems/lograge-0.11.2/lib/lograge/rails_ext/rack/logger.rb:15:in `call_app'\nvendor/bundle/ruby/2.7.0/gems/railties-5.1.7/lib/rails/rack/logger.rb:26:in `call'\nvendor/bundle/ruby/2.7.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/quiet_assets.rb:13:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/remote_ip.rb:79:in `call'\nvendor/bundle/ruby/2.7.0/gems/request_store-1.5.0/lib/request_store/middleware.rb:19:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/request_id.rb:25:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/method_override.rb:24:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/runtime.rb:22:in `call'\nvendor/bundle/ruby/2.7.0/gems/activesupport-5.1.7/lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/executor.rb:12:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/static.rb:125:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/deflater.rb:44:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-cors-1.1.1/lib/rack/cors.rb:100:in `call'\nvendor/bundle/ruby/2.7.0/gems/secure_headers-6.3.0/lib/secure_headers/middleware.rb:11:in `call'\nvendor/bundle/ruby/2.7.0/gems/railties-5.1.7/lib/rails/engine.rb:522:in `call'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/configuration.rb:228:in `call'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/server.rb:713:in `handle_request'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/server.rb:472:in `process_client'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/server.rb:328:in `block in run'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/thread_pool.rb:134:in `block in spawn_thread'","ddsource":["ruby"]}
/opt/yunohost/snweb/live/vendor/bundle/ruby/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
{"level":"INFO","time":"2021-03-15T23:49:23.097-04:00","message":"{\"method\":\"GET\",\"path\":\"/\",\"format\":\"html\",\"controller\":\"ApplicationController\",\"action\":\"app\",\"status\":200,\"duration\":2.32,\"view\":1.38,\"dd\":{\"trace_id\":\"0\",\"span_id\":\"0\",\"env\":\"\",\"service\":\"\",\"version\":\"\"},\"ddsource\":[\"ruby\"],\"time\":\"2021-03-15 23:49:23 -0400\",\"params\":{\"controller\":\"application\",\"action\":\"app\"},\"level\":\"INFO\"}","ddsource":["ruby"]}
/opt/yunohost/snweb/live/vendor/bundle/ruby/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
{"level":"INFO","time":"2021-03-15T23:50:45.186-04:00","message":"{\"method\":\"GET\",\"path\":\"/favicon.ico\",\"format\":null,\"controller\":\"ApplicationController\",\"action\":\"route_not_found\",\"status\":404,\"duration\":0.95,\"view\":0.21,\"dd\":{\"trace_id\":\"0\",\"span_id\":\"0\",\"env\":\"\",\"service\":\"\",\"version\":\"\"},\"ddsource\":[\"ruby\"],\"time\":\"2021-03-15 23:50:45 -0400\",\"params\":{\"controller\":\"application\",\"action\":\"route_not_found\",\"unmatched_route\":\"favicon\",\"format\":\"ico\"},\"level\":\"WARN\"}","ddsource":["ruby"]}
/opt/yunohost/snweb/live/vendor/bundle/ruby/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
/opt/yunohost/snweb/live/vendor/bundle/ruby/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
{"level":"INFO","time":"2021-03-15T23:50:59.137-04:00","message":"{\"method\":\"GET\",\"path\":\"/favicon.ico\",\"format\":null,\"controller\":\"ApplicationController\",\"action\":\"route_not_found\",\"status\":404,\"duration\":0.72,\"view\":0.19,\"dd\":{\"trace_id\":\"0\",\"span_id\":\"0\",\"env\":\"\",\"service\":\"\",\"version\":\"\"},\"ddsource\":[\"ruby\"],\"time\":\"2021-03-15 23:50:59 -0400\",\"params\":{\"controller\":\"application\",\"action\":\"route_not_found\",\"unmatched_route\":\"favicon\",\"format\":\"ico\"},\"level\":\"WARN\"}","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-15T23:52:00.126-04:00","message":"  ","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-15T23:52:00.126-04:00","message":"ActionController::RoutingError (No route matches [POST] \"/auth\"):","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-15T23:52:00.126-04:00","message":"  ","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-15T23:52:00.126-04:00","message":"vendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'\nvendor/bundle/ruby/2.7.0/gems/lograge-0.11.2/lib/lograge/rails_ext/rack/logger.rb:15:in `call_app'\nvendor/bundle/ruby/2.7.0/gems/railties-5.1.7/lib/rails/rack/logger.rb:26:in `call'\nvendor/bundle/ruby/2.7.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/quiet_assets.rb:13:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/remote_ip.rb:79:in `call'\nvendor/bundle/ruby/2.7.0/gems/request_store-1.5.0/lib/request_store/middleware.rb:19:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/request_id.rb:25:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/method_override.rb:24:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/runtime.rb:22:in `call'\nvendor/bundle/ruby/2.7.0/gems/activesupport-5.1.7/lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/executor.rb:12:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/static.rb:125:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/deflater.rb:44:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-cors-1.1.1/lib/rack/cors.rb:100:in `call'\nvendor/bundle/ruby/2.7.0/gems/secure_headers-6.3.0/lib/secure_headers/middleware.rb:11:in `call'\nvendor/bundle/ruby/2.7.0/gems/railties-5.1.7/lib/rails/engine.rb:522:in `call'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/configuration.rb:228:in `call'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/server.rb:713:in `handle_request'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/server.rb:472:in `process_client'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/server.rb:328:in `block in run'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/thread_pool.rb:134:in `block in spawn_thread'","ddsource":["ruby"]}
/opt/yunohost/snweb/live/vendor/bundle/ruby/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
Puma starting in single mode...
* Version 4.3.5 (ruby 2.7.2-p137), codename: Mysterious Traveller
* Min threads: 5, max threads: 5
* Environment: production
/opt/yunohost/snweb/live/vendor/bundle/ruby/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
* Listening on tcp://0.0.0.0:3001
Use Ctrl-C to stop
{"level":"INFO","time":"2021-03-20T09:54:45.154-04:00","message":"{\"method\":\"HEAD\",\"path\":\"/\",\"format\":\"html\",\"controller\":\"ApplicationController\",\"action\":\"app\",\"status\":200,\"duration\":13.36,\"view\":2.39,\"dd\":{\"trace_id\":\"0\",\"span_id\":\"0\",\"env\":\"\",\"service\":\"\",\"version\":\"\"},\"ddsource\":[\"ruby\"],\"time\":\"2021-03-20 09:54:45 -0400\",\"params\":{\"controller\":\"application\",\"action\":\"app\"},\"level\":\"INFO\"}","ddsource":["ruby"]}
{"level":"INFO","time":"2021-03-20T12:24:49.824-04:00","message":"{\"method\":\"GET\",\"path\":\"/\",\"format\":\"html\",\"controller\":\"ApplicationController\",\"action\":\"app\",\"status\":200,\"duration\":1.14,\"view\":0.65,\"dd\":{\"trace_id\":\"0\",\"span_id\":\"0\",\"env\":\"\",\"service\":\"\",\"version\":\"\"},\"ddsource\":[\"ruby\"],\"time\":\"2021-03-20 12:24:49 -0400\",\"params\":{\"controller\":\"application\",\"action\":\"app\"},\"level\":\"INFO\"}","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-20T12:25:12.371-04:00","message":"  ","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-20T12:25:12.371-04:00","message":"ActionController::RoutingError (No route matches [POST] \"/auth\"):","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-20T12:25:12.371-04:00","message":"  ","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-20T12:25:12.371-04:00","message":"vendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'\nvendor/bundle/ruby/2.7.0/gems/lograge-0.11.2/lib/lograge/rails_ext/rack/logger.rb:15:in `call_app'\nvendor/bundle/ruby/2.7.0/gems/railties-5.1.7/lib/rails/rack/logger.rb:26:in `call'\nvendor/bundle/ruby/2.7.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/quiet_assets.rb:13:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/remote_ip.rb:79:in `call'\nvendor/bundle/ruby/2.7.0/gems/request_store-1.5.0/lib/request_store/middleware.rb:19:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/request_id.rb:25:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/method_override.rb:24:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/runtime.rb:22:in `call'\nvendor/bundle/ruby/2.7.0/gems/activesupport-5.1.7/lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/executor.rb:12:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/static.rb:125:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/deflater.rb:44:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-cors-1.1.1/lib/rack/cors.rb:100:in `call'\nvendor/bundle/ruby/2.7.0/gems/secure_headers-6.3.0/lib/secure_headers/middleware.rb:11:in `call'\nvendor/bundle/ruby/2.7.0/gems/railties-5.1.7/lib/rails/engine.rb:522:in `call'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/configuration.rb:228:in `call'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/server.rb:713:in `handle_request'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/server.rb:472:in `process_client'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/server.rb:328:in `block in run'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/thread_pool.rb:134:in `block in spawn_thread'","ddsource":["ruby"]}
/opt/yunohost/snweb/live/vendor/bundle/ruby/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
brimwats1 commented 3 years ago

journalctl for snweb

-- Logs begin at Wed 2021-03-17 14:33:31 EDT, end at Sat 2021-03-20 12:28:21 EDT. --
Mar 20 12:26:04 systemd[1]: snserver.service: Main process exited, code=exited, status=1/FAILURE
Mar 20 12:26:04 systemd[1]: snserver.service: Failed with result 'exit-code'.
Mar 20 12:26:19 systemd[1]: snserver.service: Service RestartSec=15s expired, scheduling restart.
Mar 20 12:26:19 systemd[1]: snserver.service: Scheduled restart job, restart counter is at 21864.
Mar 20 12:26:19 systemd[1]: Stopped snserver service.
Mar 20 12:26:19 systemd[1]: Started snserver service.
Mar 20 12:26:21 systemd[1]: snserver.service: Main process exited, code=exited, status=1/FAILURE
Mar 20 12:26:21 systemd[1]: snserver.service: Failed with result 'exit-code'.
Mar 20 12:26:36 systemd[1]: snserver.service: Service RestartSec=15s expired, scheduling restart.
Mar 20 12:26:36 systemd[1]: snserver.service: Scheduled restart job, restart counter is at 21865.
Mar 20 12:26:36 systemd[1]: Stopped snserver service.
Mar 20 12:26:36 systemd[1]: Started snserver service.
Mar 20 12:26:38 systemd[1]: snserver.service: Main process exited, code=exited, status=1/FAILURE
Mar 20 12:26:38 systemd[1]: snserver.service: Failed with result 'exit-code'.
Mar 20 12:26:53 systemd[1]: snserver.service: Service RestartSec=15s expired, scheduling restart.
Mar 20 12:26:53 systemd[1]: snserver.service: Scheduled restart job, restart counter is at 21866.
Mar 20 12:26:53 systemd[1]: Stopped snserver service.
Mar 20 12:26:53 systemd[1]: Started snserver service.
Mar 20 12:26:55 systemd[1]: snserver.service: Main process exited, code=exited, status=1/FAILURE
Mar 20 12:26:55 systemd[1]: snserver.service: Failed with result 'exit-code'.
Mar 20 12:27:10 systemd[1]: snserver.service: Service RestartSec=15s expired, scheduling restart.
Mar 20 12:27:10 systemd[1]: snserver.service: Scheduled restart job, restart counter is at 21867.
Mar 20 12:27:10 systemd[1]: Stopped snserver service.
Mar 20 12:27:10 systemd[1]: Started snserver service.
Mar 20 12:27:12 systemd[1]: snserver.service: Main process exited, code=exited, status=1/FAILURE
Mar 20 12:27:12 systemd[1]: snserver.service: Failed with result 'exit-code'.
Mar 20 12:27:27 systemd[1]: snserver.service: Service RestartSec=15s expired, scheduling restart.
Mar 20 12:27:27 systemd[1]: snserver.service: Scheduled restart job, restart counter is at 21868.
Mar 20 12:27:27 systemd[1]: Stopped snserver service.
Mar 20 12:27:27 systemd[1]: Started snserver service.
Mar 20 12:27:29 systemd[1]: snserver.service: Main process exited, code=exited, status=1/FAILURE
Mar 20 12:27:29 systemd[1]: snserver.service: Failed with result 'exit-code'.
Mar 20 12:27:44 systemd[1]: snserver.service: Service RestartSec=15s expired, scheduling restart.
Mar 20 12:27:44 systemd[1]: snserver.service: Scheduled restart job, restart counter is at 21869.
Mar 20 12:27:44 systemd[1]: Stopped snserver service.
Mar 20 12:27:44 systemd[1]: Started snserver service.
Mar 20 12:27:46 systemd[1]: snserver.service: Main process exited, code=exited, status=1/FAILURE
Mar 20 12:27:46 systemd[1]: snserver.service: Failed with result 'exit-code'.
Mar 20 12:28:01 systemd[1]: snserver.service: Service RestartSec=15s expired, scheduling restart.
Mar 20 12:28:01 systemd[1]: snserver.service: Scheduled restart job, restart counter is at 21870.
Mar 20 12:28:01 systemd[1]: Stopped snserver service.
Mar 20 12:28:01 systemd[1]: Started snserver service.
Mar 20 12:28:03 systemd[1]: snserver.service: Main process exited, code=exited, status=1/FAILURE
Mar 20 12:28:03 systemd[1]: snserver.service: Failed with result 'exit-code'.
Mar 20 12:28:18 systemd[1]: snserver.service: Service RestartSec=15s expired, scheduling restart.
Mar 20 12:28:18 systemd[1]: snserver.service: Scheduled restart job, restart counter is at 21871.
Mar 20 12:28:18 systemd[1]: Stopped snserver service.
Mar 20 12:28:18 systemd[1]: Started snserver service.
Mar 20 12:28:20 systemd[1]: snserver.service: Main process exited, code=exited, status=1/FAILURE
Mar 20 12:28:20 systemd[1]: snserver.service: Failed with result 'exit-code'.

/var/log/snserver/snserver.log

rver/live/vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:291:in `block in require'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:257:in `load_dependency'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:291:in `require'
    from bin/rails:4:in `<main>'
=> Booting Puma
=> Rails 5.2.4.4 application starting in production 
=> Run `rails server -h` for more startup options
Puma starting in single mode...
* Version 5.0.2 (ruby 2.7.2-p137), codename: Spoony Bard
* Min threads: 5, max threads: 5
* Environment: production
Exiting
/opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/puma/binder.rb:243:in `initialize': Address already in use - bind(2) for "0.0.0.0" port 3001 (Errno::EADDRINUSE)
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/puma/binder.rb:243:in `new'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/puma/binder.rb:243:in `add_tcp_listener'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/puma/binder.rb:123:in `block in parse'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/puma/binder.rb:107:in `each'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/puma/binder.rb:107:in `parse'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/puma/runner.rb:137:in `load_and_bind'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/puma/single.rb:44:in `run'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/puma/launcher.rb:171:in `run'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/rack/handler/puma.rb:71:in `run'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/server.rb:327:in `start'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/railties-5.2.4.4/lib/rails/commands/server/server_command.rb:53:in `start'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/railties-5.2.4.4/lib/rails/commands/server/server_command.rb:147:in `block in perform'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/railties-5.2.4.4/lib/rails/commands/server/server_command.rb:142:in `tap'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/railties-5.2.4.4/lib/rails/commands/server/server_command.rb:142:in `perform'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/command.rb:27:in `run'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/railties-5.2.4.4/lib/rails/command/base.rb:69:in `perform'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/railties-5.2.4.4/lib/rails/command.rb:46:in `invoke'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/railties-5.2.4.4/lib/rails/commands.rb:18:in `<main>'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:291:in `block in require'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:257:in `load_dependency'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:291:in `require'
    from bin/rails:4:in `<main>'
=> Booting Puma
=> Rails 5.2.4.4 application starting in production 
=> Run `rails server -h` for more startup options
Puma starting in single mode...
* Version 5.0.2 (ruby 2.7.2-p137), codename: Spoony Bard
* Min threads: 5, max threads: 5
* Environment: production
Exiting
FabianWilkens commented 3 years ago

Hi,

according to the log you posted the snserver is still using the port 3001. Can you reload the systemd config and restart the snserver

sudo systemctl daemon-reload
sudo systemctl restart snserver

/opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/puma/binder.rb:243:in `initialize': Address already in use - bind(2) for "0.0.0.0" port 3001 (Errno::EADDRINUSE)
brimwats1 commented 3 years ago

I did that. It still fails.

sudo nano /etc/systemd/system/snserver.service

  GNU nano 3.2                              /etc/systemd/system/snserver.service                                        
[Unit]
Description=snserver service
After=network.target

[Service]
Type=simple
User=snserver
Group=snserver
WorkingDirectory=/opt/yunohost/snserver/live
Environment=RAILS_ENV=production
Environment="PORT=3002"
ExecStart=/opt/rbenv/versions/2.7.2/bin/bundle exec rails server
ExecReload=/bin/kill -SIGUSR1 $MAINPID
StandardOutput=append:/var/log/snserver/snserver.log
StandardError=append:/var/log/snserver/snserver.log
SyslogIdentifier=snserver
Restart=always
RestartSec=15

[Install]
WantedBy=multi-user.target

sudo nano /etc/nginx/conf.d/notessync.domain.tld.d/snserver.conf

  GNU nano 3.2                    /etc/nginx/conf.d/notessync.domain.tld.d/snserver.conf                               
location / {
    alias /opt/yunohost/snserver/live/public ;

    if ($scheme = http) {
        rewrite ^ https://$server_name$request_uri? permanent;
    }

    proxy_pass http://127.0.0.1:3002/;
    proxy_http_version 1.1;
    proxy_set_header Host $http_host;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection $connection_upgrade;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_buffering off;

    more_set_headers "Content-Security-Policy: frame-ancestors 'self' notes.domain.tld";
}

sudo nano /etc/yunohost/apps/snserver/settings.yml

access_domain: notes.domain.tld
apt_dependencies: zlib1g-dev, libsqlite3-dev, default-libmysqlclient-dev, libssl-dev,
  libreadline-dev, libjemalloc-dev
checksum__etc_fail2ban_filter.d_snserver.conf: ########################
checksum__etc_fail2ban_jail.d_snserver.conf: ########################
checksum__etc_nginx_conf.d_notessync.domain.tldd_snserver.conf: ########################
checksum__etc_systemd_system_snserver.service: ########################
checksum__opt_yunohost_snserver_live_.env: ########################
current_revision: ########################
db_name: snserver
domain: notessync.domain.tld
final_path: /opt/yunohost/snserver
id: snserver
install_time: 1613620881
is_public: '1'
mail: snserver@notessync.domail.tld
mysqlpwd: ########################
path: /
port: '3002'
ruby_version: 2.7.2

sudo nano /opt/yunohost/snserver/live/.env


# Sample ENV setup Variables
# Copy this file and update as needed.
#
#   $ cp .env.sample .env
#
# Do not include this new file in source control
#

# Rails Settings
EXPOSED_PORT=3002
# change this to "production" for production use, otherwise the access token time is very short and forces re-login
RAILS_ENV=production
RAILS_LOG_TO_STDOUT=false
RAILS_LOG_LEVEL=info # "debug" | "info" | "warn" | "error" | "fatal"
#SQS_QUEUE=somequeue
#SQS_QUEUE_LOW_PRIORITY=low_priority_queue
#AWS_REGION=us-west1
#S3_BACKUP_BUCKET_NAME=

ACTIVE_JOB_QUEUE_ADAPTER=async

# Database Settings
DB_PORT=3306
DB_HOST=127.0.0.1
DB_DATABASE=snserver
DB_USERNAME=snserver
# Please change this!
DB_PASSWORD=########################
DB_POOL_SIZE=30
DB_WAIT_TIMEOUT=180

# Secrets
# Use: "bundle exec rake secret" or "openssl rand -hex 64"
# To generate required secret key base below

SECRET_KEY_BASE=########################
PSEUDO_KEY_PARAMS_KEY=########################

# Disable user registration
#DISABLE_USER_REGISTRATION=true

# Datadog
DATADOG_ENABLED=false

Could it be this

Disable user registration

DISABLE_USER_REGISTRATION=true

brimwats1 commented 3 years ago

It's not this

# Disable user registration
#DISABLE_USER_REGISTRATION=true

I changed it to false and it still reports not working

brimwats1 commented 3 years ago

I also did this

admin@domain:/etc/nginx/conf.d/notessync.domain.tld.d$ sudo systemctl restart snserver
admin@domain:/etc/nginx/conf.d/notessync.domain.tld.d$ sudo systemctl restart snweb
admin@domain:/etc/nginx/conf.d/notessync.domain.tld.d$ sudo systemctl daemon-reload
^[[Aadmin@domain:/etc/nginx/conf.d/notessync.domain.tld.d$ sudo systemctl restart snweb
admin@domain:/etc/nginx/conf.d/notessync.domain.tld.d$ sudo systemctl restart snserver
admin@domain:/etc/nginx/conf.d/notessync.domain.tld.d$ sudo systemctl restart snweb
brimwats1 commented 3 years ago

Good news! Changing the #DISABLE_USER_REGISTRATION=true back to false and then rebooting the entire server fixed it! It...tenatively seems to be working!

FabianWilkens commented 3 years ago

Good news! Changing the #DISABLE_USER_REGISTRATION=true back to false and then rebooting the entire server fixed it! It...tenatively seems to be working!

#DISABLE_USER_REGISTRATION=true This should be ignored because of the #

But it is very nice to hear that it works after the reboot

brimwats1 commented 3 years ago

Plugins don't seem to work, but maybe that's a new issue to open 🤔 Thanks for all the help!

brimwats1 commented 3 years ago

Ah! They also work :)

FabianWilkens commented 3 years ago

Perfect. Thank you

brimwats1 commented 3 years ago

Tragically, this seems like it was a short-term fix :( /var/log/snserver/snserver.log

rver/live/vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:291:in `block in require'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:257:in `load_dependency'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:291:in `require'
    from bin/rails:4:in `<main>'
=> Booting Puma
=> Rails 5.2.4.4 application starting in production 
=> Run `rails server -h` for more startup options
Puma starting in single mode...
* Version 5.0.2 (ruby 2.7.2-p137), codename: Spoony Bard
* Min threads: 5, max threads: 5
* Environment: production
Exiting
/opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/puma/binder.rb:243:in `initialize': Address already in use - bind(2) for "0.0.0.0" port 3002 (Errno::EADDRINUSE)
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/puma/binder.rb:243:in `new'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/puma/binder.rb:243:in `add_tcp_listener'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/puma/binder.rb:123:in `block in parse'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/puma/binder.rb:107:in `each'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/puma/binder.rb:107:in `parse'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/puma/runner.rb:137:in `load_and_bind'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/puma/single.rb:44:in `run'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/puma/launcher.rb:171:in `run'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/puma-5.0.2/lib/rack/handler/puma.rb:71:in `run'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/server.rb:327:in `start'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/railties-5.2.4.4/lib/rails/commands/server/server_command.rb:53:in `start'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/railties-5.2.4.4/lib/rails/commands/server/server_command.rb:147:in `block in perform'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/railties-5.2.4.4/lib/rails/commands/server/server_command.rb:142:in `tap'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/railties-5.2.4.4/lib/rails/commands/server/server_command.rb:142:in `perform'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/command.rb:27:in `run'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/railties-5.2.4.4/lib/rails/command/base.rb:69:in `perform'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/railties-5.2.4.4/lib/rails/command.rb:46:in `invoke'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/railties-5.2.4.4/lib/rails/commands.rb:18:in `<main>'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:291:in `block in require'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:257:in `load_dependency'
    from /opt/yunohost/snserver/live/vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:291:in `require'
    from bin/rails:4:in `<main>'
=> Booting Puma
=> Rails 5.2.4.4 application starting in production 
=> Run `rails server -h` for more startup options
Puma starting in single mode...
* Version 5.0.2 (ruby 2.7.2-p137), codename: Spoony Bard
* Min threads: 5, max threads: 5
* Environment: production
Exiting

/var/log/snweb/snweb.log

=== puma shutdown: 2021-03-20 13:10:14 -0400 ===
- Goodbye!
Puma starting in single mode...
* Version 4.3.5 (ruby 2.7.2-p137), codename: Mysterious Traveller
* Min threads: 5, max threads: 5
* Environment: production
/opt/yunohost/snweb/live/vendor/bundle/ruby/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
* Listening on tcp://0.0.0.0:3001
Use Ctrl-C to stop
/opt/yunohost/snweb/live/vendor/bundle/ruby/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
{"level":"INFO","time":"2021-03-20T13:10:25.742-04:00","message":"{\"method\":\"GET\",\"path\":\"/\",\"format\":\"html\",\"controller\":\"ApplicationController\",\"action\":\"app\",\"status\":200,\"duration\":10.8,\"view\":2.46,\"dd\":{\"trace_id\":\"0\",\"span_id\":\"0\",\"env\":\"\",\"service\":\"\",\"version\":\"\"},\"ddsource\":[\"ruby\"],\"time\":\"2021-03-20 13:10:25 -0400\",\"params\":{\"controller\":\"application\",\"action\":\"app\"},\"level\":\"INFO\"}","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-20T13:10:38.437-04:00","message":"  ","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-20T13:10:38.438-04:00","message":"ActionController::RoutingError (No route matches [POST] \"/auth\"):","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-20T13:10:38.438-04:00","message":"  ","ddsource":["ruby"]}
{"level":"FATAL","time":"2021-03-20T13:10:38.438-04:00","message":"vendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'\nvendor/bundle/ruby/2.7.0/gems/lograge-0.11.2/lib/lograge/rails_ext/rack/logger.rb:15:in `call_app'\nvendor/bundle/ruby/2.7.0/gems/railties-5.1.7/lib/rails/rack/logger.rb:26:in `call'\nvendor/bundle/ruby/2.7.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/quiet_assets.rb:13:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/remote_ip.rb:79:in `call'\nvendor/bundle/ruby/2.7.0/gems/request_store-1.5.0/lib/request_store/middleware.rb:19:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/request_id.rb:25:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/method_override.rb:24:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/runtime.rb:22:in `call'\nvendor/bundle/ruby/2.7.0/gems/activesupport-5.1.7/lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/executor.rb:12:in `call'\nvendor/bundle/ruby/2.7.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/static.rb:125:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/deflater.rb:44:in `call'\nvendor/bundle/ruby/2.7.0/gems/rack-cors-1.1.1/lib/rack/cors.rb:100:in `call'\nvendor/bundle/ruby/2.7.0/gems/secure_headers-6.3.0/lib/secure_headers/middleware.rb:11:in `call'\nvendor/bundle/ruby/2.7.0/gems/railties-5.1.7/lib/rails/engine.rb:522:in `call'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/configuration.rb:228:in `call'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/server.rb:713:in `handle_request'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/server.rb:472:in `process_client'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/server.rb:328:in `block in run'\nvendor/bundle/ruby/2.7.0/gems/puma-4.3.5/lib/puma/thread_pool.rb:134:in `block in spawn_thread'","ddsource":["ruby"]}
/opt/yunohost/snweb/live/vendor/bundle/ruby/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
- Gracefully stopping, waiting for requests to finish
=== puma shutdown: 2021-03-20 13:13:08 -0400 ===
- Goodbye!
Puma starting in single mode...
* Version 4.3.5 (ruby 2.7.2-p137), codename: Mysterious Traveller
* Min threads: 5, max threads: 5
* Environment: production
/opt/yunohost/snweb/live/vendor/bundle/ruby/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
* Listening on tcp://0.0.0.0:3001
Use Ctrl-C to stop
/opt/yunohost/snweb/live/vendor/bundle/ruby/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
{"level":"INFO","time":"2021-03-20T13:18:39.175-04:00","message":"{\"method\":\"GET\",\"path\":\"/\",\"format\":\"html\",\"controller\":\"ApplicationController\",\"action\":\"app\",\"status\":200,\"duration\":20.99,\"view\":2.16,\"dd\":{\"trace_id\":\"0\",\"span_id\":\"0\",\"env\":\"\",\"service\":\"\",\"version\":\"\"},\"ddsource\":[\"ruby\"],\"time\":\"2021-03-20 13:18:39 -0400\",\"params\":{\"controller\":\"application\",\"action\":\"app\"},\"level\":\"INFO\"}","ddsource":["ruby"]}
/opt/yunohost/snweb/live/vendor/bundle/ruby/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
{"level":"INFO","time":"2021-03-20T13:26:22.625-04:00","message":"{\"method\":\"GET\",\"path\":\"/\",\"format\":\"html\",\"controller\":\"ApplicationController\",\"action\":\"app\",\"status\":200,\"duration\":1.6,\"view\":0.84,\"dd\":{\"trace_id\":\"0\",\"span_id\":\"0\",\"env\":\"\",\"service\":\"\",\"version\":\"\"},\"ddsource\":[\"ruby\"],\"time\":\"2021-03-20 13:26:22 -0400\",\"params\":{\"controller\":\"application\",\"action\":\"app\"},\"level\":\"INFO\"}","ddsource":["ruby"]}
/opt/yunohost/snweb/live/vendor/bundle/ruby/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
{"level":"INFO","time":"2021-03-20T13:40:27.052-04:00","message":"{\"method\":\"GET\",\"path\":\"/\",\"format\":\"html\",\"controller\":\"ApplicationController\",\"action\":\"app\",\"status\":200,\"duration\":1.23,\"view\":0.66,\"dd\":{\"trace_id\":\"0\",\"span_id\":\"0\",\"env\":\"\",\"service\":\"\",\"version\":\"\"},\"ddsource\":[\"ruby\"],\"time\":\"2021-03-20 13:40:27 -0400\",\"params\":{\"controller\":\"application\",\"action\":\"app\"},\"level\":\"INFO\"}","ddsource":["ruby"]}
/opt/yunohost/snweb/live/vendor/bundle/ruby/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
{"level":"INFO","time":"2021-03-20T13:40:40.995-04:00","message":"{\"method\":\"GET\",\"path\":\"/\",\"format\":\"html\",\"controller\":\"ApplicationController\",\"action\":\"app\",\"status\":200,\"duration\":1.25,\"view\":0.64,\"dd\":{\"trace_id\":\"0\",\"span_id\":\"0\",\"env\":\"\",\"service\":\"\",\"version\":\"\"},\"ddsource\":[\"ruby\"],\"time\":\"2021-03-20 13:40:40 -0400\",\"params\":{\"controller\":\"application\",\"action\":\"app\"},\"level\":\"INFO\"}","ddsource":["ruby"]}
/opt/yunohost/snweb/live/vendor/bundle/ruby/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
{"level":"INFO","time":"2021-03-20T13:42:20.805-04:00","message":"{\"method\":\"GET\",\"path\":\"/\",\"format\":\"html\",\"controller\":\"ApplicationController\",\"action\":\"app\",\"status\":200,\"duration\":1.2,\"view\":0.62,\"dd\":{\"trace_id\":\"0\",\"span_id\":\"0\",\"env\":\"\",\"service\":\"\",\"version\":\"\"},\"ddsource\":[\"ruby\"],\"time\":\"2021-03-20 13:42:20 -0400\",\"params\":{\"controller\":\"application\",\"action\":\"app\"},\"level\":\"INFO\"}","ddsource":["ruby"]}
/opt/yunohost/snweb/live/vendor/bundle/ruby/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
{"level":"INFO","time":"2021-03-20T13:43:04.367-04:00","message":"{\"method\":\"GET\",\"path\":\"/\",\"format\":\"html\",\"controller\":\"ApplicationController\",\"action\":\"app\",\"status\":200,\"duration\":1.22,\"view\":0.65,\"dd\":{\"trace_id\":\"0\",\"span_id\":\"0\",\"env\":\"\",\"service\":\"\",\"version\":\"\"},\"ddsource\":[\"ruby\"],\"time\":\"2021-03-20 13:43:04 -0400\",\"params\":{\"controller\":\"application\",\"action\":\"app\"},\"level\":\"INFO\"}","ddsource":["ruby"]}
/opt/yunohost/snweb/live/vendor/bundle/ruby/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
{"level":"INFO","time":"2021-03-21T15:13:14.128-04:00","message":"{\"method\":\"GET\",\"path\":\"/\",\"format\":\"html\",\"controller\":\"ApplicationController\",\"action\":\"app\",\"status\":200,\"duration\":3.95,\"view\":2.02,\"dd\":{\"trace_id\":\"0\",\"span_id\":\"0\",\"env\":\"\",\"service\":\"\",\"version\":\"\"},\"ddsource\":[\"ruby\"],\"time\":\"2021-03-21 15:13:14 -0400\",\"params\":{\"controller\":\"application\",\"action\":\"app\"},\"level\":\"INFO\"}","ddsource":["ruby"]}
- Gracefully stopping, waiting for requests to finish
=== puma shutdown: 2021-03-26 19:50:19 -0400 ===
- Goodbye!
Puma starting in single mode...
* Version 4.3.5 (ruby 2.7.2-p137), codename: Mysterious Traveller
* Min threads: 5, max threads: 5
* Environment: production
/opt/yunohost/snweb/live/vendor/bundle/ruby/2.7.0/gems/json-1.8.6/lib/json/common.rb:155: warning: Using the last argument as keyword parameters is deprecated
* Listening on tcp://0.0.0.0:3001
Use Ctrl-C to stop
brimwats1 commented 3 years ago

I've decided that I don't need Standard Notes Web, just the server, which I can access from mobile devices and the windows app, but I thought I would reopen here. Let me know if you want me to make a new issue at https://github.com/YunoHost-Apps/snserver_ynh/issues

FabianWilkens commented 3 years ago

I can't find anything in the logs for snweb. For me it loks like it is working. But the snserver is not starting because the port 3002 is now already used. Did you installed an app after snserver. Or do you have only the apps installed listet above.

brimwats1 commented 3 years ago

Did you installed an app after snserver.

not yet no!

only those above :(

FabianWilkens commented 3 years ago

So some other process is using the same port as snserver. Can you look if one of the other apps is using the same port

This should list most apps and the port. sudo yunohost app list | sed -n "/^.*id:\s\\(\w\+\).*$/s//\1/p" | xargs -I % sh -c "echo %;sudo yunohost app setting % port"

Alternative you can install sudo apt install netstat To see all used ports sudo netstat -tunlp To see specific port sudo netstat -tunlp | grep :3002

brimwats1 commented 3 years ago

I'm an idiot actually lol—I forgot to give my use permission for snserver. I think it works now after a reboot?

Here's what I got anyhow!

alltube
archivist
beehive
8181
bookstack
couchdb
5984
dato
9559
diagramsnet
dokuwiki
drupal
etherpad_mypads
9001
ghost
4010
gitea
grav
grocy
hedgedoc
3000
homeassistant
8123
jellyfin
8097
kanboard
lufi
8096
mattermost
8065
mediawiki
metabase
3002
monica
nextcloud
nodered
1880
phpmyadmin
phpsysinfo
piwigo
portainer
31000
rss
Error: Could not find rss in the list of installed apps:
 * alltube
 * archivist
 * beehive
 * bookstack
 * couchdb
 * dato
 * diagramsnet
 * dokuwiki
 * drupal
 * etherpad_mypads
 * ghost
 * gitea
 * grav
 * grocy
 * hedgedoc
 * homeassistant
 * jellyfin
 * kanboard
 * lufi
 * mattermost
 * mediawiki
 * metabase
 * monica
 * nextcloud
 * nodered
 * phpmyadmin
 * phpsysinfo
 * piwigo
 * portainer
 * rss-bridge
 * shellinabox
 * snserver
 * snweb
 * syncthing
 * ttrss
 * vpnclient
 * wallabag2
 * wikijs
shellinabox
4200
snserver
3002
snweb
3001
syncthing
ttrss
vpnclient
wallabag2
wikijs
8095
brimwats1 commented 3 years ago

This may have been a false alarm! Feel free to close if so 🤔

FabianWilkens commented 3 years ago

This may have been a false alarm! Feel free to close if so 🤔

There is still something wrong. snserver and metabase are tring to use the same port 3002.

If snserver is now running, then metabase shouldn't be able to start.

metabase 3002 ... snserver 3002

Before you changed the port by hand it was 3001, which was the same as snweb. So I would sugest to change it for one of these both apps to 3003. It seems not to be used.

brimwats1 commented 3 years ago

Thanks! I just removed metabase—hopefully that squashes it for now!