The problem is that the protocol information in the main-url is ignored since 15.0.2. To fix this you have to add the protocol-overwrite directive in the nextcloud/config/config.php
1 |
'overwriteprotocol' => 'https', |
A functional and well tested WAR was not reachable on a new tomcat instance.
The new tomcat was for java 1.7 apps and the WAR was a 1.8 java compiled app, so the tomcat deployed the war without errors and the app was showing 404 not found.
In the webapp folder of the tomcat you will find your unpacked war and in this unpacked war folder, you will find the web inf folder and in the subfolders of this folder you will find java classes. On this class files you can check the compile time version with javap -verbose filename
I was building an app via ionic and cordova, when it comes to release I got this error in the upload phase in xcode.
Solution:
That means that you simply have to update your xcode, even if you are not be notified via apple app store, that you have to update.
1 |
sudo lsblk |
1 |
sudo diskutil list |
Der Name des Geräts sieht so aus /dev/disk1
Jetzt kommt das dd Kommando, was als Parameter ein if für InputFile und ein of für OutputFile erwartet. Der InputFile ist euer Image und der OutputFile euer Device.
1 |
sudo dd if=/pfad/zu/beispiel.iso of=/dev/pfad_zu_geraet |
wenn das Gerät busy ist dann
1 |
sudo umount /dev/pfad_zu_geraet |
wenn das Gerät busy ist dann
1 |
sudo diskutil umountDisk /dev/pfad_zu_geraet |
Normal grep and piping seems not to work for docker:
1 |
docker logs target_container | grep include_term |
That is normal, because docker logs internally to the standard error out, so we have to redirect the standard error output (2) to the standard output (1):
1 |
docker logs target_container 2>&1 | grep -v exclude_term | grep include_term |
sudo npm -g install ios-deploy –unsafe-perm=true
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 |
0 info it worked if it ends with ok 1 verbose cli [ '/usr/local/bin/node', 1 verbose cli '/usr/local/bin/npm', 1 verbose cli 'install', 1 verbose cli '-g', 1 verbose cli 'ios-deploy' ] 2 info using npm@3.3.9 3 info using node@v4.2.1 4 silly loadCurrentTree Starting 5 silly install loadCurrentTree 6 silly install readGlobalPackageData 7 silly fetchPackageMetaData ios-deploy 8 silly fetchNamedPackageData ios-deploy 9 silly mapToRegistry name ios-deploy 10 silly mapToRegistry using default registry 11 silly mapToRegistry registry https://registry.npmjs.org/ 12 silly mapToRegistry uri https://registry.npmjs.org/ios-deploy 13 verbose request uri https://registry.npmjs.org/ios-deploy 14 verbose request no auth needed 15 info attempt registry request try #1 at 12:28:39 PM 16 verbose request id 4d2e1a54d5fe4653 17 verbose etag "33W06N958TKM5FZSWXU6YS6UE" 18 http request GET https://registry.npmjs.org/ios-deploy 19 http 304 https://registry.npmjs.org/ios-deploy 20 verbose headers { date: 'Wed, 21 Oct 2015 02:28:39 GMT', 20 verbose headers via: '1.1 varnish', 20 verbose headers 'cache-control': 'max-age=60', 20 verbose headers etag: '"33W06N958TKM5FZSWXU6YS6UE"', 20 verbose headers age: '0', 20 verbose headers connection: 'keep-alive', 20 verbose headers 'x-served-by': 'cache-syd1625-SYD', 20 verbose headers 'x-cache': 'MISS', 20 verbose headers 'x-cache-hits': '0', 20 verbose headers 'x-timer': 'S1445394519.450349,VS0,VE230', 20 verbose headers vary: 'Accept' } 21 silly get cb [ 304, 21 silly get { date: 'Wed, 21 Oct 2015 02:28:39 GMT', 21 silly get via: '1.1 varnish', 21 silly get 'cache-control': 'max-age=60', 21 silly get etag: '"33W06N958TKM5FZSWXU6YS6UE"', 21 silly get age: '0', 21 silly get connection: 'keep-alive', 21 silly get 'x-served-by': 'cache-syd1625-SYD', 21 silly get 'x-cache': 'MISS', 21 silly get 'x-cache-hits': '0', 21 silly get 'x-timer': 'S1445394519.450349,VS0,VE230', 21 silly get vary: 'Accept' } ] 22 verbose etag https://registry.npmjs.org/ios-deploy from cache 23 verbose get saving ios-deploy to /Users/user/.npm/registry.npmjs.org/ios-deploy/.cache.json 24 silly install normalizeTree 25 silly loadCurrentTree Finishing 26 silly loadIdealTree Starting 27 silly install loadIdealTree 28 silly cloneCurrentTree Starting 29 silly install cloneCurrentTreeToIdealTree 30 silly cloneCurrentTree Finishing 31 silly loadShrinkwrap Starting 32 silly install loadShrinkwrap 33 silly loadShrinkwrap Finishing 34 silly loadAllDepsIntoIdealTree Starting 35 silly install loadAllDepsIntoIdealTree 36 silly resolveWithNewModule ios-deploy@1.8.2 checking installable status 37 silly cache add args [ 'ios-deploy', null ] 38 verbose cache add spec ios-deploy 39 silly cache add parsed spec Result { 39 silly cache add raw: 'ios-deploy', 39 silly cache add scope: null, 39 silly cache add name: 'ios-deploy', 39 silly cache add rawSpec: '', 39 silly cache add spec: '*', 39 silly cache add type: 'range' } 40 silly addNamed ios-deploy@* 41 verbose addNamed "*" is a valid semver range for ios-deploy 42 silly addNameRange { name: 'ios-deploy', range: '*', hasData: false } 43 silly mapToRegistry name ios-deploy 44 silly mapToRegistry using default registry 45 silly mapToRegistry registry https://registry.npmjs.org/ 46 silly mapToRegistry uri https://registry.npmjs.org/ios-deploy 47 verbose addNameRange registry:https://registry.npmjs.org/ios-deploy not in flight; fetching 48 verbose get https://registry.npmjs.org/ios-deploy not expired, no request 49 silly addNameRange number 2 { name: 'ios-deploy', range: '*', hasData: true } 50 silly addNameRange versions [ 'ios-deploy', 50 silly addNameRange [ '1.0.1', 50 silly addNameRange '1.0.2', 50 silly addNameRange '1.0.3', 50 silly addNameRange '1.0.4', 50 silly addNameRange '1.0.5', 50 silly addNameRange '1.0.6', 50 silly addNameRange '1.0.7', 50 silly addNameRange '1.0.8', 50 silly addNameRange '1.0.9', 50 silly addNameRange '1.1.0', 50 silly addNameRange '1.2.0', 50 silly addNameRange '1.3.0', 50 silly addNameRange '1.3.1', 50 silly addNameRange '1.3.2', 50 silly addNameRange '1.4.0', 50 silly addNameRange '1.5.0', 50 silly addNameRange '1.6.0', 50 silly addNameRange '1.6.1', 50 silly addNameRange '1.6.2', 50 silly addNameRange '1.6.3', 50 silly addNameRange '1.7.0', 50 silly addNameRange '1.8.0', 50 silly addNameRange '1.8.1', 50 silly addNameRange '1.8.2' ] ] 51 silly addNamed ios-deploy@1.8.2 52 verbose addNamed "1.8.2" is a plain semver version for ios-deploy 53 silly cache afterAdd ios-deploy@1.8.2 54 verbose afterAdd /Users/user/.npm/ios-deploy/1.8.2/package/package.json not in flight; writing 55 verbose afterAdd /Users/user/.npm/ios-deploy/1.8.2/package/package.json written 56 silly loadAllDepsIntoIdealTree Finishing 57 silly idealTree:prePrune lib 57 silly idealTree:prePrune └── ios-deploy@1.8.2 58 silly loadIdealTree Finishing 59 silly currentTree lib 60 silly idealTree lib 60 silly idealTree └── ios-deploy@1.8.2 61 silly generateActionsToTake Starting 62 silly install generateActionsToTake 63 silly generateActionsToTake Finishing 64 silly diffTrees action count 1 65 silly diffTrees add ios-deploy@1.8.2 66 silly decomposeActions action count 8 67 silly decomposeActions fetch ios-deploy@1.8.2 68 silly decomposeActions extract ios-deploy@1.8.2 69 silly decomposeActions preinstall ios-deploy@1.8.2 70 silly decomposeActions build ios-deploy@1.8.2 71 silly decomposeActions install ios-deploy@1.8.2 72 silly decomposeActions postinstall ios-deploy@1.8.2 73 silly decomposeActions test ios-deploy@1.8.2 74 silly decomposeActions finalize ios-deploy@1.8.2 75 silly executeActions Starting 76 silly install executeActions 77 silly doSerial global-install 0 78 silly doParallel fetch 1 79 verbose lock using /Users/user/.npm/_locks/staging-3a08f0df5026584d.lock for /usr/local/lib/node_modules/.staging 80 silly doParallel extract 1 81 silly extract ios-deploy@1.8.2 82 verbose unbuild lib/node_modules/.staging/ios-deploy-fbfd9f76b9a8909271fae167aab47715 83 silly gentlyRm /usr/local/lib/node_modules/.staging/ios-deploy-fbfd9f76b9a8909271fae167aab47715 is being purged from base /usr/local 84 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/.staging/ios-deploy-fbfd9f76b9a8909271fae167aab47715 85 verbose tar unpack /Users/user/.npm/ios-deploy/1.8.2/package.tgz 86 verbose tar unpacking to /usr/local/lib/node_modules/.staging/ios-deploy-fbfd9f76b9a8909271fae167aab47715 87 silly gentlyRm /usr/local/lib/node_modules/.staging/ios-deploy-fbfd9f76b9a8909271fae167aab47715 is being purged 88 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/.staging/ios-deploy-fbfd9f76b9a8909271fae167aab47715 89 silly gunzTarPerm modes [ '755', '644' ] 90 silly gunzTarPerm extractEntry package.json 91 silly gunzTarPerm extractEntry .npmignore 92 silly gunzTarPerm extractEntry README.md 93 silly gunzTarPerm extractEntry LICENSE 94 silly gunzTarPerm extractEntry CONTRIBUTING.md 95 silly gunzTarPerm extractEntry demo/.npmignore 96 silly gunzTarPerm extractEntry demo/Entitlements.plist 97 silly gunzTarPerm extractEntry demo/Info.plist 98 silly gunzTarPerm extractEntry demo/Makefile 99 silly gunzTarPerm extractEntry demo/ResourceRules.plist 100 silly gunzTarPerm extractEntry demo/demo.c 101 silly gunzTarPerm extractEntry ios-deploy.xcodeproj/project.pbxproj 102 silly gunzTarPerm extractEntry src/check_reqs.js 103 silly gunzTarPerm extractEntry src/MobileDevice.h 104 silly gunzTarPerm extractEntry src/errors.h 105 silly gunzTarPerm extractEntry src/ios-deploy.c 106 silly doParallel preinstall 1 107 silly preinstall ios-deploy@1.8.2 /usr/local/lib/node_modules/.staging/ios-deploy-fbfd9f76b9a8909271fae167aab47715 108 info lifecycle ios-deploy@1.8.2~preinstall: ios-deploy@1.8.2 109 warn lifecycle ios-deploy@1.8.2~preinstall: cannot run in wd %s %s (wd=%s) ios-deploy@1.8.2 ./src/check_reqs.js && xcodebuild /usr/local/lib/node_modules/.staging/ios-deploy-fbfd9f76b9a8909271fae167aab47715 110 silly doReverseSerial remove 0 111 silly doSerial move 0 112 silly doSerial finalize 1 113 silly finalize /usr/local/lib/node_modules/ios-deploy 114 silly doSerial build 1 115 silly build ios-deploy@1.8.2 116 info linkStuff ios-deploy@1.8.2 117 silly linkStuff ios-deploy@1.8.2 has /usr/local/lib/node_modules as its parent node_modules 118 silly linkStuff ios-deploy@1.8.2 is part of a global install 119 silly linkStuff ios-deploy@1.8.2 is installed into a global node_modules 120 silly linkStuff ios-deploy@1.8.2 is installed into the top-level global node_modules 121 verbose linkBins ios-deploy@1.8.2 122 verbose link bins [ { 'ios-deploy': './build/Release/ios-deploy' }, 122 verbose link bins '/usr/local/bin', 122 verbose link bins true ] 123 verbose linkMans ios-deploy@1.8.2 124 verbose unlock done using /Users/user/.npm/_locks/staging-3a08f0df5026584d.lock for /usr/local/lib/node_modules/.staging 125 silly rollbackFailedOptional Starting 126 silly rollbackFailedOptional Finishing 127 silly runTopLevelLifecycles Starting 128 silly runTopLevelLifecycles Finishing 129 silly install printInstalled 130 verbose stack Error: ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/ios-deploy/build/Release/ios-deploy' 130 verbose stack at Error (native) 131 verbose cwd /Users/user 132 error Darwin 15.0.0 133 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "ios-deploy" 134 error node v4.2.1 135 error npm v3.3.9 136 error path /usr/local/lib/node_modules/ios-deploy/build/Release/ios-deploy 137 error code ENOENT 138 error errno -2 139 error syscall chmod 140 error enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/ios-deploy/build/Release/ios-deploy' 140 error enoent This is most likely not a problem with npm itself 140 error enoent and is related to npm not being able to find a file. 141 verbose exit [ -2, true ] |
I tried to compress a set of files via batch processing. Some of these files were currently opened by another process, so I encountered this problem.
7zip works as designed to skip those files, because an opened file could be uncompleted in the moment where we are trying to read it for compression, so its best practice to skip them.
1 |
7z a -ssw archivename file_to_be_archived |
or for older 7z Versions
1 |
7z a -x!TP archivename file_to_be_archived |
I got an error while using npm or yarn which is based on node js.
1 2 3 4 5 |
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.58.dylib Referenced from: /usr/local/bin/node Reason: image not found |
Reinstall node js
https://nodejs.org/en/download/package-manager/
I got an error while using constants inside my node js app. Here is the solution:
1 |
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode |
node –use_strict [to-be-replaced].js
Update your node version (node -v) to the current version or above 7.4
sudo npm install -g npm
sudo npm install -g n
sudo n stable
That still wasn’t changing the version of Node that was being used. I finally found that you have change the /usr/bin/node symlink like this:
sudo ln -sf /usr/local/n/versions/node/<VERSION>/bin/node /usr/bin/node
(Use whatever the highest version is in place of „<VERSION>“ from your install options in /usr/local/n/versions/node.