Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linked appframework will be removed by disabling #2864

Closed
hechi opened this issue Apr 11, 2013 · 0 comments
Closed

linked appframework will be removed by disabling #2864

hechi opened this issue Apr 11, 2013 · 0 comments

Comments

@hechi
Copy link
Member

hechi commented Apr 11, 2013

Expected behaviour

linked app will be disabled

Actual behaviour

linked app will be removed if i disable it

Steps to reproduce

  1. checkout the latest oc master with this guide (http://doc.owncloud.org/server/master/developer_manual/app/intro/gettingstarted.html)
  2. checkout the appframework
  3. link the appframework to owncloud/apps/
  4. turn on debugging in owncloud/config/config.php
  5. restart apache
  6. make OC install via webbrowser
  7. go to apps on OC website
  8. appframework should be enabled by default
  9. disable appframework

Server configuration

Operating system:
# uname -a
Linux debian 3.2.0-4-686-pae #1 SMP Debian 3.2.39-2 i686 GNU/Linux

Web server:
# aptitude show apache2
Paket: apache2
Zustand: Installiert
Automatisch installiert: nein
Version: 2.2.22-13
Priorität: optional
Bereich: httpd
Verwalter: Debian Apache Maintainers debian-apache@lists.debian.org
Architektur: i386

Database:
sqlite3

PHP version:
# aptitude show php5
Paket: php5
Zustand: Installiert
Automatisch installiert: nein
Version: 5.4.4-14
Priorität: optional
Bereich: php
Verwalter: Debian PHP Maintainers pkg-php-maint@lists.alioth.debian.org
Architektur: all

ownCloud version:
current master

Client configuration

Browser: firefox, chromium

Operating system: debian wheezy

Logs

Web server error log

[Thu Apr 11 10:04:49 2013] [error] [client ::1] PHP Warning:  rmdir(/var/www/beta2/owncloud/apps/appframework): Not a directory in /var/www/beta2/owncloud/lib/helper.php on line 347, referer: http://localhost/beta2/owncloud/index.php/settings/apps?installed

ownCloud log (data/owncloud.log)


Browser log


my directorys with permissions

root@debian:/var/www/beta2# ls -lah
insgesamt 136K
drwxr-x--x 5 www-data www-data 4,0K Apr 11 10:04 .
drwxr-xr-x 4 root root 4,0K Apr 11 09:49 ..
drwxr-xr-x 15 www-data www-data 4,0K Apr 11 10:04 appframework
drwxr-x--x 51 www-data www-data 4,0K Apr 11 09:54 apps
-rw-r----- 1 www-data www-data 112K Apr 11 10:04 ocInst
drwxr-x--x 17 www-data www-data 4,0K Apr 11 09:55 owncloud

root@debian:/var/www/beta2# ls -lah appframework/
insgesamt 76K
drwxr-xr-x 15 www-data www-data 4,0K Apr 11 10:04 .
drwxr-x--x 5 www-data www-data 4,0K Apr 11 10:04 ..
drwxr-xr-x 4 www-data www-data 4,0K Apr 11 10:04 3rdparty
drwxr-xr-x 2 www-data www-data 4,0K Apr 11 10:04 appinfo
-rw-r--r-- 1 www-data www-data 2,9K Apr 11 10:04 app.php
drwxr-xr-x 2 www-data www-data 4,0K Apr 11 10:04 controller
drwxr-xr-x 2 www-data www-data 4,0K Apr 11 10:04 core
drwxr-xr-x 2 www-data www-data 4,0K Apr 11 10:04 db
drwxr-xr-x 2 www-data www-data 4,0K Apr 11 10:04 dependencyinjection
drwxr-xr-x 8 www-data www-data 4,0K Apr 11 10:04 .git
-rw-r--r-- 1 www-data www-data 66 Apr 11 10:04 .gitignore
drwxr-xr-x 2 www-data www-data 4,0K Apr 11 10:04 http
drwxr-xr-x 7 www-data www-data 4,0K Apr 11 10:04 js
drwxr-xr-x 4 www-data www-data 4,0K Apr 11 10:04 middleware
-rw-r--r-- 1 www-data www-data 478 Apr 11 10:04 phpdoc.xml
-rw-r--r-- 1 www-data www-data 243 Apr 11 10:04 README.rst
drwxr-xr-x 2 www-data www-data 4,0K Apr 11 10:04 templates
drwxr-xr-x 8 www-data www-data 4,0K Apr 11 10:04 tests
drwxr-xr-x 2 www-data www-data 4,0K Apr 11 10:04 utility

root@debian:/var/www/beta2# ls -lah owncloud/
insgesamt 196K
drwxr-x--x 17 root root 4,0K Apr 11 09:55 .
drwxr-x--x 5 www-data www-data 4,0K Apr 11 09:57 ..
drwxr-x--x 26 root root 4,0K Apr 11 09:55 3rdparty
drwxr-x--x 10 www-data www-data 4,0K Apr 11 09:52 apps
-rw-r----- 1 root root 585 Apr 11 09:52 AUTHORS
-rw-r----- 1 root root 6,4K Apr 11 09:52 autotest.cmd
-rwxr-x--x 1 root root 2,6K Apr 11 09:52 autotest.sh
drwxr-x--x 2 root root 4,0K Apr 11 09:52 build
drwxr-x--x 2 www-data www-data 4,0K Apr 11 09:52 config
-rw-r----- 1 root root 1,9K Apr 11 09:52 CONTRIBUTING.md
-rw-r----- 1 root root 34K Apr 11 09:52 COPYING-AGPL
-rw-r----- 1 root root 567 Apr 11 09:52 COPYING-README
drwxr-x--x 10 root root 4,0K Apr 11 09:52 core
-rw-r----- 1 root root 3,2K Apr 11 09:52 cron.php
drwxr-x--x 2 www-data www-data 4,0K Apr 11 09:55 data
-rw-r----- 1 root root 18K Apr 11 09:52 db_structure.xml
drwxr-x--x 2 root root 4,0K Apr 11 09:52 files
drwxr-x--x 9 root root 4,0K Apr 11 09:55 .git
-rw-r----- 1 root root 799 Apr 11 09:52 .gitignore
-rw-r----- 1 root root 86 Apr 11 09:52 .gitmodules
-rwxr-x--x 1 root root 1,3K Apr 11 09:52 .htaccess
-rw-r----- 1 root root 102 Apr 11 09:52 index.html
-rwxr-x--x 1 root root 853 Apr 11 09:52 index.php
-rw-r----- 1 root root 591 Apr 11 09:52 issue_template.md
drwxr-x--x 85 root root 4,0K Apr 11 09:52 l10n
drwxr-x--x 19 root root 4,0K Apr 11 09:52 lib
drwxr-x--x 2 root root 4,0K Apr 11 09:52 ocs
-rw-r----- 1 root root 443 Apr 11 09:52 public.php
-rw-r----- 1 root root 753 Apr 11 09:52 README
-rw-r----- 1 root root 960 Apr 11 09:52 remote.php
-rw-r----- 1 root root 26 Apr 11 09:52 robots.txt
drwxr-x--x 6 root root 4,0K Apr 11 09:52 search
drwxr-x--x 8 root root 4,0K Apr 11 09:52 settings
-rw-r----- 1 root root 1,2K Apr 11 09:52 status.php
drwxr-x--x 4 root root 4,0K Apr 11 09:52 tests
drwxr-x--x 2 root root 4,0K Apr 11 09:52 themes

root@debian:/var/www/beta2# ls -lah owncloud/apps/
insgesamt 40K
drwxr-x--x 10 www-data www-data 4,0K Apr 11 09:58 .
drwxr-x--x 17 www-data www-data 4,0K Apr 11 09:55 ..
lrwxrwxrwx 1 www-data www-data 28 Apr 11 09:58 appframework -> /var/www/beta2/appframework/
drwxr-x--x 9 www-data www-data 4,0K Apr 11 09:52 files
drwxr-x--x 9 www-data www-data 4,0K Apr 11 09:52 files_encryption
drwxr-x--x 12 www-data www-data 4,0K Apr 11 09:52 files_external
drwxr-x--x 8 www-data www-data 4,0K Apr 11 09:52 files_sharing
drwxr-x--x 8 www-data www-data 4,0K Apr 11 09:52 files_trashbin
drwxr-x--x 9 www-data www-data 4,0K Apr 11 09:52 files_versions
drwxr-x--x 10 www-data www-data 4,0K Apr 11 09:52 user_ldap
drwxr-x--x 5 www-data www-data 4,0K Apr 11 09:52 user_webdavauth

@lock lock bot locked as resolved and limited conversation to collaborators Aug 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant