Cannot remove a listed external site entry
I cannot remove an external site I have created. In the External sites settings I click Remove site and nothing happens. I click it again and this time the entry disappears. But when I click External sites settings icon again, the entry returns.
I have tried removing and reinstalling the app, but the old site is still there. Grateful for assistance.
Operating system: Ubuntu 16.04
Web server: Apache2.4
Database: MariaDB
PHP version: 7.2
Nextcloud version: 13.0.5
List of activated apps:
Talk, Circles, News, External Sites Pico-CMS, GPXPod, GPXEdit, Music
Works fine here.
Anything in your browsers console? (F12)
Thanks Nick. The following line appears in console:
XHRDELETE https://sosc.io/ocs/v2.php/apps/external/api/v1/sites/1 [HTTP/1.1 405 Method Not Allowed 84ms]
I expanded the entry and copied the header text:
Response headers
XHRDELETEhttps://mydomain.org/ocs/v2.php/apps/external/api/v1/sites/1[HTTP/1.1 405 Method Not Allowed 84ms]
HeadersCookiesParamsResponseTimingsStack TraceRequest URL:Request method:Remote address:Status code:405Edit and ResendRaw headersVersion:Response headers (836 B)
Cache-Controlno-store, no-cache, must-revalidate
Connectionkeep-aliveContent-Length0
Content-Security-Policyt-src 'none'; base-uri 'self';
Content-Typetext/html; charset=UTF-8
DateThu, 02 Aug 2018 21:42:27 GMT
ExpiresThu, 19 Nov 1981 08:52:00 GMT
Pragmano-cacheServernginx/1.12.1
X-Content-Type-Optionsnosniff
X-Download-Optionsnoopen
X-Frame-OptionsSAMEORIGIN
X-Permitted-Cross-Domain-Policiesnone
X-Robots-Tagnone
X-XSS-Protection1;
mode=blockRequest headers (770 B)Acceptapplication/json, text/javascript, */*; q=0.01Accept-Encodinggzip, deflate, brAccept-Languageen-US,en;q=0.5Connectionkeep-aliveCookieoc8bon5u9snl=k1d188uo4grujco83…-nc_sameSiteCookiestrict=trueDNT1Hostmydomain.orgOCS-APIREQUESTtruerequesttokenlFjiQXMxaUiZD3XQJB3HA411fTeJnE…AQC+Md98PGl6+qQ5Lxcw6QE93Bmo=User-AgentMozilla/5.0 (Macintosh; Intel …) Gecko/20100101 Firefox/62.0X-Requested-WithXMLHttpRequest
Request headers
XHRDELETEhttps://mydomain.org/ocs/v2.php/apps/external/api/v1/sites/1[HTTP/1.1 405 Method Not Allowed 84ms]
HeadersCookiesParamsResponseTimingsStack TraceRequest URL:Request method:Remote address:Status code:405Edit and ResendRaw headersVersion:Response headers (836 B)Cache-Controlno-store, no-cache, must-revalidateConnectionkeep-aliveContent-Length0Content-Security-Policyt-src 'none'; base-uri 'self';Content-Typetext/html; charset=UTF-8DateThu, 02 Aug 2018 21:42:27 GMTExpiresThu, 19 Nov 1981 08:52:00 GMTPragmano-cacheServernginx/1.12.1X-Content-Type-OptionsnosniffX-Download-OptionsnoopenX-Frame-OptionsSAMEORIGINX-Permitted-Cross-Domain-PoliciesnoneX-Robots-TagnoneX-XSS-Protection1; mode=blockRequest headers (770 B)
Acceptapplication/json, text/javascript, */*; q=0.01
Accept-Encodinggzip, deflate, br
Accept-Languageen-US,en;q=0.5
Connectionkeep-alive
Cookieoc8bon5u9snl=k1d188uo4grujco83…-nc_sameSiteCookiestrict=true
DNT1
Hostmydomain.org
OCS-APIREQUESTtrue
requesttokenlFjiQXMxaUiZD3XQJB3HA411fTeJnE…AQC+Md98PGl6+qQ5Lxcw6QE93Bmo=
User-AgentMozilla/5.0 (Macintosh; Intel …) Gecko/20100101 Firefox/62.0
X-Requested-WithXMLHttpRequest
Anything else I can check or report from that console report?
I'm having the same issue!
Steps to reproduce
- Go to external site config
- Click Remove Site
- Refresh page
- Site is still there
Expected behaviour
- Site should be remvoed
Actual behaviour
- Site is still there
Server configuration detail
Operating system: Linux 4.14.52-v7+ #1123 SMP Wed Jun 27 17:35:49 BST 2018 armv7l
Webserver: Apache (apache2handler)
Database: mysql 10.1.23
PHP version:
7.0.30-0+deb9u1 Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, apache2handler, mysqlnd, PDO, xml, apcu, apc, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, igbinary, imagick, intl, json, exif, mcrypt, msgpack, mysqli, pdo_mysql, Phar, posix, readline, redis, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, memcached, Zend OPcache
Nextcloud version: 14.0.1 - 14.0.1.1
Updated from an older Nextcloud/ownCloud or fresh install: older nextcloud
Where did you install Nextcloud from: install.nextcloud.com
Signing status
Array ( )
List of activated apps
Enabled:
- accessibility: 1.0.1
- admin_notifications: 1.0.2
- apporder: 0.5.0
- audioplayer: 2.4.0
- bookmarks: 0.13.0
- caniupdate: 0.2.0
- cloud_federation_api: 0.0.1
- comments: 1.4.0
- contacts: 2.1.6
- dav: 1.6.0
- dropit: 0.1.1
- external: 3.1.0
- federatedfilesharing: 1.4.0
- federation: 1.4.0
- files: 1.9.0
- files_external: 1.5.0
- files_markdown: 2.0.4
- files_pdfviewer: 1.3.2
- files_rightclick: 0.8.4
- files_sharing: 1.6.2
- files_texteditor: 2.6.0
- files_trashbin: 1.4.1
- files_versions: 1.7.1
- files_videoplayer: 1.3.0
- firstrunwizard: 2.3.0
- gallery: 18.1.0
- gpxpod: 2.3.1
- groupfolders: 1.3.3
- issuetemplate: 0.4.0
- logreader: 2.0.0
- lookup_server_connector: 1.2.0
- metadata: 0.7.0
- news: 13.0.0
- nextcloud_announcements: 1.3.0
- notes: 2.4.2
- notifications: 2.2.1
- oauth2: 1.2.1
- password_policy: 1.4.0
- polls: 0.8.3
- provisioning_api: 1.4.0
- serverinfo: 1.4.0
- sharebymail: 1.4.0
- sharerenamer: 2.1.0
- socialsharing_email: 1.0.4
- spreed: 4.0.0
- support: 1.0.0
- survey_client: 1.2.0
- systemtags: 1.4.0
- tasks: 0.9.7
- telephoneprovider: 1.0.1
- theming: 1.5.0
- twofactor_backupcodes: 1.3.1
- twofactor_totp: 1.5.0
- unsplash: 1.1.1
- updatenotification: 1.4.1
- workflowengine: 1.4.0
Disabled:
- activity
- admin_audit
- encryption
- user_external
- user_ldap
Configuration (config/config.php)
Are you using external storage, if yes which one: nextcloud
Are you using encryption: nope
Are you using an external user-backend, if yes which one: nope
Client configuration
Browser: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0
Operating system:
Logs
Browser log
Cannot provide now, but will if needed...
Nextcloud log
Cannot provide now, but will if needed...
Browser log
Cannot provide now, but will if needed...
Cheers!
Hi I am also suffering from the same issue
What I have tried
- Remove and reinstalled External Sites
- Spamming the delete buttons
What actually happened
- The sites keep coming back (as the bug has reported).
- The sites duplicated themselves (now there are 4).
What workarounds can I think of
- Manually remove the extra sites
Why can't I do it
- I cannot seem to find where the configuration files that handle the external sites are located.
What anyone can help me with
- Help to see if the bug can be fixed.
- Teach us how to remove the extra sites manually.
This is the config in external sites using occ command with no changes in the app yet:
"external": { "enabled": "yes", "installed_version": "3.2.0", "max_site": "7", "types": ""
And this is the config with for example 1 link added:
"external": { "enabled": "yes", "installed_version": "3.2.0", "max_site": "8", "sites": "{"8":{"id":8,"name":"mio","url":"http:\/\/google.es","lang":"","type":"link","device":"","icon":"external.svg","groups":[],"redirect":false}}", "types": ""
Im having the same issue, so i can't remove sites as expected.
So what i did is remove it manually by using this command: occ config:app:delete external sites
Dunno if it has any repercussion or not but at least i was able to delete links.
You are right the "occ config:app:delete external sites" command is enough to remove the problem... but just for a moment. At first, everything worked well again, but after 2 sites added, same problem. Now I can't edit any setting, it stays in "grey" state. There's definitely a problem.
Hi everyone, did anyone have this problem on the latest version of server and this app? This bug report is quite old and doesn't seem to be relevant anymore since it was last updated 4 years ago.
same issue