-
Notifications
You must be signed in to change notification settings - Fork 77
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
Install nextcloud on a existing web site as a subpath (http://example.com/nextcloud) #6
Comments
@noplanman I mean: changing the pattern to add the directory path is simple |
It should be the same as on Apache, just put the config file into |
So Are you saying that nginx accept multiple In fact, I did'nt well explained myself: How can the role add nextcloud to his existing configuration:
without breaking things... |
Ok, I understand now. I think for that case the best would be to serve nextcloud on a separate internal port and then proxy the request, which would be added manually by the user in their existing config. I guess it could be possible to add it with ansible with |
Than you for your response @noplanman . |
Without this, the error is: ``` OCP\\Files\\NotFoundException in /opt/nextcloud/lib/private/Files/Node/Node.php:97 Stack trace: #0 /opt/nextcloud/lib/private/Files/Node/Node.php(216): OC\\Files\\Node\\Node->getFileInfo() #1 /opt/nextcloud/lib/private/Files/Node/Node.php(117): OC\\Files\\Node\\Node->getPermissions() nextcloud#2 /opt/nextcloud/lib/private/Files/Node/Folder.php(155): OC\\Files\\Node\\Node->checkPermissions(4) nextcloud#3 /opt/nextcloud/lib/private/Files/AppData/AppData.php(94): OC\\Files\\Node\\Folder->newFolder('css') nextcloud#4 /opt/nextcloud/lib/private/Files/AppData/AppData.php(114): OC\\Files\\AppData\\AppData->getAppDataFolder() nextcloud#5 /opt/nextcloud/lib/private/Template/IconsCacher.php(70): OC\\Files\\AppData\\AppData->newFolder('icons') nextcloud#6 [internal function]: OC\\Template\\IconsCacher->__construct(Object(OC\\Log), Object(OC\\Files\\AppData\\Factory), Object(OC\\URLGenerator)) nextcloud#7 /opt/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(81): ReflectionClass->newInstanceArgs(Array) nextcloud#8 /opt/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(98): OC\\AppFramework\\Utility\\SimpleContainer->buildClass(Object(ReflectionClass)) nextcloud#9 /opt/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(119): OC\\AppFramework\\Utility\\SimpleContainer->resolve('OC\\\\Template\\\\Ico...') nextcloud#10 /opt/nextcloud/lib/private/ServerContainer.php(132): OC\\AppFramework\\Utility\\SimpleContainer->query('OC\\\\Template\\\\Ico...') nextcloud#11 /opt/nextcloud/lib/private/Server.php(969): OC\\ServerContainer->query('OC\\\\Template\\\\Ico...') nextcloud#12 /opt/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\\Server->OC\\{closure}(Object(OC\\Server)) nextcloud#13 /opt/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(117): Pimple\\Container->offsetGet('OC\\\\Template\\\\SCS...') nextcloud#14 /opt/nextcloud/lib/private/ServerContainer.php(132): OC\\AppFramework\\Utility\\SimpleContainer->query('OC\\\\Template\\\\SCS...') nextcloud#15 /opt/nextcloud/lib/private/Repair.php(138): OC\\ServerContainer->query('OC\\\\Template\\\\SCS...') nextcloud#16 /opt/nextcloud/core/register_command.php(143): OC\\Repair::getRepairSteps() nextcloud#17 /opt/nextcloud/lib/private/Console/Application.php(118): require_once('/opt/nextcloud/...') nextcloud#18 /opt/nextcloud/console.php(95): OC\\Console\\Application->loadCommands(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) nextcloud#19 /opt/nextcloud/occ(11): require_once('/opt/nextcloud/...') nextcloud#20 {main}", ```
Without this, the error is: ``` OCP\\Files\\NotFoundException in /opt/nextcloud/lib/private/Files/Node/Node.php:97 Stack trace: #0 /opt/nextcloud/lib/private/Files/Node/Node.php(216): OC\\Files\\Node\\Node->getFileInfo() #1 /opt/nextcloud/lib/private/Files/Node/Node.php(117): OC\\Files\\Node\\Node->getPermissions() nextcloud#2 /opt/nextcloud/lib/private/Files/Node/Folder.php(155): OC\\Files\\Node\\Node->checkPermissions(4) nextcloud#3 /opt/nextcloud/lib/private/Files/AppData/AppData.php(94): OC\\Files\\Node\\Folder->newFolder('css') nextcloud#4 /opt/nextcloud/lib/private/Files/AppData/AppData.php(114): OC\\Files\\AppData\\AppData->getAppDataFolder() nextcloud#5 /opt/nextcloud/lib/private/Template/IconsCacher.php(70): OC\\Files\\AppData\\AppData->newFolder('icons') nextcloud#6 [internal function]: OC\\Template\\IconsCacher->__construct(Object(OC\\Log), Object(OC\\Files\\AppData\\Factory), Object(OC\\URLGenerator)) nextcloud#7 /opt/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(81): ReflectionClass->newInstanceArgs(Array) nextcloud#8 /opt/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(98): OC\\AppFramework\\Utility\\SimpleContainer->buildClass(Object(ReflectionClass)) nextcloud#9 /opt/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(119): OC\\AppFramework\\Utility\\SimpleContainer->resolve('OC\\\\Template\\\\Ico...') nextcloud#10 /opt/nextcloud/lib/private/ServerContainer.php(132): OC\\AppFramework\\Utility\\SimpleContainer->query('OC\\\\Template\\\\Ico...') nextcloud#11 /opt/nextcloud/lib/private/Server.php(969): OC\\ServerContainer->query('OC\\\\Template\\\\Ico...') nextcloud#12 /opt/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\\Server->OC\\{closure}(Object(OC\\Server)) nextcloud#13 /opt/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(117): Pimple\\Container->offsetGet('OC\\\\Template\\\\SCS...') nextcloud#14 /opt/nextcloud/lib/private/ServerContainer.php(132): OC\\AppFramework\\Utility\\SimpleContainer->query('OC\\\\Template\\\\SCS...') nextcloud#15 /opt/nextcloud/lib/private/Repair.php(138): OC\\ServerContainer->query('OC\\\\Template\\\\SCS...') nextcloud#16 /opt/nextcloud/core/register_command.php(143): OC\\Repair::getRepairSteps() nextcloud#17 /opt/nextcloud/lib/private/Console/Application.php(118): require_once('/opt/nextcloud/...') nextcloud#18 /opt/nextcloud/console.php(95): OC\\Console\\Application->loadCommands(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) nextcloud#19 /opt/nextcloud/occ(11): require_once('/opt/nextcloud/...') nextcloud#20 {main}", ```
@aalaesar this one has removed |
I think I'll drop it. I'll do a quick search in the doc, if I find elements against it, it will be close. |
I think I'll drop it. I'll do a quick search in the doc, if I find elements against it, it will be closed. |
@aalaesar I think I would also not invest time on it and close as wont do. |
…-feature Introduce backup fetch feature
User may just want to install a nextcloud instance as a subfolder of another website /domain
The text was updated successfully, but these errors were encountered: